MRatWork Forum by Mustafa Ramadhan
Sawo Project - Kloxo-MR Discussions => Kloxo-MR Bugs and Requests => Topic started by: iambeniwal on 2014-02-27, 11:46:24
-
Whenever I tries to send, the mail gets stuck in the que and nothing happens!
I looked into the logs and found this:
Feb 27 05:33:44 server2 send: 1393497224.258909 starting delivery 4: msg 6009888 to remote ban.me.i.m.rahul@gmail.com
Feb 27 05:33:44 server2 send: 1393497224.258947 status: local 0/10 remote 1/60
Feb 27 05:33:44 server2 send: 1393497224.258959 starting delivery 5: msg 6009892 to remote ban.me.i.m.rahul@gmail.com
Feb 27 05:33:44 server2 send: 1393497224.258969 status: local 0/10 remote 2/60
Feb 27 05:34:24 server2 send: 1393497264.554289 delivery 4: deferral: CNAME_lookup_failed_temporarily._(#4.4.3)/
Feb 27 05:34:24 server2 send: 1393497264.554323 status: local 0/10 remote 1/60
Feb 27 05:34:24 server2 send: 1393497264.650440 delivery 5: deferral: CNAME_lookup_failed_temporarily._(#4.4.3)/
Feb 27 05:34:24 server2 send: 1393497264.650470 status: local 0/10 remote 0/60
On the other hand when i tries to send mail to my other domain hosted on the same server with its own dns settings, the mail successfully gets delivered.
Here're some details which might be helpful:
Domain1 (desirappers.org)
ns1.domain1 => my_ip
ns2.domain1 => my_ip
Domain2 (2020-ipl.com)
ns1.domain2 => my_ip
ns2.domain2 => my_ip
Mail from Domain1 to Domain2 => SUCCESSFUL (vice-versa)
Mail from Domain1 to Gmail/Other => UnSUCCESSFUL
Note:
This is a fresh install.
-
Inform here 'sh /script/sysinfo; hostname -f; hostname -s; cat /etc/hosts; cat /etc/resolv.conf'.
But, better check your domain in intodns.com first.
-
A. Kloxo-MR: 6.5.0.f-2014020301
B. OS: CentOS release 6.5 (Final) i686
C. Apps:
1. MySQL: mysql-5.5.34-1.el6.i686
2. PHP: php53u-5.3.28-1.ius.el6.i686
3. Httpd: httpd-2.2.26-2.el6.i686
4. Lighttpd: --uninstalled--
5. Nginx: --uninstalled--
6. Qmail: qmail-toaster-1.03-1.3.35.mr.el6.i386
- with: courier-imap-toaster-4.1.2-1.3.14.mr.el6.i686
7. Dns: bind-9.9.5-1.el6.i686
D. Php-type (for Httpd/proxy): php-fpm_event
E. Memory:
total used free shared buffers cached
Mem: 2048 323 1725 0 0 152
-/+ buffers/cache: 170 1877
Swap: 488 0 488
server2.doliwebtech.com
server2
### begin - add by Kloxo-MR
### end - add by Kloxo-MR
127.0.0.1 localhost.localdomain localhost localhost4.localdomain4 localhost4
# Auto-generated hostname. Please do not remove this comment.
192.227.232.156 server2.doliwebtech.com server2
::1 localhost localhost.localdomain localhost6 localhost6.localdomain6
nameserver 4.2.2.1
nameserver 4.2.2.2
-
Did server2.doliwebtech.com/doliwebtech.com able to ping?. You need hostname able to accessed.
-
Did server2.doliwebtech.com/doliwebtech.com able to ping?. You need hostname able to accessed.
Changed the hostname and created a subdomain of it.
hostanme.desirappers.org
Still the problem is there! :/
-
Possible qmail still think your hostname as 'server2.doliwebtech.com'. Run 'sh /script/fixmail-all; sh /script/restart-mail'.
You need change for /etc/hosts also.
-
The problem is still there and the etc/hosts config was already done.
Here it's
### begin - add by Kloxo-MR
### end - add by Kloxo-MR
127.0.0.1 localhost.localdomain localhost localhost4.localdomain4 localhost4
# Auto-generated hostname. Please do not remove this comment.
192.227.232.156 hostname.desirappers.org hostname
::1 localhost localhost.localdomain localhost6 localhost6.localdomain6
-
Try delete mails in 'mail queue'.
-
Try delete mails in 'mail queue'.
Still same error
P.S.
I did fixed and restarted mail but qmail log still showing the hostname as "server2"
Feb 27 18:23:38 server2 smtp: 1393505618.787782 11501 > 220 DoliWebTech2 - Welcome to Qmail ESMTP?
Feb 27 18:23:38 server2 smtp: 1393505618.787930 tcpserver: end 11501 status 256
Feb 27 18:23:38 server2 smtp: 1393505618.787949 11501 > [EOF]
Feb 27 18:23:38 server2 smtp: 1393505618.787960 tcpserver: status: 0/100
Feb 27 18:24:04 server2 send: 1393505644.340902 delivery 1: deferral: CNAME_lookup_failed_temporarily._(#4.4.3)/
Feb 27 18:24:04 server2 send: 1393505644.340939 status: local 0/10 remote 0/60
-
Try again 'sh /script/fixmail-all; sh /script/restart-all' after reboot. Before running this scripts, test again your hostname with 'hostname -f; hostname -s'.
Better read http://forum.mratwork.com/kloxo-mr-tips-and-tricks/(tip)-how-to-setup-qmail-on-kloxo-mr/
-
Try again 'sh /script/fixmail-all; sh /script/restart-all' after reboot. Before running this scripts, test again your hostname with 'hostname -f; hostname -s'.
Better read http://forum.mratwork.com/kloxo-mr-tips-and-tricks/(tip)-how-to-setup-qmail-on-kloxo-mr/
Tried everything but the problem is still there :-\
Feb 27 19:48:36 hostname send: 1393510716.190478 delivery 1: deferral: CNAME_lookup_failed_temporarily._(#4.4.3)/
-
Try reinstall OS and Kloxo-MR with right hostname.
-
@iambeniwal, did you fix this issue and if so how?
Thanks.