Re: [exim] Adding a per-recipient message header

Top Page
Delete this message
Reply to this message
Author: Mike Cardwell
Date:  
To: exim-users
Subject: Re: [exim] Adding a per-recipient message header
* on the Sat, Oct 14, 2006 at 05:02:48PM -0700, SeattleServer.com wrote:

>> What if $local_part contains an '=' ? I guess it needs escaping
>> somehow...
> Ack. That is a nasty little issue...
>
> I think I can get away with blocking any recipient with an '=' in it, but I'd
> love to know a more correct solution...


Or, use an md5sum:

set acl_m4 = $acl_m4\n${md5:$local_part@$domain}=UNIQUE_ID

${extract{${md5:$local_part@$domain}}{$acl_m4}}

Mike