Re: [Exim] domain missing in rewrite key string "$1}dbm{/etc…

Góra strony
Delete this message
Reply to this message
Autor: Andreas J Mueller
Data:  
Dla: Jon Bendtsen
CC: exim-users
Temat: Re: [Exim] domain missing in rewrite key string "$1}dbm{/etc/exim/user2email}{$value}fail}" in line 286
Hi Jon!

Thursday, May 13, 2004, 10:23:07 AM, you wrote:
>>         headers_rewrite = *@laerdal.dk
>> ${lookup{${lc::$1}}dbm{/etc/exim/user2email}{$value}fail}@??? f
>>          ^^^^^^^^^


> sorry, it still didnt work :( the localpart is not replaced with
> something else


How did you create the DBM file? If the keys do not contain a
terminating null byte, you have to use "dbmnz" for lookup. That may be
the case, if you wrote $users{'jberndtsen'} = "jon.berndtsen" in Perl.

In a previous post, you wrote:
> user2email contains one line
> jbendtsen: jon.bendtsen


If user2email is a plain text file and has not been created by any DBM
utility, please use "lsearch" lookups, not "dbm[nz]".

Andy