Univention Bugzilla – Bug 38498
Unify mail product specific UCRV names
Last modified: 2015-07-09 18:14:15 CEST
As Cyrus and Dovecot packages are mutually exclusive there is no need to keep separate UCRV for the same thing: "mail/cyrus/imap" and "mail/dovecot/imap" have the same meaning (start IMAP server) and could be "mail/imap". The same with "mail/cyrus/folder/spam" and "mail/dovecot/folder/spam" (folder name for spam mails) → "mail/folder/spam". The unified UCRVs description would be moved to univention-mail-server. Could the old UCRVs be deprecated? How could that be handled? Are there applications using these UCRVs? Idea: * Deprecated UCRVs are set to be read-only, with a note in the description. * When installing and a old UCRV is found, its value is copied into the new UCRV. * A "deprecation/migration/sync.py" script uses all specific and unified variables. Each time a unified variable is set, the old (product specific) one is set to the same value. If a old UCRV is set on the cmdline, the new one is also set and a deprecation msg is shown. Loops are no problem if 'set'ing takes only place if they differ.
Separate UCRVs allow us to add/remove functionality for both products separately.
We keep the old cyrus UCR variables for now and add "duplicates" for dovecot ==> OK
<http://errata.univention.de/ucs/4.0/237.html>