[How to] Enable SpamAssasin individual settings option

Created:

2016-11-16 13:01:40 UTC

Modified:

2017-04-24 11:59:58 UTC

0

Was this article helpful?


Have more questions?

Submit a request

[How to] Enable SpamAssasin individual settings option

Applicable to:

  • Plesk 11.5 for Linux

Question

How to enable SpamAssassin individual settings?

Answer

To turn on individual settings for spam management, go to:

Tools & Settings > Spam Filter Settings > Apply individual settings to spam filtering

Make sure the following option is also checked, otherwise settings will not be applied:

    Switch on server-wide SpamAssassin spam filtering

Also it is possible to enable individual settings to spam filtering option through Plesk database:

  1. Create a database backup according to instructions here:

213904125 How to backup/restore a Plesk database dump?

  1. To switch on server-wide SpamAssassin spam filtering:

    # /usr/local/psa/bin/spamassassin --update-server -status true
  2. To enable individual settings:

    # mysql -uadmin -p`cat /etc/psa/.psa.shadow` -Dpsa -e "UPDATE ServiceNodeConfiguration SET value = 'true' WHERE serviceNodeId=1 AND section= 'mailServer' AND name='spamfilter_use_mailuser_prefs'"
Have more questions? Submit a request
Please sign in to leave a comment.