Craig Jackson wrote:
Is there a possibility that in default Exim setups, or default
OS-specific Exim packages, the exiscan config lines are being
inserted *without* the required message size limits, thereby
allowing massive emails to be scanned by SpamAssassin?  that
would inflate scanner sizes nonlinearly (and is always a no-no
with SpamAssassin).

I use the condition. My question is that if you use the condition in the first scan, do you need it in subsequent scans:

Yes.

If the spam checks are the last thing in your data ACL, you can include a single accept statement before the spam statements for all messages over your size limit. That way spam scanning is skipped altogether (since the message has been accepted be this new statement).

Something like this.

  accept condition = ${if >{$message_size}{150k}{1}{0}}

Before all of your spam = whatever statements.

- S

Reply via email to