Hi all,

Currently having a few problems getting SpamAssassin working correctly with
TMDA. Now I've searched through most of the mailing list archives, and found
nothing in reference to having TMDA calling spamassassin after all
white/black lists have been checked. Only references to spamassassin is
where you run messages through SA first, then through TMDA.

What I am trying to do, is run messages through TMDA like normal, and if
they do not match any whitelists or blacklists, then run message through SA,
and tag the subject with [SPAM], and then in our web interface to the
Pending queue, the user can see which is definitely spam (tagged subject by
SA), and which is just pending (and can order the pending items by subject,
and put definite spam at the top... etc.)

This is my current TMDA filter file:

from-cdb /etcmail/tmda/actrix_whitelist.cdb ok
from-cdb /etcmail/tmda/actrix_blacklist.cdb bounce
from-file -autocdb ~/.tmda/whitelist ok
from-file -autocdb  ~/.tmda/blacklist bounce
pipe "/usr/local/bin/spamassassin" confirm

Basically I wanted all mail to get to the bottom of the filter, to be piped
through SpamAssassin, tagged if its spam, and the confirmed like normal.
However, this doesn't work. I sent test spam emails to my address (from an
outside address), and the emails just get confirmed and put in pending, and
not tagged in the subject with [SPAM] and no SA headers.

I know SA is working as I tested it with TMDA off (I called SA from my
.procmailrc file). So I know it tags the subject with [SPAM], and I sent
through exactly the same spam email before I had TMDA running with SA, and
then afterwards, just to make sure SA was working OK.

I'm currently running:
TMDA/1.0 "Cannonade" (Python/2.1.3 on linux2)
and:
SpamAssassin version 2.63

Have I missed something? Or should I try another filter command at the end
of the FILTER file.

Thanks in advance.

Regards
Mike Usmar
Web Developer
Actrix Networks Ltd
[EMAIL PROTECTED]
0800 ACTRIX (228749) - ext 411
____________________________

_____________________________________________
tmda-users mailing list ([EMAIL PROTECTED])
http://tmda.net/lists/listinfo/tmda-users

Reply via email to