Re: [Exim] Address Re-writing

Top Page
Delete this message
Reply to this message
Author: Philip Hazel
Date:  
To: Phil White
CC: exim-users
Subject: Re: [Exim] Address Re-writing
On Mon, 25 Jun 2001, Phil White wrote:

> *@freeport.itmagic.ltd.uk ${lookup{$sender_address}lsearch*{/tmp/users}\
>         {$value}fail}@??? Ffrs

>
> where the /tmp/users file is
>    chemist@???:    localusername
>    *:                    postmaster

>
> This doesn't work, on 2 counts.
>
> 1) The $sender_address is not being found in the user file, and defaults to
> postmaster each time.
>
> 2) exim -brw root@??? correctly reports the rewritten
> headers (from, sender & reply). BUT, exim -d9 -bs ... gives the debug info


Please send me a complete -d9 output and complete rewrite rules. I can't
really follow what is going on from the snippet. (And I'm not entirely
sure I understand what you are trying to achieve...)

-- 
Philip Hazel            University of Cambridge Computing Service,
ph10@???      Cambridge, England. Phone: +44 1223 334714.