On Fri, Jun 28, 2019 at 12:03:23PM +0200, hg user wrote:
>
> A message I was able to isolate is 94kb, has text and html part and processing
> via command line takes about 6 seconds, I received 500+ of them. Due to
> unsubscribe urls containing the mail address, all messages have different
> hashes

If it happens to be large pathological body for some regexes, upcoming 3.4.3
might help here with it's body_part_scan_size option (truncates body length
to 50k by default, fine to drop to 10-20k on slow server too).

3.4.3-rc3 is available here if you or someone wants to try:
http://talon2.pccc.com/~kmcgrail/devel/

To identify slow rules, download
http://svn.apache.org/repos/asf/spamassassin/trunk/masses/plugins/HitFreqsRuleTiming.pm

And run

spamassassin --cf 'loadplugin HitFreqsRuleTiming 
/path/to/HitFreqsRuleTiming.pm' -L messagefile

See resulting timing.log file

Reply via email to