My machine is acting as a dhcp server, router andAha, name resolution issues.
firewall.
I have named it "bonsai"
The problem is that when sendmail starts, it take
forever to startup.
Sendmail will be happier if dns is workingI think it is trying to resolve the name. I have place 192.168.100.1 bonsai bonsai into the hosts file.
completely - you may want for other reasons
as well to make your gateway also run a
caching dns server. It can be authoritative
for your small domain and a forwarder for
everything else -
Use a fully qualified domain name in sendmail.cf -un 13 07:34:09 bonsai sendmail[1841]: My unqualified host name (bonsai) unknown; sleeping for retry
Here is the area of interest in /etc/mail/sendmail.cf
# my official domain name
# ... define this only if sendmail cannot automatically determine your domain
#Dj$w.Foo.COM
Edit the Dj line to use your full hostname, e.g:
Djbonsai.mydomain.net
Be sure and use a legitimate hostname or your mail will be bounced by many mail servers.
Joe