• Plesk Uservoice will be deprecated by October. Moving forward, all product feature requests and improvement suggestions will be managed through our new platform Plesk Productboard.
    To continue sharing your ideas and feedback, please visit features.plesk.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