Sendmail - Mailq Errors

Discussion in 'Server Operation' started by tech_paul, Feb 18, 2010.

  1. tech_paul

    tech_paul New Member


    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: No route to host
    -> Transient parse error -- message queued for future delivery
    -> Deferred: Connection timed out with

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

    Thanks in anticipation for your help.
  2. falko

    falko Super Moderator ISPConfig Developer

    Do you use working DNS servers in /etc/resolv.conf? What's the output of
    ping -c4

    Any errors in your mail log?
  3. tech_paul

    tech_paul New Member

    This result is as follows:

    [[email protected] mail]# ping -c4
    PING ( 56(84) bytes of data.
    64 bytes from ( icmp_seq=1 ttl=55 time=78.2 ms
    64 bytes from ( icmp_seq=2 ttl=55 time=78.9 ms
    64 bytes from ( icmp_seq=3 ttl=55 time=84.4 ms
    64 bytes from ( icmp_seq=4 ttl=55 time=78.4 ms

    --- 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.
  4. falko

    falko Super Moderator ISPConfig Developer

    Does it work with these changes?
  5. tech_paul

    tech_paul New Member

    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?
  6. falko

    falko Super Moderator ISPConfig Developer

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

Share This Page