When /etc/init.d/sendmail starts, it waits for a long time on theA _very_ slow newaliases is almost certainly as a result of the DNS not functioning. (A moderately slow one is usually something else :-))
/usr/bin/newaliases command. According to the documentation, this
command is needed to recompile the /etc/aliases file, which I've never
changed. Is there a reason the default one takes so long to recompile
(or why its last-modified date isn't checked)?
If you can fix your DNS problems then you won't have a problem with newaliases. Having said that fixing the DNS problem might be rather hard.
Alternatively, put
test /etc/aliases.db -nt /etc/aliases &&
in front of the newaliases command in the sendmail start-up script. I haven't tested this, but it should be OK. It's also not perfect -- the contents of /etc/aliases.db actually depends upon the sendmail configuration as well as the contents of /etc/aliases, albeit in a fairly subtle way. I suppose really that the invocation of newaliases should be after the make/makemap stuff.
jch
jch
-- Shrike-list mailing list Shrike-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/shrike-list