Re: [exim] address rewrite not working

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Always Learning
Dátum:  
Címzett: exim-users
CC: gdm
Tárgy: Re: [exim] address rewrite not working

Whoops my previous pronouncement was wrong.

I have re-read the question:-

> On Wed, 2010-12-22 at 11:58 +1300, Gregory Machin wrote:
> I'm trying to rewite the To:<adderss> for all email from
> test@??? but the rules are not working.


Perhaps it is time to play with the SYSTEM FILTER.

if $h_From: contains the.odd.sender@???
    then 
    deliver general.mailbox@???
    finish
    endif         


No re-writting of the To: address needed by Exim unless you really
insist although that is just 2 lines in the System Filter inserted
before the "finish" line.

    headers remove "To"
    headers add "To: general.mailbox@???"



Paul.