• We value your experience with Plesk during 2025
    Plesk strives to perform even better in 2026. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2025.
    Please take this short survey:

    https://survey.webpros.com/

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