• 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

Enable Spamassassin for all email accounts inside a domain

steavieleeking

New Pleskian
With plesk 9 there was a method to enable anti-spam to all email accounts inside a domain.
I think it was called group editing or something like that.

In plesk 10 i can't find that same option, there is no Modify button and the change settings button shows no anti-spam options.


thx.
 
Hi,

You could use the following command to do this on all mailboxes for a given domain:

for i in `mysql -uadmin -p\`cat /etc/psa/.psa.shadow\` -sNe "use psa; select concat(mail_name,'@',name) from mail m left join domains d on m.dom_id=d.id where name='<domain>'"`; do /usr/local/psa/bin/spamassassin --update $i -status true; done;

Thanks
 
Back
Top