On Tue, 16 Apr 2002, Matt Bernstein wrote:
> Or is there either some magic option to the accept router along the lines
> of "new_recipient = $local_part@$domain", or to can I make the redirect
> router use a transport? I kind of want to accept and redirect at the same
> time.
Why don't you put the accept router first, with unseen, and then have
the redirect router second? Does that help?
The traditional "accept and redirect" is the same as "keep a copy in my
mailbox and forward another copy somewhere else", which you can of
course do with redirect:
data = $local_part@$domain, otherlocalpart@otherdomain
The way to make "redirect use a transport" is indeed to make it
redirect, and then use redirect_router to point it at an (otherwise
inaccessible) accept router that sends the address to the transport.
> Sorry for the confusing mail, and for bending Exim in strange ways!
You are not the only who bends Exim in strange ways.
--
Philip Hazel University of Cambridge Computing Service,
ph10@??? Cambridge, England. Phone: +44 1223 334714.