At 01:04 PM 9/15/2003, Joe Finkle wrote:
Several times in teh last couple of months we've been noticing that mail was taking minutes to hours to be delivered (we use multiple postfix routing boxes with amavisd-new and spamassassin forwarding to cyrus mailstores). Well today mail was taking over an hour to be delivered, and as an experiment I turned off spam-checks in amavisd-new. Boom, all mail delivered instantly, no delays.

First, it may not be Razor - it could be a blacklist that's not responding.


My suggestion would be to go into your SpamAssassin configs and set low timeouts (less than 10 seconds) for all network tests including Razor and RBLs. My local.cf includes:

rbl_timeout 1
razor_timeout 5
dcc_timeout 5
pyzor_timeout 5

That way if Razor is timing out it only slows down each message by 5 seconds, and if an RBL is bogged down or goes offline (and it seems like they're disappearing every few weeks), it only adds 1 second. Also, if you haven't already, be sure to disable or remove anything that queries Osirusoft (including the relevant SA rules).

As for the exact times - I have a caching nameserver on the same system, and with all the blacklists SA uses I don't mind missing one if it occasionally takes 2 seconds to return. You may prefer to give it more time. And 5 seconds seems reasonable for checking one message against Razor. Again, YMMV.


Kelson Vibber
SpeedGate Communications <www.speed.net>




-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Razor-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/razor-users

Reply via email to