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.

Apache SpamAssassin Configuration File

Discussion in 'E-mail Discussions' started by dbi, May 15, 2014.

  1. dbi

    dbi Registered

    Joined:
    May 15, 2014
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    I did a search on this forum for Spam Assassin Configuration File and looked through the first six pages of results, no luck. I also went to the Spam Assassin website where you would think this would be readily available.

    You would think that a configuration file that works would be available for the account level.

    Why aren't people showing these off? I mean if someone has a config file that works why not share it? Am I missing something here?

    I need a good one that works and doesn't cause problems. Does the one with the settings below fit the bill? Does it have obvious issues?

    Does anyone want to share one they know works awesome?

    I found this one:

    score BAYES_40 1
    score BAYES_50 2
    score BAYES_60 3
    score BAYES_80 4
    score BAYES_95 5
    score BAYES_99 6
    score SPF_FAIL 5
    score SPF_PASS 0
    score SPF_NEUTRAL 0
    score URIBL_BLACK 10
    describe URIBL_BLACK Contains a URL listed in black.uribl.com
    score RCVD_IN_SBL 10
    describe RCVD_IN_SBL Rcvd via a relay in Spamhaus SBL (Direct UBE)
    score RCVD_IN_XBL 10
    describe RCVD_IN_XBL Last ext relay in Spamhaus XBL (exploits)
    score RCVD_IN_PBL 10
    describe RCVD_IN_PBL Last ext relay in Spamhaus PBL (Non-MTA IPs)
    score URIBL_DBL_SPAM 10
    describe URIBL_DBL_SPAM Contains a URL listed in the Spamhaus DBL
    score RCVD_IN_BRBL_LASTEXT 10
    describe RCVD_IN_BRBL_LASTEXT Last external relay in Barracuda RBL
    score RCVD_IN_BL_SPAMCOP_NET 0 1.246 0 1.347 # false positives - occasionally blocks Hotmail. Default was 15.

    Found it here: /http://www.toao.net/566-improving-spamassassin-accuracy-with-statistics

    Please help.

    Thanks,

    Kevin
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,723
    Likes Received:
    660
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Hello :)

    It's likely the default configuration of SpamAsassin is sufficient for most users, thus additional entries are not often discussed. Feel free to share your concerns with the default configuration, or let us know the outcome after implementing additional rules.

    Thank you.
     
  3. dbi

    dbi Registered

    Joined:
    May 15, 2014
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Michael,

    I highly doubt that the default configuration is sufficient for most users.

    After installing the config file I listed I was still getting some spam but now after 24 hours maybe the bayesian filters have learned enough and are blocking it, because I'm getting very little.



     
  4. dbi

    dbi Registered

    Joined:
    May 15, 2014
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Now after a couple of days have gone by and no changes to the settings I'm back to receiving the same 3-5 obvious spam messages an hour but spam assassin is assigning them very low values so of course they are making it through.
     
  5. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,723
    Likes Received:
    660
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Have you considered implementing an account level filter that targets specific types of words/phrases in the message body or subject? Account level filters are documented here:

    Account Level Filtering

    Thank you.
     
Loading...

Share This Page