Search code examples
emailexchange-serverexchange-server-2010

Make a distribution list look at the mail attribute in ADUC


Does anybody know if there is a way to make a distribution group (static or dynamic) look at the mail attribute in ADUC and send to that email address? For example, in my organization, we have people have mailboxes that end with "@subdomain.domain.com" and others who have @domain.com, both of which are written to the mail attribute in ADUC. Also, I don't manage domain.com at all and don't have permissions to.

The main part of my question is for a user who is not mail-enabled, can we make a distribution group that works for that person based on the mail attribute in ADUC. Any help would be appreciated, thanks.


Solution

  • So I've found that what I'm looking for is the cmdlet "Enable-MailUser", which is different than creating a mail contact, as noted here https://community.office365.com/en-us/f/613/t/199455 and the reason this works for me better than making a mail contact is because mail users can be linked directly to the AD object as opposed to making a mail contact.