milter-regex doesn't seem to be miltering!

Chris Martin chris.m.maillists at
Tue Sep 26 15:58:44 PDT 2006

I am trying to use milter-regex to pre-sort e-mail/spam before passing 
it on to clamav and spamassassin, but it doesn't seem to be working.

Here are my first, slightly lame, rules:

reject "Spam not welcome"
header /Subject:/ /\b(PHA)+([a-zA-Z]+(RMA))\b/

reject "Spam not welcome"
header /Subject:/ /\b(PHA)+([a-zA-Z]+(RMACY))\b/

header /Subject:/ /TESTSTRING45819203/

I have tried sending mails with the test string (TESTSTRING45819203) but 
they get through. Are my rules wrong? I am very much a regex newbie, so 
I suspect my rules are wrong, but I need someone's help!

Thanks in advance!

Here are my various version numbers and such:

SpamAssassin version 3.1.5
   running on Perl version 5.8.8

milter-regex - CVSUP and built 25 Sep 2006

antispam02# uname -a
FreeBSD 6.1-RELEASE-p3 FreeBSD 6.1-RELEASE-p3 #1: 
Sun Aug  6 14:18:24 EST 2006 
root at  i386

Chris Martin

More information about the freebsd-ports mailing list