• The APS Catalog has been deprecated and removed from all Plesk Obsidian versions.
    Applications already installed from the APS Catalog will continue working. However, Plesk will no longer provide support for APS applications.
  • Please be aware: with the Plesk Obsidian 18.0.78 release, the support for the ngx_pagespeed.so module will be deprecated and removed from the sw-nginx package.

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