[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[cobalt-users] Why are sendmail timeout settings commented-out on RaQ3?



Hi,

Every night, my raq sends out a few thousand (around 8000) mails to a mailing
list. The problem is that sometimes it takes very long for sendmail to connect,
and in a 'ps aux' you can see these kind of messages:

root     14927  0.0  0.8  2344 1404 ?        S    09:32   0:00 sendmail:
BAA01652 mta1.mail.hotbot.com.: user open

They sometimes stay there for hours (maybe days?), and so at some point, if
there are enough of those waiting sendmail processes (i believe 'enough' is
around 10 or something.. this is probably specified somewhere in sendmail.cf),
sendmail doesn't accept connections anymore, and even shuts down completely. 

I'm wondering why those connections are kept open so long.. why don't they
timeout? Well, i looked in sendmail.cf, and found that most probably they don't
timeout because those timeout settings are commented-out, like this:

==
# timeouts (many of these)
#O Timeout.initial=5m
#O Timeout.connect=5m
#O Timeout.iconnect=5m
#O Timeout.helo=5m
#O Timeout.mail=10m
#O Timeout.rcpt=1h
#O Timeout.datainit=5m
#O Timeout.datablock=1h
#O Timeout.datafinal=1h
#O Timeout.rset=5m
#O Timeout.quit=2m
#O Timeout.misc=2m
#O Timeout.command=1h
#O Timeout.ident=30s
#O Timeout.fileopen=60s
O Timeout.queuereturn=5d
#O Timeout.queuereturn.normal=5d
#O Timeout.queuereturn.urgent=2d
#O Timeout.queuereturn.non-urgent=7d
O Timeout.queuewarn=4h
#O Timeout.queuewarn.normal=4h
#O Timeout.queuewarn.urgent=1h
#O Timeout.queuewarn.non-urgent=12h
#O Timeout.hoststatus=30m
==

Why are they commented out??? Is there any good reason for that, or should can
i just remove those #'s to make them actually have some effect again (i assume
i'd also have to change it in sendmail.cf.master, so they don't get overwritten
again).

I found 3 sendmail.cf files on the raq.. should they all be changed? 
/etc/sendmail.cf
/etc/sendmail.cf.master
/usr/lib/sendmail-cf/sendmail.cf

If anyone has an answer to this, please mail me at niekvs@xxxxxxxxx (i don't
check this group very often, so it'd be nice if you sent it to my address too).

Thanks a lot in advance! 
   Niek

__________________________________________________
Do You Yahoo!?
Get email at your own domain with Yahoo! Mail. 
http://personal.mail.yahoo.com/