Re: [Exim] lookups with explicit keys

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