-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 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). > I never could (still can't) decide between the two. I use Amavisd-new for virus and phising filtering and to some extent, spam-filtering through ClamAV (tries to match spam-images and urls). But SpamAssassin is run through maildrop.
The only reason for that is that I need to add spam-headers. I would much like to run SpamAssassin through Amavisd-new, as that would allow me to reject mail and filter messages that are relayed which should keep mailboxes cleaner and allow for some small efficiency improvements. Kind Regards, Sander Holthaus -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2.2 (MingW32) iD8DBQFEIIRmVf373DysOTURAlY2AJ91sgpbrzwSILHwMWj3521Iz4Xj5QCferXK LYj6CdZdHuFDzDF5YzzbLsI= =ui7m -----END PGP SIGNATURE----- ------------------------------------------------------- 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
