Mainpage
Searchform
History
Versions
Categories
Contents
Deutsch
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 failedin the file
/var/log/messages
.
/etc/hosts
aren't recognized at all.
/sbin/init.d/sendmail stop
/etc/sendmail.cf
activate the following options :
# service switch file (ignored on Solaris, Ultrix, OSF/1, others) O ServiceSwitchFile=/etc/service.switch # hosts file (normally /etc/hosts) O HostsFile=/etc/hosts
/etc/service.switch
with the following content :
hosts files aliases files
/sbin/init.d/sendmail start
Further information concerning /etc/service.switch
can be found in the file
/usr/doc/packages/sendmail/op.ps
, page 48f .
See also:
/etc/sendmail.cf
Categories:
Email
Mainpage
Searchform
History
Versions
Categories
Contents
Deutsch