Re: timeouts on processing some messages, started October 24

2021-11-04 Thread Greg Troxel
I have captured a bad message. It seems innocuous; it's from me at a host in my domain, to me, basically From: g...@foo.lexort.com To: g...@lexort.com and has a body "foo", no DKIM headers, just Received, Subject, Message-Id. Processing this with my normal config results in the timeout. I

Re: timeouts on processing some messages, started October 24

2021-11-03 Thread John Hardin
On Wed, 3 Nov 2021, Bill Cole wrote: The most common reason for SA to hit its internal timeout is the combination of a rule with a pattern that can generate a large number of backtracks while scanning (exponential or factorial order) and a message which causes such backtracking. Typically that

Re: timeouts on processing some messages, started October 24

2021-11-03 Thread Matus UHLAR - fantomas
On 2021-11-02 at 19:15:33 UTC-0400 (Tue, 02 Nov 2021 19:15:33 -0400) Greg Troxel is rumored to have said: I have a systeem with postfix and spamassassin 3.4.6 via spamd. It's been generally running well. I noticed mail from one of my other systems timing out and 471, and that caused me to loo

Re: timeouts on processing some messages, started October 24

2021-11-03 Thread Greg Troxel
Bill Cole writes: > It would generally be a bad idea to increase the Postfix timeout, as > that passes the problem back upstream as senders will generally time > out at 300s as well. > > So, add '--timeout-child=295' to your spamd arguments if you want to > make spamd timeout faster than Postfix

Re: timeouts on processing some messages, started October 24

2021-11-03 Thread Bill Cole
On 2021-11-02 at 19:15:33 UTC-0400 (Tue, 02 Nov 2021 19:15:33 -0400) Greg Troxel is rumored to have said: I have a systeem with postfix and spamassassin 3.4.6 via spamd. It's been generally running well. I noticed mail from one of my other systems timing out and 471, and that caused me to loo

Re: timeouts on processing some messages, started October 24

2021-11-02 Thread Greg Troxel
> postfix is waiting 300s > SA thinks it can spend 300s processing > postfix gives up 1s before SA is done The default spamd child timeout is 300s. The default postfix content milter timeout is 300s. Each is a reasonable choice, but really postfix's timeout should be longer. I set in postf

timeouts on processing some messages, started October 24

2021-11-02 Thread Greg Troxel
I have a systeem with postfix and spamassassin 3.4.6 via spamd. It's been generally running well. I noticed mail from one of my other systems timing out and 471, and that caused me to look at the logs. I have KAM rules, some RBL adjustments, a bunch of local rules for my spam, but really nothing