Hello Adrian, Thursday, May 20, 2004, 5:10:15 PM, you wrote:
AM> We've been encountering a problem with Spamassassin and emails with AM> long headers. One particular example keeps getting sent through our AM> system (many, many copies), which has about 90KB of header (mostly a AM> very long To: line). This has a disastrous effect on the performance AM> of Spamassassin. I was wondering if there's a simple way to set a AM> limit in Spamassassin so it only handles, say, the first 8k of any AM> headers? That way, we should be able to avoid this sort of problem in AM> future. I'd be more interested to find out /why/ this long header is causing a performance problem. If the problem is due to a 90k To, then IMO only a few rules would normally even attempt to match on it. Do you have any custom header To or ToCc rules? Custom full message rules? Do any of those include .* or similar patterns that can be expensive on long strings? Bob Menschel
