Page 1 of 1

Increase spamassassin message size

Posted: 15 Jul 2014 17:24
by BitWrangler
I'm seeing an increase in spam with an attached image. Message sized are 600 to 900 kb which puts them just over the threshold for what spamassassin will scan or skip.

If I'm recalling correctly the setting for that is not in a rule but is part of the startup script or call?

If someone could point me to the location of the spamassassin startup for efa it would be appreciated.

Re: Increase spamassassin message size

Posted: 16 Jul 2014 20:05
by BitWrangler
The specific location to edit is:

Code: Select all

/etc/MailScanner/MailScanner.conf
This line:

Code: Select all

Max Spam Check Size = 200k
I modified by adding a 0

Code: Select all

Max Spam Check Size = 2000k
On a resource constrained box this might cause performance issues but for me it'll be ok (CPU and RAM is cheap these days).

Re: Increase spamassassin message size

Posted: 01 Sep 2014 13:24
by mikemachin
I dont see this exact text in the conf file as I am looking to do the same thing,

I have found a section with 'Max SpamAssassin Size = 100k continue 150k'

We want to set all mails to be scanned

Re: Increase spamassassin message size

Posted: 02 Sep 2014 09:22
by shawniverson
look in the MailScanner conf...

Re: Increase spamassassin message size

Posted: 10 Sep 2014 15:48
by mcgearytech
I was pulling my hair out trying to figure out why some blatant spam was making it through to my mailboxes. i noticed the spam messages were kinda large as they had images in them then saw the maillog file had skipped scanning due to size. After a little searching this fixed me right up. I would suggest increasing the limit as a default as more and more spammers are sending larger emails due the decreased costs of bandwidth these days. again great product little tweaking and it gets even better. :dance:

Re: Increase spamassassin message size

Posted: 12 Sep 2014 11:19
by shawniverson