1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice
  2. Dear Pleskians, please read this carefully! New attachments and other rules Thank you!
    Dismiss Notice
  3. Dear Pleskians, I really hope that you will share your opinion in this Special topic for chatter about Plesk in the Clouds. Thank you!
    Dismiss Notice

Reject Spam with Spamassassin

Discussion in 'Plesk for Linux - 8.x and Older' started by sysfix, Dec 18, 2007.

  1. sysfix

    sysfix Guest

    0
     
    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 user@mail.com -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.....
     
  2. Satoriya

    Satoriya Guest

    0
     
    Hello,

    try to point also the "-action" option, for example:.
    # cd /opt/psa/bin
    # /spamassassin --update user@mail.com -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.
     
Loading...