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.
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.