Bug 48954 - Mail quota policy still referenced in manual and code but not existing UDM handler anymore
Mail quota policy still referenced in manual and code but not existing UDM ha...
Status: NEW
Product: UCS
Classification: Unclassified
Component: Mail
UCS 4.4
Other Linux
: P5 normal (vote)
: ---
Assigned To: Mail maintainers
Mail maintainers
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2019-03-11 16:44 CET by Florian Best
Modified: 2019-03-11 16:47 CET (History)
0 users

See Also:
What kind of report is it?: Development Internal
What type of bug is this?: ---
Who will be affected by this bug?: ---
How will those affected feel about the bug?: ---
User Pain:
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional): Cleanup
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Florian Best univentionstaff 2019-03-11 16:44:55 CET
With cyrus there exists a mail quota policy in UDM, which is still documented in UCS 4.3 but no UDM handler for it exists anymore.

git grep -e univentionMailQuota -e 'Mail quota'
base/univention-policy/lib/policy.c:»   »   »   »   »   /* bv_val is "umcPolicy" or "univentionMailQuota" or
base/univention-policy/lib/policy.c:»   »   »   »   »   »   !strcmp(vals[i]->bv_val, "univentionMailQuota") ||
doc/manual/mail-en.xml:»     <title>Mail quota</title>
doc/manual/mail-en.xml:»   »   »   The limit is specified in megabytes in the <guimenu>Mail quota</guimenu> field
mail/univention-mail-dovecot/82univention-mail-dovecot.inst:»   »   --set shortDescription="Mail quota (MB)" \
mail/univention-mail-dovecot/82univention-mail-dovecot.inst:»   »   --set longDescription="Mail quota for the user in megabytes (0=no quota)" \
mail/univention-mail-postfix/share/remove_mail_quota_policy:»   »   self.mail_quota_ldap_objs = self.lo.search('objectClass=univentionMailQuota')
mail/univention-mail-postfix/share/remove_mail_quota_policy:»   »   »   self.logger.info('        Quota: %s', attr['univentionMailQuotaMB'][0])
management/univention-ldap/schema/policy.schema:attributetype ( 1.3.6.1.4.1.10176.1000.22.1.1 NAME 'univentionMailQuotaMB'
management/univention-ldap/schema/policy.schema:attributetype ( 1.3.6.1.4.1.10176.1000.22.1.2 NAME 'univentionMailQuotaWarning'
management/univention-ldap/schema/policy.schema:objectclass ( 1.3.6.1.4.1.10176.1000.22.2.1 NAME 'univentionMailQuota'
management/univention-ldap/schema/policy.schema:»   DESC 'Mail quota configuration policy object'
management/univention-ldap/schema/policy.schema:»   MAY ( univentionMailQuotaMB $ univentionMailQuotaWarning ))

I think at least the documentation should remove this?