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