The 03.04.30 at 18:55, Patrick wrote:
I tried it with RETRANS of 3s and RETRY of 1, but I realized more "IP name lookup failure" messages in /var/log/mail (I 'realized', that doesn't mean that there were really more). Now I'm going with a RETRANS of 2s and a RETRY of 2 - this should be high enough for a good RBL and low enough for some other servers only waiting 30sec for an answer after the initial connect.
The problem is with mails you receive, right? Then, if the system is waiting for a longer time it won't be much of a problem, because sendmail will accept more incoming connections while one of them is waiting, I think. Thus, you could increase those delays, as long as total delay is below 30". Maybe 4" and 3" (RETRANS/RETRY) would be safer :-?
Bad is only, that I don't know how to proof, that this config-changes really do what I want them to do. Perhaps starting sendmail in debug-mode could reveal some informations, but in _which_ debug-mode (there seem to be a lot!)?
I used to call sendmail with -v parameter from my ip-up script; that might be enough. Then you could edit "/etc/syslog.conf" like this: mail.notice -/var/log/mail mail.debug -/var/log/mail.debug The mail.debug file could be cycled faster than the normal mail log file, depending on your traffic; like keeping a week of logs, say. -- Cheers, Carlos Robinson