I have a DG configured (support@example.com) that I need certain users to be able to send mail as. I have already run the cmdlet add-RecipientPermission to add the users to the SendAs permission:
Add-RecipientPermission -Identity support@example -Trustee user1@example.com -AccessRights SendAs
Add-RecipientPermission -Identity support@example -Trustee user2@example.com -AccessRights SendAs
And so on and so forth as needed.
Below are the permissions that are configured for the support DG.
PS C:\Windows\system32> Get-RecipientPermission -Identity support@example.com | Select Trustee, AccessControlType, AccessRights
Trustee AccessControlType AccessRights
------- ----------------- ------------
User 1 Allow {SendAs}
User 2 Allow {SendAs}
User 3 Allow {SendAs}
User 4 Allow {SendAs}
Where I am having the issue is, everything that I have read, says that you add another account, put the SendAs email address in the Email Address Field, but the user's email and password in the Username and Password fields. When I do this, it fails authentication, and will not accept the user's information.
If I manually configure it, using the same server settings as my main working account, when I try to send from it, I get error -17997
Any ideas?