Bowie Bailey wrote:
Julie S. Lin wrote:
i'm trying to get spamassassin to filter mail to an email alias
"[EMAIL PROTECTED]" .
in my courier aliases files "list" I have
hostmaster : user x, user y, user z
how can I go about doing that? from my research it's a matter of
directing mail to a some file, run the spam filtering, then forward
the checked mail onward? is there a better way?
There are basically two ways:
If you want to reject spam, you can use Amavisd-new to call
SpamAssassin (and ClamAV, if you want). The downside is that this
method has no capability to change the message and so it can't add
markups to the header or subject.
If you just want to mark and deliver the spam, you can call spamc from
maildrop. With the alias you describe above, you would need to run it
individually for each user (since maildrop is a delivery agent, it
doesn't see the alias, just the users).
In my case, I do a hybrid. I use Amavisd-new to spawn clamav and
spamassassin (spamc) -- the latter only to reject spam over a certain
threshold. Then I use spamc in maildrop to re-route incoming spam below
the given threshold into an alternate user folder so they can review it
and selectively sort it as junk or ham.
Sure, running spamc twice is somewhat wasteful, maildrop couldn't
benefit from spamc's first run (can't modify message during
courierfilter step), but I still do want to allow excessively scored
spam to be kicked during submit.
Bill
-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
courier-users mailing list
[email protected]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users