• 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

Reject Spam with Spamassassin

S

sysfix

Guest
Hi, I am having proiblems getting spamassassin to reject spam.
I opened up an SSH and CD'd to /opt/psa/bin then run the command below.

./spamassassin --update [email protected] -status true -personal-conf true -reject-spam true -hits 7

However spam still keeps coming into my mailbox and is marked as spam but never deleted/rejected


Whats wrong.....
 
Hello,

try to point also the "-action" option, for example:.
# cd /opt/psa/bin
# /spamassassin --update [email protected] -status true -personal-conf true -reject-spam true -hits 7 -action del

From help page:
"-action <del|mark> what to do with spam mail"

Hope, it will help you.
 
Back
Top