Is there an LDAP command command that:
- can change the relation between a user and her primary email address
- assign other email addresses as secondary
on Yosemite OS X Server?
Summary:
Particular Group Members are excluded from List Server distribution
This happens when a User is created with an email address on a virtual domain rather than the server’s domain.
Even when the user is subsequently given an email address on the server’s domain, the List server will not send the intended recipient an email message.
For example: take two users:
iainadmin@misfits-server.net
was only given an email address on misfits-server.net
some time after he was given the initial webmaster@misfitstheatre.com
misfitstheatre.com
is a virtual domain served by leo.misfits-server.net
It may be quite reasonable to limit Group email lists to users with local domain names except there is no mandating of such a requirement by the Server App in either Mavericks or Yosemite.
In Mavericks you had to overtype the email address that Server App suggested (additional email addresses could be added in the advanced user options).
In Yosemite an administrator adding the new User can just remove any email address from the comprehensive drop-down list of suggested username X (virtual) domain name combinations - a nice feature.
Suggestion:
Yes, it’s a nice feature if its implemented in some way to ensure that the [username X Server domain name] was also allocated as a minimum requirement. In other words: A new user can have any (virtual) email address she wants so long as she always have a server-local email address too. Either that or change the assumption of List Server that it will behave as a traditional MailMan serving users on one machine only.
Question:
Can we use LDAP to remedy this after the act -- or do we need to re-add the user ... a problem if they've been using their email for any length of time already.
Surmise:
Presumably List Server is using an LDAP search that does not look hard enough for a User’s email address with alocal domain where such is not the User’d primary email address (I assume that LDAP has such a concept of primary and other email addresses and that Server is not just relying upon postfix/virtual_users or whatever?
Steps to Reproduce:
Yosemite Server: when creating a new User: remove the suggested email whose domain is that of the Server itself. (i.e. not a virtual domain). Leave other suggested email addresses or type in your own. Give that User an email address on the Server's domain later if you like - it doesn't resolve the issue.
Expected Results:
Server App should either insist that the "local" address (the one ending with the Server's domain) can not be deleted OR List Server creates a local alias (not recommended)
Actual Results:
email messages sent to the Group to which that User belongs will not reach that User
Version:
Server 4.0.3 (Build 14S350)
Apple bug raised: 19402957