Sending mails using Postfix gives the error "Host or domain name not found"
Issue
- Postfix is unable to resolve the host/domain, in spite of having the entries in
/etc/hosts - While sending, it gives the following error:
to=<user@example.com>, relay=none, delay=0.55, delays=0.13/0.04/0.38/0, dsn=4.4.3, status=deferred (Host or domain name not found. Name service error for name=smtp.example.net type=A: Host not found, try again)
Environment
- Red Hat Enterprise Linux 5.x
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
