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.
Increase spamassassin message size
-
- Posts: 3
- Joined: 14 Jul 2014 14:36
Re: Increase spamassassin message size
The specific location to edit is:
This line:
I modified by adding a 0
On a resource constrained box this might cause performance issues but for me it'll be ok (CPU and RAM is cheap these days).
Code: Select all
/etc/MailScanner/MailScanner.conf
Code: Select all
Max Spam Check Size = 200k
Code: Select all
Max Spam Check Size = 2000k
-
- Posts: 33
- Joined: 29 Aug 2014 11:27
Re: Increase spamassassin message size
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
I have found a section with 'Max SpamAssassin Size = 100k continue 150k'
We want to set all mails to be scanned
- shawniverson
- Posts: 3650
- Joined: 13 Jan 2014 23:30
- Location: Indianapolis, Indiana USA
- Contact:
Re: Increase spamassassin message size
look in the MailScanner conf...
- mcgearytech
- Posts: 9
- Joined: 08 Sep 2014 17:01
Re: Increase spamassassin message size
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.
- shawniverson
- Posts: 3650
- Joined: 13 Jan 2014 23:30
- Location: Indianapolis, Indiana USA
- Contact: