Web Hosting Talk







View Full Version : Sendmail Hanging on Bootup and Sending mail....


ReliableServers
12-16-2001, 04:51 PM
Hey everyone, I got a problem with everyones favorite software again. I added some new ips to my server, and now sendmail takes ages to startup when my server gets rebooted. Granted that doesnt happen much but its still a problem, 5-20mins for it to start, and it hampers all other daemons on the box since its still booting. Also when sending mail from pine it takes about 5 mins to send. Is there a way to tell sendmail to use just the one ip since I think this is causing the problem.

Any advice?

Thanks in advance.

cperciva
12-16-2001, 04:58 PM
Sendmail is probably trying to find reverse DNS entries for its IP addresses. Add entries to /etc/hosts for all the addresses.

... or you could just switch to qmail ;)

ReliableServers
12-16-2001, 06:28 PM
Originally posted by cperciva
Sendmail is probably trying to find reverse DNS entries for its IP addresses. Add entries to /etc/hosts for all the addresses.

... or you could just switch to qmail ;)

There is not /etc/hosts on this server. It is freebsd 4.4, it is ok to create it I am guessing.

cperciva
12-16-2001, 06:58 PM
Err, if you don't have an /etc/hosts file on FreeBSD 4.4-RELEASE something is *wrong*.

ReliableServers
12-16-2001, 07:42 PM
My bad. I was on the wrong server hahaha =)

Im gonna try that now.

Thanks