Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

sendmail slow at boot

Status
Not open for further replies.

bedrock

Programmer
Nov 6, 2002
94
US
i had this problem last time i reloaded my linux machine. when i boot up, sendmail and sm-client (which apparently is connected to sendmail in someway but i could figure out how) take forever to load. last time i remembered it having to due with host name or something, but my hosts file looked ok, except for it was missing the loopback entry. i added it and restarted sendmail but its still slow. what am i missing? oh i should mention, i havent actually restarted my machine, i only restarted sendmail, so if you think that would make a diff. pls say so. i didnt see how it could. thx. what we see depends mainly on what we're looking for.
--John Lubbock
 
You're on the right track. You should also have an ip and a hostname for your eth0 device. This can be just about anything you want.
 
hmm...i do have that entry. here is what my hosts file looks like:

127.0.0.1 loopback
192.168.10.1 linux
192.168.10.2 matt
192.168.10.3 laptop
192.168.10.4 jenny
192.168.10.5 liz

the machine in question is laptop. the machine linux is another linux box that functions as the router/firewall for the computers in my apt. my thinking now is that this is a sendmail issue but i really dont know. what we see depends mainly on what we're looking for.
--John Lubbock
 

It's definately a resolver issue. It must be trying to look up some host or domain that it can't find.
Is there any mails waiting in the queue??
Any sendmail configurations that has other domain names in them??

Cheers Henrik Morsing
Certified AIX 4.3 Systems Administration
& p690 Technical Support
 
hi,
sendmail will try to resolve the host domain name

suppose that the IP of linux box is
192.168.10.1 you shoud add in /etc/hosts
an entry with a coplete domain, something like:
192.168.10.1 somehostname.somedomain.com linux __
___
 
thanks guys...looks like that did it. i have a couple questions though, suppose i didnt have a FQDN. would i then use a hostname like matt.localhost? seems to make sense that way. and what exactly is the alias and what is it used for? what we see depends mainly on what we're looking for.
--John Lubbock
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top