I am currently using Exim 4 with a local_scan.c that runs SpamAssassin,
rejecting mail if the score exceeds a certain threshold and delivering
it otherwise, with SpamAssassin's added headers. I also run Anomy
Sanitizer through a transport filter.

The Anomy Sanitizer can also decide to reject email, but its primary
function is to "sanitize" message content, so it's currently not set up
to be able to reject email at SMTP time. Would it be possible to run
both of these in a localmailfilter to both change the content of the
message and decide whether or not to receive it? It seems like a
reasonable thing to do.

I've had Courier set up with SpamAssassin running from localmailfilter
in /etc/maildroprcs, as an xfilter. But it was an all or nothing thing;
if mail was allowed through, SpamAssassin's extra headers didn't show
up. Likewise, I would imagine Anomy Sanitizer would have no more luck
running from a localmailfilter.

If it's not currently possible to edit message content from
localmailfilter, I'd like to request it as a feature, since with
Courier's design it seems like it should be both possible and reasonable
to allow. If it is possible, I'd appreciate some pointers. Thanks!

-- 
Sean R. Lynch KG6CVV  http://www.chaosring.org/~seanl/

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to