Author: Jeremy Harris Date: To: exim-users @ exim. org Subject: Re: [exim] Spam Assassin with user filters?
Cole Tuininga wrote: > On Fri, 2005-08-19 at 09:53 +0200, Thomas Hochstein wrote:
>>Then do it the old way: set up a transport to pipe the mail through
>>spamc and back to Exim, then route all (incoming) mail through that
>>filter:
>><http://dman13.dyndns.org/~dman/config_docs/exim-spamassassin/node12.html>
>>
>>You can then act on the inserted headers in a filter or the
>>routers/transports that deliver your mail to the user's mailbox.
> > How do I make sure that the headers were inserted during this process
> and not by some external (remote mailer?) source?
For any headers you'll be testing on the second pass, do a
headers_remove in the router for the first-pass output.