On Mon, May 23, 2005 at 07:06:55AM -0400, Randy Bush wrote:
> Date: Mon, 23 May 2005 07:06:55 -0400
> From: Randy Bush <randy@???>
> Subject: Re: [exim] Redirecting incoming mail
> To: Tony Finch <dot@???>
> Cc: exim-users@???
> X-Spam-Score: -2.5 (--)
> X-BeenThere: exim-users@???
> X-Mailman-Version: 2.1.5
>
> >>> How would one go about redirecting incoming mail from a certain user and
> ^^^^
> >>> deliver it to a different address to that originally specified?
> >>> Pointers to documentation gratefully received as I can't spot it :-(
> >> In the users .forward file.
> >> In the system filter with a deliver command.
> > Or in the system aliases file.
>
> nope. this guy wants to redirect mail FROM user X, not TO user X.
>
> randy
>
This works in both a system filter and a .forward:
if $header_From: contains "fromuser@???"
then
deliver someuser@???
endif
Or am I missing the point altogether?
Steven.
--
.''`.
: :' :
`. `'`
`-