Re: [exim] copying all email to an address in a virtual doma…

Top Page
Delete this message
Reply to this message
Author: Tony Finch
Date:  
To: rgr
CC: exim-users
Subject: Re: [exim] copying all email to an address in a virtual domain
On Wed, 31 May 2006, Rob Ristroph wrote:

>         I have virtual domains set up with exim4.  I would like to
>         copy all email to a particular address to another address also,
>         as one would usually do with a .forward file.

>
>         I do have aliases files for each virtual domain.  Is there a
>         way to do this with aliases files ?  If the address is
>         a@??? and I want email also copied to b@???, should I
>         be able to do

>
>         a: a@???, |/opt/rt3/bin/rt-mailgate

>
>         without causing a loop ?


Yes. You need to set the pipe_transport router on the relevant router.

> I tried this and it didn't loop but also didn't seem to copy the email.


What error did you get? What did Exim's logs say about the message? Did
you try running in debugging mode to get more information about what Exim
was doing?

Tony.
--
<fanf@???> <dot@???> http://dotat.at/ ${sg{\N${sg{\
N\}{([^N]*)(.)(.)(.*)}{\$1\$3\$2\$1\$3\n\$2\$3\$4\$3\n\$3\$2\$4}}\
\N}{([^N]*)(.)(.)(.*)}{\$1\$3\$2\$1\$3\n\$2\$3\$4\$3\n\$3\$2\$4}}