• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

Spam Assassin Default Level

runtim23

Basic Pleskian
Hi,

Is there not a way to change the default for the spam assassin level when creating a new mail account and still have the ability to change it individually if needed?

I changed it in the spamassassin config file /etc/mail/spamassassin/local.cf and in the server mail settings,
but it still reads 7 when I create a new account and go to turn on the spam filtering. Does this value come from the db?

I can write a script making api calls? but surely there is a way to change the defaults and still have the ability to
change these from the default for each account if needed?

Thanks.
 
Yes, you can setup the spam-assassin filtering preferences on a per-mailbox basis. For this you will have to enabled "Apply individual settings to spam filtering." in Spam Filter Settings on your server
 
Yes, you can setup the spam-assassin filtering preferences on a per-mailbox basis. For this you will have to enabled "Apply individual settings to spam filtering." in Spam Filter Settings on your server
I don't think you understand my question. I want to change the default from 7 to 4. I have to set up hundreds of email accounts and it would be easier having the default changed since most but not all will use 4.
 
Try to change it here:

mysql> select * from spamfilter_preferences;
+--------+---------------+----------------+------------------------+
| prefid | spamfilter_id | preference | value |
+--------+---------------+----------------+------------------------+
| 1 | 1 | required_score | 7.00 |
| 2 | 1 | rewrite_header | subject *****SPAM***** |
| 3 | 2 | action | move |
| 4 | 2 | rewrite_header | subject ***SPAM*** |
+--------+---------------+----------------+------------------------+
4 rows in set (0.00 sec)
 
Back
Top