At 00:17 25/02/2003, Simon Byrnand wrote:
At 12:18 25/02/03 +1300, Simon Byrnand wrote:At 04:27 24/02/03 -0500, Gerry Doris wrote:On Mon, 24 Feb 2003, D. Höhn wrote:
> Hello.
>
> I am using sedmail + sophos + MailScanner 4.12-2 + Spamassassin.
>
> While running on 2.44 everything was fine. I decided to upgrade to 2.50 only
> to find 768 files unscanned in the morning. I tracked things down like this.
>
> Using 2.50 the spamassassin scans seem to time out frequently and
> MailScanner only scans 1 message rather than a batch. (I know this is a
> mailscanner thing but bare with me).
>
> Wehn is install 2.44 and change NOTHING with the mailscanner setup,
> everything is fine, thus I somehow suspect Spamassassin doing something
> wrong. Has someone a similar setup (yes I will send this to the Mailscanner
> list as well).
>
> Thank you very much in advance
>
> -d
Several people have had similar problems. Please post your configuration on the mailscanner list. We're trying to find a common thread for those with the problem.
I'm seeing a similar thing - and I think its some of the RBL checks that were newly added in 2.50 causing it. I have rbl_timeout set to 15 seconds, and I frequently see spamd reporting scanning taking about 16 seconds. Manually running spamassassin indicates the NJABL rbl tests are the culprit, as there is a long pause at that point.
What is the correct method to disable certain tests altogether ? Will overriding the score with 0 cause the test to be avoided, or will it simply apply a 0 score to the result after looking it up ? (And thus still have the timeout issue)
Ok, some more info - I'm not actually using Mailscanner, but rather spamc called from procmail, but I see from the maillog spamd reporting processing time which is equal to my rbl_timeout plus 0.5 to 2 seconds.
Adjusting rbl_timeout confirms that the delay seems to be caused by an RBL lookup timeout.
From reading 50_scores.cf it seems to be indicated that setting the score of a test to 0 will stop it being executed. (Please someone correct me if this is wrong)
So I put the following in my local.cf:
score RCVD_IN_RELAYS_ORDB_ORG 0 score RCVD_IN_OSIRUSOFT_COM 0 score X_OSIRU_DUL 0 score X_OSIRU_DUL_FH 0 score X_OSIRU_OPEN_RELAY 0 score X_OSIRU_SPAMWARE_SITE 0 score X_OSIRU_SPAM_SRC 0 score RCVD_IN_RFCI 0 score RCVD_IN_ORBS 0 score RCVD_IN_DSBL 0 score RCVD_IN_MULTIHOP_DSBL 0 score RCVD_IN_SBL 0 score RCVD_IN_UNCONFIRMED_DSBL 0 score RCVD_IN_VISI 0 score RCVD_IN_BONDEDSENDER 0 score RCVD_IN_OPM 0 score RCVD_IN_NJABL 0 score X_NJABL_OPEN_PROXY 0
In theory that should stop all RBL blacklist lookups, and the timeout should go away.
But it doesn't. spamd processing time is still rbl_timeout + a little bit.
I don't have any other network checks that I'm aware of such as Razor, DCC etc running, so there shouldn't be anything to time out. Have I missed something ?
Is this a bug in the RBL timeout handling code ?
It seems likely that given the default rbl_timeout is 30 seconds and that Mailscanner scans batches of messages in a row, I can see how it could easily cause timeouts for mailscanner.....for me the timeouts aren't fatal, but it does cause rather a lot of forked spamd processes to linger around far longer than they should...
Hope this helps someone locate the problem...
Also I wonder about the RBL querying code - what happens if (for instance) there is a DNS issue that causes a timeout on one of the intermediate RBL checks, does that prevent the remaining RBL checks from getting a chance to run, or are they all queried in parallel ? (Ala squid's "internal dns" code)
Regards, Simon
------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Spamassassin-talk mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/spamassassin-talk
-- Julian Field Teaching Systems Manager [EMAIL PROTECTED] Dept. of Electronics & Computer Science Tel. 023 8059 2817 University of Southampton Southampton SO17 1BJ
------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Spamassassin-talk mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/spamassassin-talk