On Mon, 19 Aug 2002, Patrice Fournier wrote:
> > virtual_aliases:
> > driver = redirect
> > pipe_transport = special_pipe_transport
> > group = mail
> > user = mail
> > data = ${if exists{/usr/exim/accts/$domain}\
> > {\
> >
> > ${lookup{$local_part@$domain}lsearch*{/usr/exim/accts/$domain}}\
> > }\
> > {}}
>
> Doesn't "file = /usr/exim/accts/$domain" exist exactly for that "if
> exist{}" part of the condition or I misread the documentation?
You've misread the documentation. For a redirect router, you can specify
EITHER "file" (contains a redirection list) OR "data" (contains an
inline redirection list).
You could use require_files. It's almost the same, but interacts
differently with no_more.
--
Philip Hazel University of Cambridge Computing Service,
ph10@??? Cambridge, England. Phone: +44 1223 334714.