Sponsor:

Server and Web Integrator
Link:
Kloxo-MR logo
6.5.0 or 7.0.0
Click for "How to install"
Donation/Sponsorship:
Kloxo-MR is open-source.
Donate and or Sponsorship always welcome.
Click to:
Click Here
Please login or register. 2024-04-27, 12:04:21

Author Topic: Mail stuck in queue - CNAME lookup failed  (Read 8753 times)

0 Members and 1 Guest are viewing this topic.

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Mail stuck in queue - CNAME lookup failed
« Reply #15 on: 2017-04-12, 15:04:36 »
If you mean using https://www.ckdhr.com/ckd/qmail-103.patch, qmail-toaster already use it with named as qmail_qmailtoaster-big-dns.patch
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline tega

  • Valuable Member
  • *
  • Posts: 56
  • Karma: +0/-0
    • View Profile
Re: Mail stuck in queue - CNAME lookup failed
« Reply #16 on: 2017-04-12, 15:17:23 »
If you mean using https://www.ckdhr.com/ckd/qmail-103.patch, qmail-toaster already use it with named as qmail_qmailtoaster-big-dns.patch

It's a different patch, that one you are talking about basically what it does is to increase the maximum size of a lookup qmail do when sending and e-mail, and the patch I was refering is to basically trim the information of the lookup qmail needs, on the dns.c it's just one line that is changed from "any" to "cname".

That was the only way I was able to make it sending e-mails again to providers that have a lot of records

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Mail stuck in queue - CNAME lookup failed
« Reply #17 on: 2017-04-12, 15:24:56 »
Did you compare between 2 patch?.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline tega

  • Valuable Member
  • *
  • Posts: 56
  • Karma: +0/-0
    • View Profile
Re: Mail stuck in queue - CNAME lookup failed
« Reply #18 on: 2017-04-12, 15:36:41 »
I did now, I don't know what to say, but I've only be able to fix my problem after doing the one I was saying, that change just that single line.

Same issue afecting 3 of my servers (2 x86_64 and the other i686) and after recompiling individually qmail with that patch for each server I was able to fix that error message.

Offline tonym

  • Valuable Member
  • *
  • Posts: 64
  • Karma: +0/-0
    • View Profile
Re: Mail stuck in queue - CNAME lookup failed
« Reply #19 on: 2017-04-12, 15:58:15 »
Great - thanks!

Rebuilding it with that patch worked for me too. :)

This was the patch:

http://www.memoryhole.net/qmail/any-to-cname.patch

--- qmail-1.03-original/dns.c   Mon Jun 15 10:53:16 1998
+++ qmail-1.03/dns.c   Wed Mar  5 11:31:13 2003
@@ -196,7 +196,7 @@
    if (!sa->len) return loop;
    if (sa->s[sa->len - 1] == ']') return loop;
    if (sa->s[sa->len - 1] == '.') { --sa->len; continue; }
-   switch(resolve(sa,T_ANY))
+   switch(resolve(sa,T_CNAME))
     {
      case DNS_MEM: return DNS_MEM;
      case DNS_SOFT: return DNS_SOFT;
« Last Edit: 2017-04-12, 16:00:39 by tonym »

Offline fossxplorer

  • Master
  • **
  • Posts: 640
  • Karma: +1/-0
    • View Profile
Re: Mail stuck in queue - CNAME lookup failed
« Reply #20 on: 2017-04-12, 18:07:43 »
Hmm, i'm using Kloxo-MR update from 2 weeks back.
Now i did send a test email to sdfd@live.com:
Apr 12 18:01:43 mail send: delivery 2086: success: User_and_password_not_set,_continuing_without_authentication./<sdfsdf@live.com>_65.55.37.72_accepted_message./Remote_host_said:_250__<8482ed98446fe407e97d924e2c43b8d0@kloxomrdomain.com>_Queued_mail_for_delivery/

I received it right away. Did the issue appear recently?
Kloxo-MR!

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Mail stuck in queue - CNAME lookup failed
« Reply #21 on: 2017-04-12, 18:22:00 »
Update with 'yum clean all; yum update -y; sh /script/restart-mail'.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

 


Top 10 Social Networking:    Facebook    Twitter    LinkedIn    Pinterest    Google Plus    Tumblr    Instagram    VK    Flickr    Vine
Click Here

Page created in 0.065 seconds with 18 queries.

web stats analysis