Bug 44948

Summary: Mail delivery for cyrus shared folders is broken
Product: UCS Reporter: Sönke Schwardt-Krummrich <schwardt>
Component: MailAssignee: Sönke Schwardt-Krummrich <schwardt>
Status: CLOSED FIXED QA Contact: Erik Damrose <damrose>
Severity: enhancement    
Priority: P5 CC: damrose
Version: UCS 4.2   
Target Milestone: UCS 4.2-1-errata   
Hardware: Other   
OS: Linux   
What kind of report is it?: Bug Report What type of bug is this?: 5: Major Usability: Impairs usability in key scenarios
Who will be affected by this bug?: 3: Will affect average number of installed domains How will those affected feel about the bug?: 4: A User would return the product
User Pain: 0.343 Enterprise Customer affected?: Yes
School Customer affected?: ISV affected?: Yes
Waiting Support: Flags outvoted (downgraded) after PO Review:
Ticket number: 2017070421000383 Bug group (optional): External feedback
Max CVSS v3 score:
Bug Depends on: 42249    
Bug Blocks: 38672, 44705, 44949    

Description Sönke Schwardt-Krummrich univentionstaff 2017-07-06 16:02:56 CEST
Unfortunately due to bug 42249 there is a regression regarding mail delivery to shared folder in Cyrus.

The mailPrimaryAddress of the shared folder is not rewritten within postfix to the cyrus LMTP address.
Comment 1 Sönke Schwardt-Krummrich univentionstaff 2017-07-06 17:37:10 CEST
Cause of the regression:
Address rewriting via virtual_mailbox_maps is only performed if the delivery
program 'virtual' is in use. Other delivery programs will no rewrite the
addresses. In bug 42249 the address rewriting was splitted into
virtual_alias_maps and virtual_mailbox_maps. While the latter one was (mostly) a no-op rewriting from mailPrimaryAddress to mailPrimaryAddress.

Unfortunately the rewriting for cyrus shared folders from mailPrimaryAddress to 
univentionMailSharedFolderDeliveryAddress was completely moved to virtual_mailbox_maps and was therefore no longer performed.

univention-mail-postfix (11.0.1-15):
r80933 | Bug #44948: fixed regression in delivery of mails to cyrus shared folders

univention-mail-postfix.yaml:
r80935 | Bug #44948: added advisory
Comment 2 Erik Damrose univentionstaff 2017-07-10 13:35:57 CEST
With u-mail-postfix-ox version 11.0.1-14A~4.2.0.201706191335: to=<myshared@ucs.local>

OK: With u-mail-postfix-ox 11.0.1-15A~4.2.0.201707061650: to=<univentioninternalpostuser+shared/myshared@ucs.local

OK~: yaml, fixed in r80998
Verified
Comment 3 Janek Walkenhorst univentionstaff 2017-07-12 16:49:30 CEST
<http://errata.software-univention.de/ucs/4.2/89.html>