Re: [exim] address rewrite not working

Top Page
Delete this message
Reply to this message
Author: Always Learning
Date:  
To: exim-users
Subject: Re: [exim] address rewrite not working

On Wed, 2010-12-22 at 12:00 +0000, Nigel Metheringham wrote:


> Two definitive exim rules:-
>
> - Never do mail routing in a system filter


Why not ?

Exim has been designed, programmed and released to the world to do
exactly that ......

> if $h_to: contains mail@???
>        then 
>        deliver general.mailbox@???
>        finish
>        endif   


... please will you kindly enlighten me why it might be advantageous to
Exim admins to ignore the system filter facilities (which use a
noticeably different syntax from the rest of Exim).

Your suggestion ....

> redirect_deprecated:
> driver = redirect
> domains = akad.sun.ac.za
> data = ${quote_local_part:$local_part}@???


..... certainly is interesting. Would this forward mail for
user1@??? to new.box@??? ?

    divert_mail
        driver = redirect
        domains = old-domain.com
        local_part = user1
        data = new.box@???




Happy Christmas,

Paul.