PDA

View Full Version : Sendmail - Mailq Errors


tech_paul
18th February 2010, 07:04
Hi,

I have sendmail configured on a CentOS linux machine using scalix and I am finding alot of the following error messages in the mailq:

-> Deferred: ntvirus3.mitts.net.: No route to host
-> Transient parse error -- message queued for future delivery
-> Deferred: Connection timed out with peakings.com.

Can someone please explain to me what these errors mean? And how can I resolve them (if any)?

Thanks in anticipation for your help.

falko
19th February 2010, 13:52
Do you use working DNS servers in /etc/resolv.conf? What's the output of ping -c4 google.com?

Any errors in your mail log?

tech_paul
20th February 2010, 11:20
This result is as follows:

[root@mail mail]# ping -c4 google.com
PING google.com (209.85.129.99) 56(84) bytes of data.
64 bytes from fk-in-f99.1e100.net (209.85.129.99): icmp_seq=1 ttl=55 time=78.2 ms
64 bytes from fk-in-f99.1e100.net (209.85.129.99): icmp_seq=2 ttl=55 time=78.9 ms
64 bytes from fk-in-f99.1e100.net (209.85.129.99): icmp_seq=3 ttl=55 time=84.4 ms
64 bytes from fk-in-f99.1e100.net (209.85.129.99): icmp_seq=4 ttl=55 time=78.4 ms

--- google.com ping statistics ---
4 packets transmitted, 4 received, 0% packet loss, time 2999ms
rtt min/avg/max/mdev = 78.247/79.995/84.410/2.560 ms

Yes the dns in /etc/resolv.conf are good because I can send emails to other addresses. I have added temporary entries in /etc/hosts but this is not that good since if the IP for the domain changes, it would fail again.

Do you have any suggestions what can I do please?

Thanks in advanced.

falko
21st February 2010, 15:12
I have added temporary entries in /etc/hosts but this is not that good since if the IP for the domain changes, it would fail again.

Does it work with these changes?

tech_paul
21st February 2010, 15:27
Yes it seems to work (or at least they are not in the mailq) after I've done this change, but I think there is a better solution for this that I don't know about it. As you definitely know this is not a guaranteed solution.

What do you think please?

falko
22nd February 2010, 14:22
Then there seems to be a problem with your nameservers in /etc/resolv.conf.
Can you add
nameserver 8.8.8.8 (Google nameserver)
as the first line in /etc/resolv.conf and see if it works then (without the changes in /etc/hosts)?