• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.
  • 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.

Mass SPAM filter changes

I

inunisonltd

Guest
How can I do a mass change for either a domain or the whole PLESK system to turn on the "DELETE" SPAM option?
I have the option to turn SPAM filtering on or off but not the DELETE option.

There is a real lack of mass change options within the whole of PLESK. This should really be looked into.

Thanks,

Bryan
 
hi all

i have the same question.. but in the other way..
i want activate the spam filter on all email's..

i have set the default, global setting for spam hit to 5. now if i activate the spam filter on one email, the spam hit setting is 7?

two question:
how to set the right global setting, that it will be also for all email's?
how to activate the spam filter on all email's?

i found this in the forum:
http://forum.swsoft.com/showthread.php?t=55336&highlight=spam

the command:
/usr/local/psa/bin/spamassassin.sh --update <new_mailname> -status true -hits 5 -modify-subj false
is only for one mailbox right?

but how to use this script for all mailboxes?

thanks for help

thomi
 
Changing all Spamassassin Preferences

If you have root-access to your machine, try the following.

1. Log onto your machine with ssh.
2. Access your psa database: mysql -uadmin -p`cat /etc/psa/.psa.shadow` psa

Execute the following SQL-Statements (at your own risk :D ):
3. UPDATE spamfilter_preferences SET value = "5" WHERE preference = "required_score";
4. UPDATE spamfilter_preferences SET value = "*** SPAM ***" WHERE preference = "rewrite_header";
5. UPDATE misc SET val = "true" WHERE param = "spamfilter_use_mailuser_prefs";
6. UPDATE misc SET val = "true" WHERE param = "spamfilter_enabled";

After that, run /usr/local/psa/admin/sbin/mchk --with-spam --daemon-mode to set the system configurations. I hope this helps. Choose your own selection of SQL-Updates to meet your requirements. Examine the PSA database if you need to configure something else. Most options can be found there.
 
Forgot to give you the statement to activate the rejection on all accounts. Here it is:

> update spamfilter set reject_spam=true WHERE 1;
 
Hey Blackbit

Thanks for information.

The statement
"5. UPDATE misc SET val = "true" WHERE param = "spamfilter_use_mailuser_prefs";"
will enable user specific spamfilter settings, right?

Will this sql statements only update spamsettings for already enabled mailbox spamsettings not for them that are not enabled?

Why will the Gobal Spamfilter settings not used for Domain or eMail Spamfilter settings?

On this Plesk Server the global spamsettings are:
spamfilter_enabled true
spamfilter_max_children 5
spamfilter_use_mailuser_prefs false


Thanks for additional information.

Greetings for switzerland
thomi
 
Back
Top