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 '[email protected]'

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?

1 Answer 1

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

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .