• We value your experience with Plesk during 2025
    Plesk strives to perform even better in 2026. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2025.
    Please take this short survey:

    https://survey.webpros.com/

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