Whoops my previous pronouncement was wrong.

I have re-read the question:-

> On Wed, 2010-12-22 at 11:58 +1300, Gregory Machin wrote:
> I'm trying to rewite the To:<adderss> for all email from
> [email protected] but the rules are not working.

Perhaps it is time to play with the SYSTEM FILTER.

if $h_From: contains [email protected]
        then 
        deliver [email protected]
        finish
        endif         

No re-writting of the To: address needed by Exim unless you really
insist although that is just 2 lines in the System Filter inserted
before the "finish" line.

        headers remove "To"
        headers add "To: [email protected]"


Paul.



-- 
## List details at http://lists.exim.org/mailman/listinfo/exim-users 
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/

Reply via email to