Overview
By default, SpamAssassin will not check emails larger than 250 KB. This parameter is set to prevent SpamAssassin from generating a large load on the server.
Requirements
Before you start, this article has the following dependencies:
- You must have SSH access set up for root or a sudo user.
READ ME FIRST
The publishing of this information does not imply support of this article. This article is provided solely as a courtesy to our customers. Please take a moment to review the Statement of Support.
Instructions
If you would like to change this setting to a higher value, you can edit the following file:
vi /usr/local/psa/bin/psa-spamc
Next, change this line to a higher value:
MAX_SIZE=256000 # max letter size to filter
SpamAssassin will use the new value immediately with no need to restart any services.