sendmail with SMTP, but without DNS

Support knowledgebase (sendmail)

Symptom:

You have configured a local net without Domain-Name-Services (DNS), all hostnames are defined in /etc/hosts, the hosts can be accessed via that name.

You can receive mails, however it is impossible to send mails. You see a message like

sendmail: Hostname lookup failed
in the file /var/log/messages.

Cause:

Sendmail was configured for SMTP and DNS. The entries in /etc/hosts aren't recognized at all.

Solution:

Further information concerning /etc/service.switch can be found in the file /usr/doc/packages/sendmail/op.ps, page 48f .


See also:
o Host name, domain name? What is what?

Keywords: SENDMAIL, SMTP, DNS

Categories: Email

SDB-sendmail, Copyright SuSE Linux AG, Nürnberg, Germany - Version: 27. Jan 1999
SuSE Linux AG - Last generated: 23. Jul 2002 13:51:57 by kfr (sdb_gen 1.40.0)