I am using exim 3.0 on a linux box.
The company I work for was just bought by another company. At
the moment I am rewriting our old addresses by looking them up in
a file. The new company has set up a dns lookup for the
addresses, so I presume I can use the new style dnsdb query-style
lookup to do this. However, I can only find dnsdb mentioned once
in the manual, and no directions on how to use it.
How do I use the dnsdb query-style lookup in a rewrite rule ?
Here is my current rewrite rule:
#--- replace old addresses with new addresses everywhere
#------ If not found in the lookup table, do not rewrite
*@old.com ${lookup{lc:$1}dbm{/usr/exim/newaddresses}{$value@???}fail}
--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Rick Ballard Phone : 902-481-4548
Software Kinetics Ltd. Fax : 902-468-3679
Dartmouth,NS,Canada Email : Rick.Ballard@???
Timezone: Atlantic AST(GMT-4)/ADT(GMT-3)
--
*** Exim information can be found at
http://www.exim.org/ ***