I am trying to finish off my installation of Spamassassin and TMDA and I am almost
there but I have one small problem.
When Spamassassin flags a message as spam, that message is either:
a) somehow getting through TMDA with out being confirmed, or
b) TMDA is being bypassed altogether.
I think the likely scenario is b)
I am running Spamassassin globally with the following in my /usr/local/etc/procmailrc
file:
:0fw
| spamc -f
I am trying to run tmda on a per user basis from ~/.procmailrc which looks like this:
SHELL=/bin/sh
EXTENSION="$1"
:0
* EXTENSION ?? .
{
DELIMITER="+"
}
RECIPIENT="[EMAIL PROTECTED]"
SENDER=`/usr/local/bin/formail -x Return-Path | sed 's/[<>]//g;s/^[ ]*//'`
:0 w
| /usr/local/bin/python /usr/local/tmda/bin/tmda-filter
EXITCODE=$?
DEFAULT=/dev/null
What is the order or execution between /usr/local/etc/procmailrc and ~/.procmailrc? I
assume that /usr/local/etc/procmailrc goes
first. If so, does procmail still look at ~/.procmailrc if it exists
The interesting part is that if Spamassassin doesn't tag the message as spam, then
tmda functions properly (I can see X-Spam-Status:
No in the headers of the message in the pending directory) however if spamassasin tags
the message as spam, then TMDA appears to get
bypassed.
Any Ideas
Bill
_____________________________________________
tmda-users mailing list ([EMAIL PROTECTED])
http://tmda.net/lists/listinfo/tmda-users