• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Disable spam after upgrade plesk from 11.09 to 11.5

nicutdk

Basic Pleskian
Hello,

After upgrade plesk from 11 to 11.5 all mail was not have enable spam protection. I must to go on every mail to check Spam Protection.


How can enable spam protection on all mail not one by one ??


Thank You.
 
Use this script, for example:

# for i in `mysql -uadmin -p\`cat /etc/psa/.psa.shadow\` psa -Ns -e "select concat(mail.mail_name,\"@\",domains.name) as address from mail,domains,accounts where mail.dom_id=domains.id and mail.account_id=accounts.id order by address"`; do /usr/local/psa/bin/spamassassin -u $i -status true; done
 
Back
Top