Why did mail command fail to send mail by "abc.com: Name server timeout" message ?

Solution Verified - Updated -

Environment

  • Red Hat Enterprise Linux 4/5

Issue

  • Why did mail command fail to send mail by "abc.com: Name server timeout" message ?

Resolution

  • If you like to use DNS then create file service.switch in /etc/mail and then restart sendmail.

Diagnostic Steps

  • Mail command failed to send mail by following message

    abc.com: Name server timeout 
    user1@abc.com... Transient parse error -- message queued for future delivery 
    user1@abc.com... queued
    

This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.

Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.