Re: [Exim] lookups with explicit keys

Página superior
Eliminar este mensaje
Responder a este mensaje
Autor: Philip Hazel
Fecha:  
A: Paul Makepeace
Cc: exim-users
Asunto: Re: [Exim] lookups with explicit keys
On Tue, 31 Jul 2001, Paul Makepeace wrote:

> So, I then tripped up in the directors section, naively attempting,
>
> driver = aliasfile
> file = ${lookup{_default_}cdb{VMAIL_DATA/forwarder/${domain}.cdb}{$value}fail}
>
> ..but found..
>
> driver = smartuser
> new_address = ${lookup{_default_}cdb{VMAIL_DATA/forwarder/${domain}.cdb}{$value}fail}
>
> ..worked.
>
> What's the rationale behind it working for user = but not file = ? I
> might be missing some basic thing here.


You have quoted identical lookups there - but "file=" needs a file name,
whereas "new_address=" needs an address. So I'm confused.

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