A problem with exim -brw (testing re-writing rules) with version
2.054:
In our Exim configuration file, we have the following re-write
rule:
*@CS_DOM "${lookup{${local_part}}dbm{/cs/exim/db/nicknames}{$value }{${lookup{${local_part}:gecos}dbm{/cs/exim/db/csinfo}{$value }fail}}}\
<$local_part@$domain>" fw
In real life, i.e., when sending a message, this works OK (for
example, vadik@??? gets re-written as "Vadim Vygonets
<vadik@???>" (from /cs/exim/db/csinfo), and
postmaster@??? becomes "CS HUJI Postmaster
<postmaster@???>" (from /cs/exim/db/nicknames). But
when exim -brw is used for testing, I get the following results:
cs:~$ exim -brw vadik
from: Vadim Vygonets <vadik@???>
cs:~$ exim -brw postmaster
from: postmaster@???
A bug maybe?
Vadik.
--
It was state of the art, he said.
The art in this case was probably pottery.
-- Terry Pratchett and Neil Gaiman, "Good Omens"
--
*** Exim information can be found at
http://www.exim.org/ ***