Univention Bugzilla – Bug 38461
Make IMAP special-use folders configurable in Dovecot
Last modified: 2015-07-09 18:12:42 CEST
Make auto-creation and auto-subscription of IMAP SPECIAL-USE folders configurable in Dovecot. By default create & subscribe only to \Junk with name "Spam". RFC 6154: \All \Archive \Drafts \Flagged \Junk \Sent \Trash
*** Bug 38476 has been marked as a duplicate of this bug. ***
Commit: 60737 Adds UCRVs: * mail/dovecot/mailboxes/special/* * mail/dovecot/mailboxes/auto/* When installing/updating the special-use tags are assigned to the following folders: * Drafts → \Drafts * Junk → \Junk * Spam → \Junk * Trash → \Trash * Sent → \Sent * 'Sent Messages' → \Sent By default no folders are autosubscribed. OX-integration can use this to autocreate+autosubscribe to: * Spam → \Junk (special-use tag is already set by default, but folder is not created and subscribed to) * "Gesendete Objekte" → \Sent by setting * mail/dovecot/mailboxes/special/Spam="\Junk" * "mail/dovecot/mailboxes/special/Gesendete Objekte"="\Sent" * mail/dovecot/mailboxes/auto/Spam=subscribe * "mail/dovecot/mailboxes/auto/Gesendete Objekte"=subscribe
r60821: auto create and subscribe to "Ham" and "Spam" folders in default installation
Added here, because it is part of the new code: if UCR variable mail/dovecot/folder/{spam,ham} is set to the empty string, funny things may happen → in cyrus the value "none" disables the spam folder. I think, that the empty value (ucr set mail/dovecot/folder/="" → variable is not unset!) should also disable the spam/ham folder.
Commit 61405: * If the UCRVs are unset or set to "none", no directory will be created. But if they are set, users will automatically be subscribed to them, unless mail/dovecot/mailboxes/auto/<folder>=none. * mail/dovecot/folder/{spam,ham} are now set in postinst: mail/dovecot/folder/ham?Ham mail/dovecot/folder/spam?Spam
Commit 61429 adds more descriptive text for the UCRVs.
(In reply to Daniel Tröder from comment #5) > Commit 61405: > * If the UCRVs are unset or set to "none", no directory will be created. But > if they are set, users will automatically be subscribed to them, unless > mail/dovecot/mailboxes/auto/<folder>=none. > * mail/dovecot/folder/{spam,ham} are now set in postinst: > mail/dovecot/folder/ham?Ham mail/dovecot/folder/spam?Spam → REOPEN → please do not use sys.exit() in UCR templates, otherwise the UCR process will not work like expected
(In reply to Sönke Schwardt-Krummrich from comment #7) > → REOPEN → please do not use sys.exit() in UCR templates, otherwise the UCR > process will not work like expected fixed in 61657 / 0.0.0-39
OK
Made some fixes in SVN: r61677 | Bug #38461: updated UCR variable descriptions
<http://errata.univention.de/ucs/4.0/237.html>