Create default folders at first user login - #116
Conversation
Added create_default_folders option to create all default folders, including Sent and Drafts, at first user login. Ref: NethServer/dev#8104
stephdl
left a comment
There was a problem hiding this comment.
Thanks for the fix. I have a doubt about scope before merging.
create_default_folders = true only acts on Roundcube login. It won't help the case described in the issue where an IMAP client (Outlook, mobile app) is configured before the user has ever opened Roundcube — the Sent/Drafts folders still won't exist at that point, so Italian Outlook would still create Posta inviata.
Two questions:
-
Do the other webmails on the platform (WebTop, SOGo) create these default folders at login too? If not, users on those webmails hit the same problem and this Roundcube-only fix doesn't cover them.
-
Shouldn't this rather live on the dovecot side (autocreate/autosubscribe at mailbox provisioning, in the mail module)? That would create the folders once, independently of which client or webmail touches the mailbox first, and cover every case the issue mentions.
The PR is a good incremental improvement for Roundcube users, but I'm not sure it fully closes the issue. What do you think?
|
Heads-up: I'm evaluating an alternative fix on the dovecot side in ns8-mail (NethServer/ns8-mail#275). It declares Let's decide which approach to keep before merging. I'll keep this PR open in the meantime. |
|
Hi Steph, WebTop creates all the default folders when you login for the first time. Obviously, a Dovecot solution it's better in my opinion, becuase there are lot of users that use only IMAP protocol without using webmail or WebTop. |
|
I may agree that a central solution is desirable, however I cannot evaluate the impact of a change to Dovecot configuration. Limiting the fix to RoundCube is more predictable, since it seems we are just applying the old default of this parameter. |
Added create_default_folders option to create all default folders, including Sent and Drafts, at first user login. Ref: NethServer/dev#8104