[Dovecot] Feature Request

Marc Perkel marc at perkel.com
Wed Oct 10 05:40:27 EEST 2012


On 10/9/2012 7:29 PM, Timo Sirainen wrote:
> On 10.10.2012, at 4.34, Marc Perkel wrote:
>
>> It would be handy (for me) if there were a userdb where a directory structure defined the db.
>>
>> userdb stat {
>>    mail_location=maildir:/fakedir/%d/%n:INBOX=/email/%d/%n:LAYOUT=fs
>> }
>>
>> userdb stat {
>>    mail_location=maildir:/email/%d/%n:INBOX=/email/%d/%n:LAYOUT=fs
>> }
>>
>> The idea being that if the first directory doesn't exist then it will try the second one.
> You could already implement this as userdb checkpassword script.

Can you give me an example?





More information about the dovecot mailing list