![](https://seccdn.libravatar.org/avatar/4bf81053af9463ed39ea04a1e8702b6e.jpg?s=120&d=mm&r=g)
At 01:14 01.05.2003 +0200, Carlos wrote:
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 :-?
The question is, how long one try is during. If it is - and that's what I assume - 10 seconds, then a RETRY of 3 is already too much to stay below 30s. I don't know, if the 10s are right, but if I do a manual nslookup to a 'dead' RBL-server, it waits for about 10s until I get a "No response from server".
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.
Thanks for the hint! The setup of syslog was no problem so far. But I cannot verify, if the "-v" parameter was passed to sendmail. In "/etc/sysconfig/sendmail" I added a "-v" to the ARGS variable SENDMAIL_ARGS="-v -L sendmail -Am -bd -q30m -om" and restartet sendmail; but this didn't work. I also tried to add "-v" directly to "/etc/init.d/sendmail" with if test -z "$SENDMAIL_ARGS" ; then SENDMAIL_ARGS="-v -L sendmail -Am -bd -q30m -om" but this didn't help either. I still have the same messages in "/var/log/mail.debug" as I had (before changeing syslog.conf) in "/var/log/mail". I also tried "-d", "-d8.1", "-d99.100 -d8.1" but nothing special showed up in "/var/log/mail.debug". Only with the "-d" parameter some debug-output appeared on the console when starting sendmail with "rcsendmail start". I also tried "-X /var/log/mail.traffic" which gave me exactly what I am looking for! But unfotunately without any timestamp. So I'm still unable to verify the time-behaveiour of sendmail during name lookups... What did I wrong? Thanks, Patrick