File(name|type) rules - was hijacked: "Allow Script Tags" affects attachments?

Mark Sapiro mark at
Fri Feb 10 16:04:05 UTC 2017

On 02/09/2017 09:28 PM, Paul Scott wrote:
> With regards to the attachments issue, I think I might finally be starting to get to the bottom of this.  Here is the entry from the log which corresponds to the generation of the odd message that my clients get when a sender sends an email with attachments:
> Feb  8 15:41:46 mail MailScanner[14031]: Message v18NfGNg014804 from (betty.tran at to is too big for spam checks (1572191 > 150000 bytes) 
> So, of course when an email has attachments, it is quite large.  This message is generated incorrectly, for two reasons:

The above message is not why you get the "too many attachments message".
All that should do is skip SpamAssassin entirely for that message. What
messages do you see if you grep the log for
 'Feb  8 15:41:4.*MailScanner.14031'
(dropping the last digit of the seconds and replacing [ with . are

Mark Sapiro <mark at>        The highway is for gamblers,
San Francisco Bay Area, California    better use your sense - B. Dylan

More information about the MailScanner mailing list