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

Pàgina inicial
Delete this message
Reply to this message
Autor: John Dalbec
Data:  
A: exim-users
Assumpte: Re: [Exim] Exim 4 and rewrite rules and LDAP

Philip Hazel wrote:
>
> 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.


Excellent! I hadn't realized those variables were defined in rewriting
rules. Must spend more time RingTFS. Bye-bye, $0.
Thanks,
John Dalbec