[EXIM] Re-address non-local messages via a filter - how?

Top Page
Delete this message
Reply to this message
Author: Simon Rainey
Date:  
To: exim-users
Subject: [EXIM] Re-address non-local messages via a filter - how?
Hi,

I'm setting up a mail gateway using Exim. There are no local users - all
inbound and outbound mail for a group of domains, each with their own mail
server, is funnelled through the gateway. The application requires that
mail be filtered on the sender and recipient addresses and the content of
the body. Mail may be passed on untouched, bounced back to the sender or
redirected to a censor for approval. I've played around with transport
filters, but munging the To: field makes no difference to where the mail
gets sent. I figure I need to maybe use a pipe, but I'm not convinced that
I can override the sender and recipient addresses used by Exim for
delivery. Is this possible? Does anyone have an example?

Many thanks in advance,
Simon.


--
*** Exim information can be found at http://www.exim.org/ ***