Re: [exim] alias domain

Página superior
Eliminar este mensaje
Responder a este mensaje
Autor: Peter Bowyer
Fecha:  
A: exim-users
Asunto: Re: [exim] alias domain
On Thu, 09 Sep 2004 10:34:30 +0100, David Woodhouse <dwmw2@???> wrote:
> On Mon, 2004-09-06 at 18:47 +0100, Peter Bowyer wrote:
> > forwarddomainfromfile:
> > driver = redirect
> > domains = lsearch;/path/to/file
> > data = $local_part@${lookup {$domain} lsearch {/path/to/file}}
>
> The left hand side of that 'data' should be escaped, and I think the RHS
> can be expressed simply as '$domain_data' rather than repeating the
> lookup (although it would be cached so that's mostly cosmetic).
>
> So:
>    data = ${quote_local_part:$local_part}@$domain_data


Quite right on both counts - thanks for the correction.

Peter