After reading about Razor and spamassassin on /. I set up procmail and spamassassin 2.20 (the only rpm available). Procmail seems to work fine. But spamassassin (through .forward) seems to give everything a score of 0.
The command line test of spamassasin works fine: $spamassassin -t < spam.txt > spam.out gives: SPAM: -------------------- Start SpamAssassin results ---------------------- SPAM: This mail is probably spam. The original message has been altered SPAM: so you can recognise or block similar unwanted mail in future. SPAM: See http://spamassassin.org/tag/ for more details. SPAM: SPAM: Content analysis details: (11.3 hits, 5 required) SPAM: Hit! (3.7 points) BODY: Information on getting a larger penis SPAM: Hit! (2.2 points) BODY: As seen on national TV! SPAM: Hit! (1.6 points) BODY: Contains word 'AMAZING' in all-caps SPAM: Hit! (-0.3 points) BODY: Apparently, you'll be amazed SPAM: Hit! (1.5 points) BODY: Asks you to click below SPAM: Hit! (2.1 points) BODY: Talks about opting in SPAM: Hit! (0.5 points) BODY: A WHOLE LINE OF YELLING DETECTED SPAM: SPAM: -------------------- End of SpamAssassin results --------------------- (which is pretty funny) But forwarding the same message to my self gives this in the procmail log file when the spamassassin -D option is used: debug: using "/home/jvarsoke/etc/spamassassin/rules" for site rules dir debug: using "/home/jvarsoke/.spamassassin" for user state dir debug: using "/home/jvarsoke/.spamassassin/user_prefs" for user prefs file debug: running header regexp tests; score so far=0 debug: running body-text per-line regexp tests; score so far=0 debug: running uri tests; score so far=0 debug: running raw-body-text per-line regexp tests; score so far=0 debug: running full-text regexp tests; score so far=0 debug: AWL active, pre-score: 0, mean: undef debug: Post AWL score: 0 debug: is spam? score=0 required=5 debug: auto-report? score=0 threshold=25 >From [EMAIL PROTECTED] Thu Jun 20 23:25:57 2002 Subject: As Seen On TV....Herbal Penis Enlargement is a REALITY... Folder: /var/spool/mail/jvarsoke 2869 My recipe for procmail looks like this: :0fw | /usr/bin/spamassassin -P -D -c $HOME/etc/spamassassin/rules :0: * ^X-Spam-Status: Yes IN-caughtspam (where I'm hoping spam is put in the ~/mail/IN-caughtspam folder). But the above mail message wasn't written to ~/mail/IN-caughtspam nor ~/IN-caughtspam and didn't appear in my INBOX (/vars/spool/mail/jvarsoke). It seems it got filter but deleted instead of sent anywhere (or at least I can't find it. Please, any ideas? -j ________oOOOo__/~~~~\__oOOOo_________________________________ Jason Varsoke [EMAIL PROTECTED] For good mental hygiene, shave with Occam's Razor twice daily ------------------------------------------------------- Sponsored by: ThinkGeek at http://www.ThinkGeek.com/ _______________________________________________ Spamassassin-talk mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/spamassassin-talk