Re: [exim] Rewrite FROM address

Página Principal
Apagar esta mensagem
Responder a esta mensagem
Autor: Phil Pennock
Data:  
Para: Chris Edwards
CC: exim-users@exim.org
Assunto: Re: [exim] Rewrite FROM address
On 2008-06-24 at 13:13 +0100, Chris Edwards wrote:
> The (untested) transport Phil suggested looked like (modulo line wraps):
>
> |   max_rcpt = 1
> |   headers_rewrite = *@* 
> |    ${lookup{$local_part@$domain}lsearch{/etc/mail/subaddress-maps/$1@$2}{$value}fail} f


Plus the line you quoted in the mail further down:
In the header rewrite, use $1 as originally stated.

So yes, that $local_part, in the headers_rewrite, is a bug, and use $1
instead of $local_part.

-Phil