Bug 53931 - ucsschool.lib creates mail domain object automatically
ucsschool.lib creates mail domain object automatically
Status: CLOSED FIXED
Product: UCS@school
Classification: Unclassified
Component: Ucsschool-lib
UCS@school 5.0
Other Linux
: P5 normal (vote)
: UCS@school 5.0 v1
Assigned To: Tobias Wenzel
Daniel Tröder
:
Depends on: 27892 34918
Blocks: 54059
  Show dependency treegraph
 
Reported: 2021-10-18 10:37 CEST by Daniel Tröder
Modified: 2021-11-29 17:19 CET (History)
8 users (show)

See Also:
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?: 2: Will only affect a few installed domains
How will those affected feel about the bug?: 2: A Pain – users won’t like this once they notice it
User Pain: 0.114
Enterprise Customer affected?:
School Customer affected?: Yes
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional): Usability
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Daniel Tröder univentionstaff 2021-10-18 10:37:05 CEST
+++ This bug was initially created as a clone of Bug #34918 +++

At least the CSV import creates a mail domain object automatically if a user with an unknown domain part within its email address is created.
This can lead to severe problems in mail routing. The automatic creation of mail domain objects should be disabled for the CSV import and (if also affected) in the schoolusers module.

--------------------------------------------------------

Bug #27892 introduced the UCRV ucsschool/import/generate/mail/domain to automatically creates mail domain objects, when a user is created with an email address that uses it. The default was set to "yes".

IMHO this is not desirable. A typo in an email address does not lead to an error that the user can see, but instead to a bad email domain in the UCS domain, leading to errors in the mail system much later. This would mean, that for example emails to gmail.com or other public email services is not sent anymore.

The default should be changed to "no" for new hosts in UCS@school 5.0.
Comment 2 Tobias Wenzel univentionstaff 2021-11-09 15:54:58 CET
creating users with unknown domain parts within email addresses does not create new mail domains anymore (if ucr was not changed)


[twenzel/5.0/53931_mail_domain_default] c46108611 Bug 53931: new default value for ucr-v
Comment 3 Tobias Wenzel univentionstaff 2021-11-10 08:24:57 CET
I also added a section to the release notes in  twenzel/5.0/53481_release_notes
Comment 4 Daniel Tröder univentionstaff 2021-11-10 16:56:47 CET
Thank you. Please merge to main and build.
Comment 5 Tobias Wenzel univentionstaff 2021-11-10 17:21:58 CET
Thanks for the QA!

[5.0] 42df37851 Bug #53931: changelog
[5.0] 7b9edeb6b Bug #53931: new default value for ucr-v


Package: ucs-school-import
Version: 18.0.10A~5.0.0.202111101720
Branch: ucs_5.0-0
Scope: ucs-school-5.0
Comment 6 Daniel Tröder univentionstaff 2021-11-11 10:44:08 CET
Works as intended, merge and build OK.
Comment 7 Jürn Brodersen univentionstaff 2021-11-29 17:19:46 CET
UCS@school 5.0 v1 has been released.

https://docs.software-univention.de/release-notes-ucsschool-5.0v1-de.html

If this error occurs again, please clone this bug.