Did you try :- /^info_dom(\d+)@.*$/ info_dom${1}@dom${1}.com
using PCRE maps. On Thu, Sep 18, 2014 at 12:35 PM, Philip Rhoades <p...@pricom.com.au> wrote: > People, > > I've had a look at the rewrite stuff but I can't see that it is possible > to do what I want: > > For outgoing mail for users with names like: > > info_dom1@* > info_dom2@* > info_dom3@* > > I want their from/reply-to addresses to be rewritten as: > > info_d...@dom1.com > info_d...@dom2.com > info_d...@dom3.com > > - is this possible? > > Thanks, > > Phil. > > -- > Philip Rhoades > > GPO Box 3411 > Sydney NSW 2001 > Australia > E-mail: p...@pricom.com.au >