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 filtering by score

Discussion in 'General Discussion' started by erick_paper, Feb 25, 2006.

  1. erick_paper

    erick_paper Well-Known Member

    Joined:
    Apr 19, 2005
    Messages:
    245
    Likes Received:
    0
    Trophy Points:
    16
    Is there a way to filter by score? E.g. the if the "X-Spam-Status" flag has a score > 100, then I want the email to be auto-deleted. Any ideas?
     
  2. rustelekom

    rustelekom Well-Known Member
    PartnerNOC

    Joined:
    Nov 13, 2003
    Messages:
    290
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    moscow
    that already done in cpanel. each user may set own SA score settings. By default it is 5 if i correct remember. You also may set score in server SA config file like 100 or less in file: /etc/mail/spamassassin/local.cf
     
  3. erick_paper

    erick_paper Well-Known Member

    Joined:
    Apr 19, 2005
    Messages:
    245
    Likes Received:
    0
    Trophy Points:
    16
    Nope, it's not done by default. If the score exceeds the score in user_prefs file, then the messages is 'tagged' and moved into a spam folder. I would like it to be *discarded* immediately, not just tagged, so that it doesn't stay there in my Exim queue. Right now, whenever I check the Exim queue from WHM, there are always over a 1000 messages, and I am trying to solve that problem. Thanks for any ideas!
     
  4. rustelekom

    rustelekom Well-Known Member
    PartnerNOC

    Joined:
    Nov 13, 2003
    Messages:
    290
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    moscow
    really, you are not correct. just go to to Cpanel, open Filter email menu item and read message about SA. You may discard all of tagged by SA as SPAM messages.
     
  5. erick_paper

    erick_paper Well-Known Member

    Joined:
    Apr 19, 2005
    Messages:
    245
    Likes Received:
    0
    Trophy Points:
    16
    Thanks rustelekom, that sounds promising. I am in my Email Filtering in cpanel. What should the rule be?

    WHERE "Spam Assassin Spam Header" [MATCHES REGEX? CONTAINS? IS?] [WHAT]???

    Thanks for any ideas!
     
  6. rustelekom

    rustelekom Well-Known Member
    PartnerNOC

    Joined:
    Nov 13, 2003
    Messages:
    290
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    moscow
    Filter Maintenance:

    Hint: To filter all mail that SpamAssassin has marked as spam, just choose "SpamAssassin Spam Header", "begins with", and then enter "Yes" in the box.

    and then indicate in Destination: Discard
     
Loading...

Share This Page