1

I have a Microsoft Exchange server and I have a RedHat server with some software on it set to relay mail out through the exchange.

The Exchange server has a receive connector set up with the internal IP of the RedHat server, yet when mail relay is attempted, nothing seems to be happening.

after a short period of time I get the error...

Mail message rejected by server - Mail server rejected recipient email address 'myemailaddress@myexternaldomain.com'

If the email address that the mail is being relayed to exists on the exchange server (ie an internal mail) then delivery is successful.

Can anyone point me in the right direction for what might be blocking the delivery to external addresses for the RedHat server?

0

So i managed to find the answer. Having the IP's set in the scope of the receive connector and 'Anonymous users' selected under security wasn't enough. It needed the 'MS-Exch-SMTP-Accept-Any-Recipient' permission, which is added via the shell like so...

 Get-ReceiveConnector "IntSMTPRelay" | Add-ADPermission -User 'NT AUTHORITY\Anonymous Logon' -ExtendedRights MS-Exch-SMTP-Accept-Any-Recipient

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.