View Full Version : [ubuntu] sendmail is incredibly slow at bootup

December 29th, 2008, 12:53 AM
I was wondering if it's normal for the sendmail daemon to take a long time (about 30sec - 1min) at startup? I recently installed sendmail and starttls to check gmail on gnus.

for example here's what happens when I time the restart of sendmail

david@laptopskis:~$ time sudo /etc/init.d/sendmail restart
* Restarting Mail Transport Agent (MTA) sendmail [ OK ]

real 1m4.609s
user 0m0.244s
sys 0m0.232s

April 22nd, 2009, 05:07 PM
I second that - How in the hey do I run sendmail without doubling my boot-up time?

April 22nd, 2009, 05:24 PM
add an entry for your external address in your /etc/hosts to match the machine name.

May 31st, 2009, 02:59 PM
I've this issue too. How do I do that?
My external IP is not static.
Should I start setting up a dyndns?
Then add something like this to the /etc/hosts

my.dyndns.com localhost

Or how. Please explain..

Is it somehow possible to start a service in the background like it is in arch with just putting a "@" in front of the serivce name in rc.conf?

October 2nd, 2012, 01:34 PM
Put & at the end
Eg sendmail &