On 24/02/2004, kevin lyda wrote:
> i watched my (maildir formatted) ~/Mail/sa/ folder for a while but there
> were no positives.  my only complaint is that i wish that tmda tagged
> addresses could be delivered w/o being seen by spam assassin.  something
> like this in the ~/.tmda/filters/incoming file:

>     from-file ~/.tmda/lists/work                    accept
>     tagged-addess VALID                             accept

>     # spamassassin gets to toss out the crap here...
>     pipe      "if spamc -c; then false; else true; fi" deliver=~/Mail/sa/

You could do this with your .qmail files rather easily. For non-tmda
tagged messages .qmail is used, for messages that are (potentially)
tagged by tmda .qmail-default is used. Normally they contain the same
thing for tmda, but you could make .qmail do your spam processing
like:

| /var/qmail/bin/preline /path/to/spamassassin | /path/to/tmda/bin/tmda-filter
/path/to/Maildir/

and your tagged addresses can be processed with .qmail-default:

| /path/to/tmda/bin/tmda-filter
/path/to/Maildir/

Just change your filters to use a "headers" match on the spam status
flag.

Admittedly, this means if someone starts spamming you with an extended
address ([EMAIL PROTECTED]) it wont get spamassassinated
but thats where TMDA will deal with it anyway as normal. Saves a
little on CPU time if the majority of your emails are through tmda
tagged email addresses.

Marcus

-- 
Marcus Williams -- http://www.quintic.co.uk
Quintic Ltd, 39 Newnham Road, Cambridge, UK
  This message is private [ ] public [*]

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

Reply via email to