From: Peter Holm [mailto:[EMAIL PROTECTED]
> 
> ok, as I undestood, it is not possible right now for courier to change
> the headers of any mail with a global filter, so it is not possible to
> insert a [SPAM] String or something like that at the beginning of the
> subject or to insert a "X-Header: Spam". Right?
> 
> Unfortunately that is exactly that, what I need now. 
> 
> I want AMAVIS or any other wellknown spam-analyzer to check every
> incoming mail and want to mark that message somehow as spam, so that
> mailclients can sort out spam for themselves. 
> 
> This should happen for virtual mailboxes. 
> 
> How can this be done with courier?

You can't modify the message with a global filter, but you can do it during
delivery with maildrop.

/etc/courier/maildroprc:
    xfilter "/usr/bin/spamc"

That will add some "X-Spam" headers and possibly modify the subject
depending on your settings.  You can customize it in
/etc/mail/spamassassin/local.cf.

Bowie


-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
courier-users mailing list
[email protected]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to