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 <[EMAIL PROTECTED]>
> Subject: Re: [exim] Redirecting incoming mail
> To: Tony Finch <[EMAIL PROTECTED]>
> Cc: [email protected]
> X-Spam-Score: -2.5 (--)
> X-BeenThere: [email protected]
> 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 "[EMAIL PROTECTED]"
then
        deliver [EMAIL PROTECTED]
endif

Or am I missing the point altogether?

Steven.

-- 
 .''`.
: :'  :
`. `'`
  `-

-- 
## List details at http://www.exim.org/mailman/listinfo/exim-users 
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://www.exim.org/eximwiki/

Reply via email to