Re: Exim4 redirect question
On 28 Dec 2009, Alan Chandler wrote:
> Anthony Campbell wrote:
>
> Somthing like the following in the .forward file of the account
> which receives that e-mail
>
> # Exim Filter
> if error_message then finish endif
> if $h_to: contains "a-user@msn.com" then
> deliver a-differentuser@gmail.com
> finish
> endif
>
>
> I actually do something like this but also deliver it to the
> original account. In which case change the clause to
>
> if $h_to: contains "a-user@msn.com" then
> unseen deliver a-differentuser@gmail.com
> save "$home/Maildir/.MailtoAuser/"
> finish
> endif
>
>
> Also if you want to apply other rules - don't include the finish.
>
Thanks very much. I'll try that out.
Anthony
--
Anthony Campbell - ac@acampbell.org.uk
Microsoft-free zone - Using Debian GNU/Linux
http://www.acampbell.org.uk - sample my ebooks at
http://www.smashwords.com/profile/view/acampbell
Reply to: