- Plesk for Linux
Messages with large files in attachment are not checked by SpamAssassin: skipped message, greater than max message size (256000 bytes)
When a message with large file(s) in attachment is received, the following message appears in
/var/log/maillog(in some cases, there might not be any messages from SpamAssassin):
CONFIG_TEXT: plesk spamc: skipped message, greater than max message size (256000 bytes)
Mailbox-level blacklist is ignored: messages from blacklisted domains are delivered.
By default, SpamAssassin does not check messages with attachments larger than 256KB. This value provides normal server loading. A larger value may cause heavy load on a server when processing large messages.
The mailbox-level blacklist is SpamAssassin blacklist. When SpamAssassin ignores large messages and does not scan them, it does not check the domain name against its blacklist. Therefore, such messages are delivered.
Starting from Plesk 11.5 it is possible to configure max mail size for SpamAssassin.
Connect to a Plesk server via SSH.
Open the file
/etc/psa/psa.confin any text editor and navigate to the line
SpamAssassin max mail size (in bytes).
Increase the value of the
Note: The value of
SA_MAX_MAIL_SIZEis in bytes. In the example below, SpamAssasin will check all messages with the size up to 768KB:
CONFIG_TEXT: # SpamAssassin max mail size (in bytes)
Save the changes and close the file.