Re: [Exim] rewriting mail headers

Top Pagina
Delete this message
Reply to this message
Auteur: Philip Hazel
Datum:  
Aan: Paul Miles
CC: exim-users
Onderwerp: Re: [Exim] rewriting mail headers
On Thu, 7 Dec 2000, Paul Miles wrote:

> *@atlantic-platinum.com         $1@??? Tbc

>
> What I would like to do is move these rewritting rules into a seperate text
> file and access it something like :
>
> *@lsearch;/usr/exim/etc/rewrite.config


If you want the whole rule to be done by lookup, you need something like

*@* ${lookup{$domain}lsearch{/usr/whatever}{$local_part@$value}fail} Tbc

where the file contains lines like

atlantic-platinum.com atlanticplatinum.demon.co.uk

-- 
Philip Hazel            University of Cambridge Computing Service,
ph10@???      Cambridge, England. Phone: +44 1223 334714.