Troubleshooting email Relay Issues on Exchange Server:
If you encounter problems sending emails outside your domain, your Exchange server may lack the proper setup for relaying emails. Below are straightforward steps to add a connector allowing email relaying outside your organization:
-
Create a New Receive Connector:
- Name it as desired (e.g., TEST) and choose "Custom" as the intended use.
-
Local Network Settings:
- Keep it as is, allowing it to listen on all local IPs on port 25.
-
Remote Network Settings:
- Clear 0.0.0.0-255.255.255.255 and add the IP address of the remote server needing relaying permissions.
-
Connector Properties:
- Once created, access the properties of this connector, go to the "Permission Groups" tab, and add "Anonymous Users."
-
Cmdlet for Anonymous Relay:
- Execute the following cmdlet to permit anonymous users to relay via this connector:
Get-ReceiveConnector “TEST” | Add-ADPermission -User “NT AUTHORITY\ANONYMOUS LOGON” -ExtendedRights “Ms-Exch-SMTP-Accept-Any-Recipient”
This cmdlet fetches the receive connector, adds a permission for Anonymous Logon in Active Directory, and assigns the Ms-Exch-SMTP-Accept-Any-Recipient permission for that group on the connector.
- Execute the following cmdlet to permit anonymous users to relay via this connector:
Comments
0 comments
Please sign in to leave a comment.