#773146 exim4-daemon-heavy: exiscan spamd acl maxes cpu with large messages for 10 minute even though spamc < 1 second

Package:
exim4-daemon-heavy
Source:
exim4
Description:
Exim MTA (v4) daemon with extended features, including exiscan-acl
Submitter:
Daniel Dickinson
Date:
2014-12-15 00:33:12 UTC
Severity:
normal
#773146#5
Date:
2014-12-15 00:31:53 UTC
From:
To:
Using exim4-daemon-heavy to use the exiscan patch that allows to use spamd filtering in acl's fails
with large emails.  I don't know the exact cutoff but with a 4.5M email that a command line invocation
of spamc can process in < 1 second, spamd takes about 10 minutes at max cpu for one core.

This is clearly a flaw in the way exim/exiscan is handling the email rather than a limitation
of spamassassin/spamd.

The email in question is just a firewall log summary from repeated blocks of a misconfigured program
and is a pure text file of kernel log entries.