Re: [Exim] rewriting mail headers

Pàgina inicial
Delete this message
Reply to this message
Autor: Philip Hazel
Data:  
A: Paul Miles
CC: exim-users
Assumpte: 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.