MRatWork Forum by Mustafa Ramadhan

Sawo Project - Kloxo-MR Discussions => Kloxo-MR Technical Helps => Topic started by: fossxplorer on 2015-01-03, 03:32:49

Title: [SOLVED] CNAME_lookup_failed_temporarily
Post by: fossxplorer on 2015-01-03, 03:32:49
Some emails to customers aren't getting delivered:

Jan  3 10:27:28 mail send: 1420277248.276040 delivery 604: deferral: Sorry,_I_wasn't_able_to_establish_an_SMTP_connection._(#4.4.1)/
Jan  3 10:27:28 mail send: 1420277248.276080 status: local 0/10 remote 13/60
Jan  3 10:27:28 mail send: 1420277248.292428 delivery 602: deferral: CNAME_lookup_failed_temporarily._(#4.4.3)/
Jan  3 10:27:28 mail send: 1420277248.292462 status: local 0/10 remote 12/60
Jan  3 10:27:28 mail send: 1420277248.347493 delivery 608: deferral: CNAME_lookup_failed_temporarily._(#4.4.3)/
Jan  3 10:27:28 mail send: 1420277248.347526 status: local 0/10 remote 11/60
Jan  3 10:27:28 mail send: 1420277248.348068 delivery 609: deferral: CNAME_lookup_failed_temporarily._(#4.4.3)/
Jan  3 10:27:28 mail send: 1420277248.348080 status: local 0/10 remote 10/60
Jan  3 10:27:28 mail send: 1420277248.354376 delivery 613: deferral: CNAME_lookup_failed_temporarily._(#4.4.3)/
Jan  3 10:27:28 mail send: 1420277248.354401 status: local 0/10 remote 9/60
Jan  3 10:27:28 mail send: 1420277248.369373 delivery 605: deferral: CNAME_lookup_failed_temporarily._(#4.4.3)/
Jan  3 10:27:28 mail send: 1420277248.369402 status: local 0/10 remote 8/60
Jan  3 10:27:28 mail send: 1420277248.370486 delivery 615: deferral: CNAME_lookup_failed_temporarily._(#4.4.3)/
Jan  3 10:27:28 mail send: 1420277248.370499 status: local 0/10 remote 7/60
Jan  3 10:27:28 mail send: 1420277248.435365 delivery 616: deferral: CNAME_lookup_failed_temporarily._(#4.4.3)/
Jan  3 10:27:28 mail send: 1420277248.435395 status: local 0/10 remote 6/60
Jan  3 10:27:28 mail send: 1420277248.438558 delivery 610: deferral: CNAME_lookup_failed_temporarily._(#4.4.3)/
Jan  3 10:27:28 mail send: 1420277248.438580 status: local 0/10 remote 5/60

ServerInfo:
[root@mail ~]# sh /script/sysinfo

A. Kloxo-MR: 7.0.0.b-2014092002

B. OS: CentOS release 6.5 (Final) x86_64

C. Apps:
   1. MySQL: MariaDB-server-10.0.11-1.el6.x86_64
   2. PHP: php54-5.4.32-1.ius.el6.x86_64
   3. Httpd: httpd-2.2.29-1.mr.el6.x86_64
   4. Lighttpd: --uninstalled--
   5. Hiawatha: hiawatha-9.7.p2-1.mr.el6.x86_64
   6. Nginx: --uninstalled--
   7. Cache: --uninstalled--
   8. Dns: bind-9.9.5-1.el6.x86_64
   9. Qmail: qmail-toaster-1.03-1.3.38.mr.el6.x86_64
      - with: courier-imap-toaster-4.1.2-1.3.16.mr.el6.x86_64

D. Php-type (for Httpd/proxy): php-fpm_event

E. Memory:
                total       used       free     shared    buffers     cached
   Mem:          7870       7471        399          0        403       3456
   -/+ buffers/cache:       3611       4259
   Swap:            0          0          0

[root@mail ~]# hostname -s
mail
[root@mail ~]# hostname -f
mail.example.com

Why does this happen?
Title: Re: CNAME_lookup_failed_temporarily
Post by: MRatWork on 2015-01-03, 06:42:29
Try update your server with 'yum clean all; yum update' and then 'sh /script/cleanup'.
Title: Re: CNAME_lookup_failed_temporarily
Post by: fossxplorer on 2015-01-06, 02:24:31
Tried it, but still the same problem.
What's strange is that when i go into "Mail Queue" from Basic and try to flush, i can see max 1 mail getting sent after pressing "Refresh". Why does this happen? Until today mostly it was Microsoft email services /outlook/hotmail/live.com), but today i see aol.com as well.

I did not do any server changes and my IP isn't blacklisted anywhere...

Try update your server with 'yum clean all; yum update' and then 'sh /script/cleanup'.
Title: Re: CNAME_lookup_failed_temporarily
Post by: MRatWork on 2015-01-06, 07:59:31
Did you read http://forum.mratwork.com/kloxo-mr-tips-and-tricks/(tip)-how-to-set-dns/ and http://forum.mratwork.com/kloxo-mr-tips-and-tricks/(tip)-how-to-setup-qmail-on-kloxo-mr/ ?
Title: Re: CNAME_lookup_failed_temporarily
Post by: fossxplorer on 2015-01-09, 14:09:41
@Mustafa:
Yes, i've read those threads. Nothing wrong with my setup i can think of.
I've read around the web and this issue is ONLY related to Qmail. Are you planning to move away from qmail some time soon?
There are many good alternatives and NONE of the hosting panels out there i know of uses Qmail.

This is a critical problem for me since i'm unable to communicate with some of our customers mostly on Microsoft (hotmail/outlook/live) email services!





Title: Re: CNAME_lookup_failed_temporarily
Post by: MRatWork on 2015-01-09, 21:03:27
Try update your OS. I found your qmail-toaster is too old. Latest version is qmail-toaster-1.03-1.3.45.
Title: Re: CNAME_lookup_failed_temporarily
Post by: fossxplorer on 2015-01-10, 09:53:11
I think it might have been updated when you asked to run an update:
[root@mail ~]# yum list installed |grep qmail
qmail-pop3d-toaster.x86_64         1.03-1.3.45.mr.el6       @mratwork-release-version-arch
qmail-toaster.x86_64               1.03-1.3.45.mr.el6       @mratwork-release-version-arch
[root@mail ~]#


Try update your OS. I found your qmail-toaster is too old. Latest version is qmail-toaster-1.03-1.3.45.
Title: Re: CNAME_lookup_failed_temporarily
Post by: fossxplorer on 2015-01-16, 09:47:43
Now i'm getting a longer queue of blocked emails, to not only Microsoft services, but others as well.  Currently over 10 of them.

Is there a fix for this problem @mustafa?
Title: Re: CNAME_lookup_failed_temporarily
Post by: fossxplorer on 2015-01-16, 10:17:01
YEAH! I've finally found the root cause of the issue and it's NOT Kloxo-MR's related!

If others have similar issues, please DON'T USE THE F**** Google's DNS servers, i.e 8.8.8.8 nor 8.8.4.4, but something else!

Now after changing away from Google's DNS servers in /etc/resolv.conf, i was finally able to flush my queue and the QUEUE IS NOW EMPTY!

Title: Re: CNAME_lookup_failed_temporarily
Post by: nikobellicgamerin on 2016-04-02, 08:01:48
YEAH! I've finally found the root cause of the issue and it's NOT Kloxo-MR's related!

If others have similar issues, please DON'T USE THE F**** Google's DNS servers, i.e 8.8.8.8 nor 8.8.4.4, but something else!

Now after changing away from Google's DNS servers in /etc/resolv.conf, i was finally able to flush my queue and the QUEUE IS NOW EMPTY!


I have also this nameserver 8.8.8.8
nameserver 8.8.4.4

in my resolv.conf is this the reason for my server not sending emails out and all email in que, have what dns should i change.