I am using Postfix and Spam Assassin.  For some reason some messages that
are blatantly SPAM are not getting the X-Spam-Score added to them.  They
show that they are received by Postfix (in the header) but they are not
scanned from what I can tell (X-Spam entries).  When I had version 3.1.0 it
was happening quite frequently but since upgrading to 3.1.1 it seems to
happen quite a bit less.  My setup is pretty plain other than I use MySQL
for user prefs.  Any ideas?

Mike

--------------------------------------

Postfix master.cf:

# Spam Filter
spamassassin unix - n n - - pipe
        flags=Rq user=spamass argv=/usr/local/bin/spamfilter.sh -f ${sender}
-- ${recipient}

smtp inet n - n - - smtpd
  -o content_filter=spamassassin:
smtp unix - - n - - smtp
  -o content_filter=spamassassin:

---------------------------------------

spamfilter.sh:

#!/bin/bash
/usr/bin/spamc -u $4 | /usr/sbin/sendmail -i "$@"
exit $?

----------------------------------------

Reply via email to