RE: [Exim] rewrite rules

Etusivu
Poista viesti
Vastaa
Lähettäjä: Giuliano Gavazzi
Päiväys:  
Vastaanottaja: Thomas Kinghorn
Kopio: Exim-Users (E-mail)
Aihe: RE: [Exim] rewrite rules
At 10:53 +0200 2003/01/14, Thomas Kinghorn wrote:
>Tried that, for some reason, the lookup fails


I meant an lsearch rewrite:

*@* $1@${lookup{$2}lsearch{/usr/exim/virtual/virtual_domains}{$value}fail} hT

where virtual_domains is:

booksite.co.za                 booksite.jev.co.za
dispatch.co.za                 mail.dispatch.co.za


mind, this is probably wrong, inelegant and certainly not tested.


g