The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Spamassassin in Cpanel procedures and where info is stored

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

  1. silverbytes

    silverbytes Member

    Joined:
    May 31, 2006
    Messages:
    9
    Likes Received:
    0
    Trophy Points:
    1
    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
    score PALABRAS_BUENAS_SUBJECT -2


    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
    score PALABRAS_MALAS_SUBJECT 1.1

    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
      sa.gif
      File size:
      10.7 KB
      Views:
      39
  2. Frank Broughton

    Frank Broughton Active Member

    Joined:
    Feb 8, 2006
    Messages:
    32
    Likes Received:
    0
    Trophy Points:
    6
    look in .filter in your home directory.
     
Loading...

Share This Page