Conversation
Contributor
Author
This comment was marked as duplicate.
This comment was marked as duplicate.
DavidePrincipi
left a comment
Member
There was a problem hiding this comment.
I prefer the approach of the original PR from Federico, which limits the change to Roundcube, where the issue arises, compared to NS7. Maybe the recent RC update ships different a default for $config['create_default_folders']?
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Dovecot only auto-created
JunkandTrashin theinboxnamespace.SentandDraftswere never created by the server, so they appeared only after the user sent a first message. When an IMAP client is configured before those folders exist, it can create duplicates (e.g. Italian Outlook createsPosta inviatainstead ofSent) or fail to copy sent messages.This declares
SentandDraftsas auto-created and subscribed mailboxes with theirspecial_useflags (RFC 6154), so they exist at first mailbox access regardless of the client or webmail (Roundcube, WebTop, SOGo, IMAP clients).Changes, mirroring the existing
DOVECOT_TRASH_FOLDERpattern:local.conf: two newmailboxblocks in theinboxnamespace,auto = subscribe,special_use = \Sent/\Drafts.reload-config:tmpl_sent_folder/tmpl_drafts_foldertemplate variables (defaultsSent/Drafts).build-images.sh:DOVECOT_SENT_FOLDER/DOVECOT_DRAFTS_FOLDERbuild-time defaults.README.md: documented both variables.Existing users get the folders at next mailbox access, no migration needed.
Ref: NethServer/dev#8104
This supersedes NethServer/ns8-roundcubemail#116, which only covered Roundcube at webmail login.