Univention Bugzilla – Full Text Bug Listing |
Summary: | dovecot.py listener ignores special case | ||
---|---|---|---|
Product: | UCS | Reporter: | Sönke Schwardt-Krummrich <schwardt> |
Component: | Mail - Dovecot | Assignee: | Daniel Tröder <troeder> |
Status: | CLOSED FIXED | QA Contact: | Sönke Schwardt-Krummrich <schwardt> |
Severity: | normal | ||
Priority: | P5 | CC: | walkenhorst |
Version: | UCS 4.0 | ||
Target Milestone: | --- | ||
Hardware: | Other | ||
OS: | Linux | ||
What kind of report is it?: | --- | 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): | ||
Max CVSS v3 score: | |||
Bug Depends on: | |||
Bug Blocks: | 34839 |
Description
Sönke Schwardt-Krummrich
2015-07-06 23:19:15 CEST
Good catch! Fixed in r61853 / 0.0.0-52. Found another corner case: oldMailPrimaryAddress=foo@univention.de newMailPrimaryAddress=foo@univention.de is_old_home_server=True is_new_home_server=False → in this case, the server is no longer responsible for the mailbox and dl.delete_email_account2() should have been called → current code: if oldMailPrimaryAddress and not newMailPrimaryAddress and is_old_home_server: → suggestion for corrected code: if oldMailPrimaryAddress and is_old_home_server and \ (not newMailPrimaryAddress or not is_new_home_server): Fix has been committed as: r61857 | Bug #34839: delete mail account in case of change of home server from us to another Tested both cases: 1) mailPrimaryAddress changed from foo@univention.de to foo2@univention.de mailHomeServer changed from "" to "slave22b.univention.de" 2) mailPrimaryAddress was set and left untouched mailHomeServer switched to a different server slave22c.univention.de → OK → VERIFIED |