Re: [Exim] domain list from files in a directory

Top Page
Delete this message
Reply to this message
Author: David Woodhouse
Date:  
To: Bill Moseley
CC: exim-users
Subject: Re: [Exim] domain list from files in a directory
On Wed, 2004-02-25 at 14:18 -0800, Bill Moseley wrote:
> But, I'd like to generate the local_domains list by looking up the file names
> in that CONFDIR/virtual directory. In other words, all files in the
> virtual directory would be added to the list of local_domains.
>
> Is there a way to do this? (Or perhaps a better approach all together?)


    domainlist local_domains = dsearch;CONFDIR/virtual


> Oh, I'd also like to set the "user" for the pipe transport to be the
> owner of the individual virtual alias file. Is that possible?


    user = ${extract {uid}{${stat:CONFDIR/virtual/$domain}}
    group = ${extract {gid}{${stat:CONFDIR/virtual/$domain}}


--
dwmw2