On 13 May 2016, at 13:30, Peer Heinlein <[email protected]> wrote: > > > There had been several discussions about the common problem, that > there's need for a autocreate-function that creates mailboxes ONLY for > new users that had never been logged in before. > > The reason: Existing users already HAVE "special folders" with localized > names. Creating "standard names" at every login will produce confusion, > because then they have multiple Sent-Folders and aren't be able to > delete them, because they'll always be recreated. > > I would love to have: > > 1) auto = init > Create the folders ONLY if the whole Storage-Folder (e.g.: ~/Maildir or > e.g. `/mdbox) is create (=creation of the INBOX itself). Don't create > any folder if the main INBOX already exists. Since there has to be a > hook to autoreate a non-existing INBOX it should be able to use this > action to also create the folders with auto=init at the same time.
You should be able to implement this with http://wiki2.dovecot.org/Plugins/Welcome
