Re: [Exim] rewrite problem

Top Page
Delete this message
Reply to this message
Author: Philip Hazel
Date:  
To: Alexander Koch
CC: exim-users
Subject: Re: [Exim] rewrite problem
On Tue, 7 Mar 2000, Alexander Koch wrote:

> What options do I have to activate to actually see why a
> rewrite fails? I have the following rewrite rule:
>
> www-data@??? \
> "${local_part:$header_from:}@${domain:$header_from:}" Fr
>
> (to rewrite envelpe-from using user-provided from:)
>
> It fails quite often and I need a way to see why but


What evidence to you see for the failure?

My guess would be that that won't work on headers like

From: Philip Hazel <ph10@???>

because ${local_part and ${domain expect just to see user@domain.

And, though you don't often see it, it is legal for From: to contain
more than one address.

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