• 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

SpamAssassin question

AndreasK

Basic Pleskian
Hello all,
i need some help for the SpamAssassin configuration!

Where i can set SpamAssassin to "default on" for every new mailadress and where i can set the default score "7" to e.g. "5"?
With this i have to turn on (yes default) the "Delete spam mail when it comes to mailbox".

Thanks in advance,

AndreasK
 
you need the "event manager" for this.

we have two of them on "mail account created"

for spam:
/usr/local/psa/bin/spamassassin.sh --update <new_mailname> -status true -hits 5 -modify-subj false

for antivirus:
/opt/psa/bin/mail.sh --update <new_mailname> -antivirus inout

read the manual of the 2 scripts will help you to find the right syntax ...
 
Back
Top