Re: [Exim] Exim + Courier IMAP

Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: Derek Broughton
Ημερομηνία:  
Προς: exim-users
Αντικείμενο: Re: [Exim] Exim + Courier IMAP
From: "Friso Kuipers" <fkuipers@???>

> On 28 Jan, Jaco van der Schyff wrote:
>
> > Just seems asif I am doing double work here..
> >
> > virtual_localuser:
> >   driver = smartuser
> >   domains = "lsearch;/etc/virtual/virtualdomains"
> >   condition = ${lookup {john@???} dbmnz
> > {/etc/virtual/userdb.dat}\
> >                {$value} }
> >   home_directory = "${if match{${extract{2}{|} {${lookup
> > {john@???}\
> >                     dbmnz {/etc/virtual/userdb.dat}\
> >                     {$value} }}}}{^mail=(.+)\\$}{$1}fail}"
> >   transport = vmail_delivery
> >   no_more

>
> I'm not very good at this, but maybe loose the condition? You have a
> 'fail' in the next line so in case of no match the entire director fails


It shouldn't cost anything (other than to make the director a little more
verbose). The last lookup is cached anyway.

derek