• 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

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