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.

Whitelisting subject lines

Discussion in 'General Discussion' started by shacker23, Oct 9, 2006.

  1. shacker23

    shacker23 Well-Known Member

    Joined:
    Feb 20, 2005
    Messages:
    263
    Likes Received:
    1
    Trophy Points:
    16
    If a weblog comment spam slips through installed filters and lands on a user's blog, the user can usually delete the comment manually. But ONLY if s/he knows it's there. When comments are posted on most blog systems, notification about the comment is emailed to the author of the original article.

    But what I'm seeing lately is that some of these notification emails are themselves being caught by SpamAssasin. Result is that spam goes live on the owner's site and s/he never receives notification about it.

    I thought the answer would be to just set up a SpamAssassin whitelist for part of the subject line, but it looks like cPanel doesn't allow this. Is there a way to do this manually, outside of cPanel?

    Thanks,
    Scot
     
  2. sparek-3

    sparek-3 Well-Known Member

    Joined:
    Aug 10, 2002
    Messages:
    1,383
    Likes Received:
    23
    Trophy Points:
    38
    cPanel Access Level:
    Root Administrator
    I believe Whitelisting subjects is now included in SpamAssassin. I know previously it was an available plugin, which required some loading of some additional SpamAssasin modules, but I believe it is included in SpamAssassin by default now.

    You may not be able to do this from the control panel interface, but you can edit your user_prefs file and whitelist subjects, as well as make other changes to your SpamAssassin configuration.

    To whitelist a subject, you will need to edit the file at:

    /home/user/.spamassassin/user_prefs

    You will want to add to this file lines such as:

    whitelist_subject Good Subject
    whitelist_subject Another Good Subject

    You can add as many as you like, each just needs to be on its own separate line.

    More information concerning this (though some of this information may be outdated, but the concept still applies) at:

    http://wiki.apache.org/spamassassin/WhiteListSubjectPlugin

    Hope this helps.
     
  3. shacker23

    shacker23 Well-Known Member

    Joined:
    Feb 20, 2005
    Messages:
    263
    Likes Received:
    1
    Trophy Points:
    16
    Brilliant - Thanks sparek. Giving it a shot now. If this works, I'll log it as a feature request in bugzilla (or rather log a request to expose this in the UI).
     

Share This Page