[exim] Proper rewrite instruction

Top Page
Delete this message
Reply to this message
Author: schmerold2@gmail.com
Date:  
To: exim-users
Subject: [exim] Proper rewrite instruction
We are using Exim as a filter, with no local deliveries.

What is best way to rewrite the recipient address? I have two situations
1) I want everything that start with test to go to a specific email address:
    test*@??? -> joe@???
    test1@??? -> joe@???
    test74@??? -> joe@???


2) Client is changing their domain from domain2.com to domain3.com, so
    *@domain2.com -> *@domain3.com


I have been playing with begin rewrite, no joy, I can't even get one
address to forward

begin rewrite
         joe@??? joe@???


Thanks for your time.

--
John Schmerold
St Louis