Re: [Exim] Exim 4 and rewrite rules and LDAP

Top Page
Delete this message
Reply to this message
Author: Philip Hazel
Date:  
To: John Dalbec
CC: exim-users
Subject: Re: [Exim] Exim 4 and rewrite rules and LDAP
On Tue, 20 Aug 2002, John Dalbec wrote:

> The "root" account is in /etc/passwd so it should be rewriting the
> address to $0 which (AFAIK) should be root@???. Is the lsearch
> lookup clobbering $0 perhaps?


Aha! That is a bug which I've recently fixed. This is from the ChangeLog
from the as yet unreleased 4.11:

7. The value of $0 in the replacement in a rewriting rule was being
corrupted, leading to incorrect results or error diagnostics.

The workaround is to use $local_part@$domain instead, of course.

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