Plesk

What files should be used to configure custom SpamAssassin rules in Plesk for Linux?

Question

What files should be used to configure custom SpamAssassin rules in Plesk for Linux?

Answer

Custom SpamAssassin configuration can be set in the following files:

/etc/mail/spamassassin/local.cf - for the server-wide configuration.

/var/qmail/mailnames/example.com/john_doe/.spamassassin/user_prefs - for individual users configuration.

For more information on advanced SpamAssassin configuration, refer to the Advanced Administration Guide, Spam Protection for Linux, and SpamAssassin documentation.

Note: Adding custom configurations in these files can be overwritten by Plesk update and other actions related to these files.
For example, changing settings at Tools & Settings > Spam Filter page.