Hey all,

I'm trying to use both SpamBouncer and SpamAssassin on my system, and 
I'm having troubles.

My /etc/procmailrc file looks like this:

    [Misc setup code snipped]

    DROPPRIVS=yes
    FILTER=yes
    INCLUDERC=/usr/local/spambnc/sb.rc

    #
    # SpamAssassin
    #
    :0fw
    | /usr/local/bin/spamc -f

And I have a test file in /etc/mail/spamassassin/tests.cf:

    header   SPAM_BOUNCER_BLOCKED        X-SBClass =~ /Blocked/i
    describe SPAM_BOUNCER_BLOCKED        Tagged as blocked by SpamBouncer
    score    SPAM_BOUNCER_BLOCKED        1.0

    header   SPAM_BOUNCER_BLOCKED        X-SBClass =~ /Spam/i
    describe SPAM_BOUNCER_SPAM           Tagged as spam by SpamBouncer
    score    SPAM_BOUNCER_SPAM           4.464

When I run the sample-spam.txt file through sendmail, I get the 
following headers (truncated):

X-SpamBouncer: 1.5 (7/17/02)
X-SBNote: From Admin
X-SBNote: FROM_DAEMON/Listserv
X-SBRule: Pattern Match (Disclaimer) (Score: 3844)
X-SBRule: Pattern Match (MMF) (Score: 2320)
X-SBRule: Pattern Match (Other Patterns) (Score: 50)
X-SBRule: Pattern Match (Spam Phone #) (Score: 0)
X-SBPass: No Freemail Filtering
X-SBClass: Blocked
X-Spam-Status: Yes, hits=30.8 required=5.0
        tests=UNDISC_RECIPS,FROM_HAS_MIXED_NUMS,MSGID_HAS_NO_AT,
              SMTPD_IN_RCVD,INVALID_MSGID,ALL_CAPS_HEADER,NO_REAL_NAME,
              INVALID_DATE,HOME_EMPLOYMENT,DOUBLE_CAPSWORD,
              ONCE_IN_LIFETIME,CALL_FREE,REMOVE_SUBJ,LINES_OF_YELLING,
              RAZOR_CHECK,FREQ_SPAM_PHRASE,DCC_CHECK,DATE_IN_PAST_24_48,
              RCVD_IN_OSIRUSOFT_COM,AWL
        version=2.40
X-Spam-Flag: YES
X-Spam-Level: ******************************
X-Spam-Checker-Version: SpamAssassin 2.40 (devel $Id: SpamAssassin.pm,v 1.100 
2002/06/20 17:02:41 hughescr Exp $)
X-Spam-Report:   30.8 hits, 5 required;
  *  4.0 -- Valid-looking To "undisclosed-recipients"
  *  2.6 -- From: contains numbers mixed in with letters
  *  2.1 -- Message-Id has no @ sign
  *  2.1 -- Received via SMTPD32 server (SMTPD32-n.n)
  *  1.8 -- Message-Id is not valid, according to RFC-2822
  *  1.6 -- Header with all capitals found
  *  0.5 -- From: does not include a real name
  *  0.5 -- Invalid Date: header (not RFC 822)
  *  2.9 -- BODY: Information on how to work at home (2)
  *  1.1 -- BODY: A word in all caps repeated on the line
  *  1.8 -- BODY: Once in a lifetime, apparently
  *  0.7 -- BODY: Contains a tollfree number
  *  3.4 -- BODY: List removal information
  * -0.0 -- BODY: A WHOLE LINE OF YELLING DETECTED
  *  3.0 -- Listed in Razor, see http://razor.sourceforge.net/
  *  2.4 -- Contains phrases frequently found in spam
            [score:  18, hits: all information, are you,]
            [based business, federal legislation, for your,]
            [from our, future mailings, home based, mail]
            [address, our company, permanently removed,]
            [please send, remove the, removed from, subject]
            [line, that can, the subject, word remove, you]
            [for, you like, you need, you not, you with, your]
            [mail]
  *  2.0 -- Listed in DCC, see http://www.rhyolite.com/anti-spam/dcc/dcc-tree/dcc.html
  *  2.6 -- Date: is 24 to 48 hours before Received: date
  *  2.0 -- RBL: Received via a relay in relays.osirusoft.com
            [RBL check: found 142.249.10.63.relays.osirusoft.com., type: 127.0.0.3]
  * -6.3 -- AWL: Auto-whitelist adjustment

For some reason I can't fathom, the SPAM_BOUNCER_BLOCKED rule isn't 
firing, despite the existance of the X-SBClass: Blocked header.

I have no idea why this happens, but I'm sure someone out there can set 
me straight... right?

Thanks in advance!!

Brad

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

Reply via email to