Re: [Exim] question

Top Page
Delete this message
Reply to this message
Author: Patrice Fournier
Date:  
To: exim-users
Subject: Re: [Exim] question
Quoting Philip Hazel <ph10@???>:

> 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? And it's
easier to read:

virtual_aliases:
driver = redirect
pipe_transport = special_pipe_transport
group = mail
user = mail
file = /usr/exim/accts/$domain
data = ${lookup{$local_part@$domain}lsearch*{/usr/exim/accts/$domain}}


--
Patrice Fournier
pfournier@???