Bug 38724 - The domain part of the primary mail address is not in list of configured mail domains
The domain part of the primary mail address is not in list of configured mail...
Status: RESOLVED WONTFIX
Product: UCS
Classification: Unclassified
Component: UMC - Users
UCS 4.0
Other Linux
: P5 normal (vote)
: UCS 4.0-x
Assigned To: UMC maintainers
:
: 40999 (view as bug list)
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2015-06-18 10:59 CEST by Stefan Gohmann
Modified: 2021-12-03 03:53 CET (History)
4 users (show)

See Also:
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:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Stefan Gohmann univentionstaff 2015-06-18 10:59:00 CEST
Currently, if you try to add an user with an email address which is not added as mail domain, you receive the following notification:

The LDAP object could not be saved: The domain part of the primary mail address is not in list of configured mail domains: xxx@yyy.zz

You have now several options what to do. If you don't want to host the domain, you can overwrite the syntax in this way:

ucr set directory/manager/web/modules/users/user/properties/mailPrimaryAddress/syntax=string

I think we should give the user more suggestions what and how to do. Maybe it is also possible to add a warning and to continue, or we could ask if the mail domain should be created if it doesn't exist but in this case we should explain the result.
Comment 1 Stefan Gohmann univentionstaff 2016-06-02 16:47:56 CEST
*** Bug 40999 has been marked as a duplicate of this bug. ***
Comment 2 Stefan Gohmann univentionstaff 2019-01-03 07:17:29 CET
This issue has been filled against UCS 4.0. The maintenance with bug and security fixes for UCS 4.0 has ended on 31st of May 2016.

Customers still on UCS 4.0 are encouraged to update to UCS 4.3. Please contact
your partner or Univention for any questions.

If this issue still occurs in newer UCS versions, please use "Clone this bug" or simply reopen the issue. In this case please provide detailed information on how this issue is affecting you.
Comment 3 Telirand 2021-12-03 03:51:09 CET
this is STILL in teh latest 5.0 version as of todaty.

It is a massive problem.
specifically because when it happens, the users cannot sync.
so if you are doing a join, you are stuck with random users that will not sync to the new version 5.0

worse if you were to do a domain takeover, it is likely to screw that up as well
Comment 4 Telirand 2021-12-03 03:53:38 CET
oh...
and 
ucr set directory/manager/web/modules/users/user/properties/mailPrimaryAddress/syntax=string

will not clean up the errors in the sync once they occured.