Message with big attachment is not checked with SpamAssassin: skipped message, greater than max message size (256000 bytes)

Refers to:

  • Plesk 12.5 for Linux
  • Plesk Onyx for Linux
  • Plesk 11.5 for Linux
  • Plesk 12.0 for Linux

Created:

2016-12-18 06:44:34 UTC

Modified:

2017-02-16 19:00:28 UTC

1

Was this article helpful?


Have more questions?

Submit a request

Message with big attachment is not checked with SpamAssassin: skipped message, greater than max message size (256000 bytes)

Symptoms

The following error appears in the /var/log/maillog when a message with a big attachment is received:

plesk spamc[28423]: skipped message, greater than max message size (256000 bytes)

Cause

Default SpamAssassin configuration.

Resolution

SpamAssassin does not check messages with attachments larger than 256KB. This value provides normal server loading.A larger value may cause heavy load on the server while processing big messages.

Starting from Plesk 11.5.30 there is an option to configure max mail size for SpamAssassin. Parameter SA_MAX_MAIL_SIZE in /etc/psa/psa.conf should be modified like as follows:

#grep "SA_MAX" /etc/psa/psa.conf
SA_MAX_MAIL_SIZE 768000

Keep in mind that SA_MAX_MAIL_SIZE value is in bytes. In the example above SpamAssasin will check all messages with the size up to 768KB.

Have more questions? Submit a request
Please sign in to leave a comment.