Help with Spam Assassin

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • jimogrady
    Junior Member
    • Aug 2005
    • 11

    Help with Spam Assassin

    I have enabled Spam Assassin on several domains - but, I still get a fair amount of Spam.

    My question is this - how come I do not see anything tagged as spam? I have looked at mail folders on webmail and see nothing nor does my downloaded emails have anything tagged.

    Any help is appreciated, Jim
  • chrisd
    Member
    • Mar 2004
    • 44

    #2
    Originally posted by jimogrady
    I have enabled Spam Assassin on several domains - but, I still get a fair amount of Spam.
    Hi Jim,

    Do your untagged emails show the X-Spam-Status: header?

    If so then spamassassin is working, it's just not identifying it as spam.

    I previously had a 100% success rate, but now, since moving to a new server I'm getting hammered; evidently the new one isn't doing rbl lookups. I've been informed that that won't be changing.

    I've been able to reduce it a bit with the bayesian options, but it's been a lot of work.

    First, my rule-set (I created mine through SSH, but I'm pretty sure you can do it through cpanel) ..... it's pretty aggressive, but note the RCVD stuff doesn't work for me ...ymmv.

    Code:
    ok_locales en
    required_score 10
    rewrite_header subject [SPAM]
    use_bayes               1
    auto_learn              1
    bayes_min_ham_num 10
    bayes_min_spam_num 10
    score BAYES_99 10
    score BAYES_95 10
    score BAYES_80 10
    score BAYES_60 5
    score BAYES_40 5
    score DNS_FROM_AHBL_RHSBL 10
    score DRUGS_ERECTILE 10
    score FORGED_HOTMAIL_RCVD2 10
    score FORGED_OUTLOOK_TAGS 10
    score FORGED_YAHOO_RCVD 10
    score RCVD_IN_BL_SPAMCOP_NET 10
    score RCVD_IN_NJABL_DUL 10
    score RCVD_IN_SBL 10
    score RCVD_IN_XBL 10
    score UNPARSEABLE_RELAY 10
    score REPTO_OVERQUOTE_THEBAT 10
    score HTML_50_60 2
    Next I move stuff that slips through to my imap spam folder (spambox enabled through cpanel), and then regularly feed it to sa-learn --spam.

    Here's the script I use:

    Code:
    #!/bin/sh
    echo "Learning SPAM"
    DNAME="$HOME/mail/mydomain.com/"
    for USER in $(ls $DNAME)
    do
    cd $DNAME
    cd $USER
    echo ""
    echo "Processing $DNAME$USER"
    sa-learn --spam --siteconfigpath=/usr/share/spamassassin --showdots .spam/cur/
    rm -rf .spam/cur/*
    cd ..
    cd ..
    done
    echo "Done"
    I would recommend trying the rule-set first and see if the tagging kicks in.

    ...Chris.

    Comment

    • jimogrady
      Junior Member
      • Aug 2005
      • 11

      #3
      Spam Assassin

      Thanks for your detailed reply; I am not as tech as you presented, but will give it a go - and let you know.

      Also, I use Outlook Express - where would I be able to view "X-Spam-Status: header?"

      Again, thanks, Jim

      Comment

      • chrisd
        Member
        • Mar 2004
        • 44

        #4
        Originally posted by jimogrady
        Also, I use Outlook Express - where would I be able to view "X-Spam-Status: header?"
        Right-Click on the message (in your inbox), Properties, Details.

        If you want to see the whole thing, hit Message Source ...

        Comment

        • jimogrady
          Junior Member
          • Aug 2005
          • 11

          #5
          Thanks - a lot of the SPAM seems to have 0.0 scores:

          X-Spam-Status: No, score=0.0 required=5.0 tests=HTML_MESSAGE
          autolearn=disabled version=3.1.0
          X-Spam-Level:
          X-Spam-Checker-Version: SpamAssassin 3.1.0 (2005-09-13) on cpanel08.gzo.com

          Jim

          Comment

          • jimogrady
            Junior Member
            • Aug 2005
            • 11

            #6
            where is tagged SPAM

            If an email IS spam - where is it going (with Spam Assassin) - I would like to check it - I looked in Horde ? Spam box is disabled.

            Thanks, Jim

            Comment

            Working...