autocreate ONLY for new Users

plataleas plataleas at gmail.com
Wed Mar 15 07:28:42 UTC 2017


thanks for the feedback!

Userdb would be an option, however we would need to extend our LDAP
Schema with an additional "autocreate flag". Modifying the LDAP import
scripts, this is quite a task. Another option we were thinking of is
creating the special folders by a script right after user creation.

By far the best and easiest solution would be a flag to auto-create the
special folders ONLY on first login.

Is there any chance to get this feature?

Thanks a lot!


On 03/15/2017 07:38 AM, Steffen Kaiser wrote:
> On Tue, 14 Mar 2017, plataleas wrote:
>
> > We are currently migrating accounts to Dovecot. The existing accounts do
> > have special folders with different names. (i.e. sent, sent-mail)
>
> > The autocreate-function of "special folders" is useful. However we need
> > this feature ONLY for new users. The existing accounts have a mapping
> > for their own "special folders".
>
> > Did someone manage to implement this ? Are there workarounds?
>
> Workaround might be the thread "Auto create & subscribe folder from
> Userdb".
>
> Configure Dovecot to autocreate / autosubscribe and configure the
> userdb of existing users to override auto with no .
>
> You should test however, if some mail clients get confused with the
> new special use folders. When I switched them on several years ago, I
> had no complains about this. So, I guess, this "advice" (special use
> tag) is taken into account during account creation only.
>
> I'm not sure if you can override "special_use = \Sent", too.
>
> -- Steffen Kaiser



More information about the dovecot mailing list