Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Spamassassin in Cpanel procedures and where info is stored

Discussion in 'General Discussion' started by silverbytes, Feb 5, 2007.

  1. silverbytes

    silverbytes Member

    May 31, 2006
    Likes Received:
    Trophy Points:
    SA allows to delete spam from server or deliver it tagged as spam.
    What is the order that makes SA do so and where is that stored.

    Cpanel has a link saying:
    "To simply have the server DELETE and NOT deliver emails that are tagged as spam by SpamAssassin, click here now. where "here" points to http://yourdomain:2082/frontend/x/mail/addspamfilter.html

    After you pressed that once, it ads also this: If you have enabled this option and want to cancel it, click here.
    where "here" points to http://yourdomain:2082/frontend/x/mail/blocks.html

    Do I understand correctly and when you click the first time (delete and not deliver) a rule is created to do so?

    And when you press "cancel" you are directed there to manually delete that rule?

    Where is that information stored? (rules) I couldn't find that.

    I have a folder .spamassassin with 4 files in it, including user_prefs, but rules created via cpanel are not stored in user_prefs files...

    Other question: how do I add a rule to give NEGATIVE score to SA in order to list a bunch of "good words", words I usally receive in real email?

    I've tried adding to user_prefs directly but I'm not sure that works...

    Added something like this:
    header PALABRAS_BUENAS_SUBJECT Subject =~ /\bpricing|information\b/i

    Made the same with "bad words" to add to score 1.1

    Added something like this:
    header PALABRAS_MALAS_SUBJECT Subject =~ /\bpricing|information\b/i

    And now my inteface looks strange... seems like you can see in attachment...

    I want to add those custom rules specially the PALABAR_BUENAS_SUBJECT to minimize false positives...

    Attached Files:

    • sa.gif
      File size:
      10.7 KB
  2. Frank Broughton

    Frank Broughton Active Member

    Feb 8, 2006
    Likes Received:
    Trophy Points:
    look in .filter in your home directory.

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice