Re: [Exim] rewriting mail headers

Página Principal
Apagar esta mensagem
Responder a esta mensagem
Autor: Philip Hazel
Data:  
Para: Paul Miles
CC: exim-users
Assunto: 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.