Sending external email via Exchange Server

We’ve been adding the ability for our applications to send email to email addresses outside the organisation, and had issues where the message would be sent to addresses inside the organisation without issue, but was never received outside the organisation.

It turns out that this behaviour is by design – Exchange Server won’t send relay email outside your organisation to prevent spamming. We needed to create a Receive Connector.

If an application or service needs to send email externally, you may need to add a Receive Connector.

  1. Connect to the Exchange Server.
  2. Select Exchange Management Console -> Server Configuration -> Hub Transport
  3. Click on Create new Receive Connector.
  4. Enter a descriptive name for the connector. Leave the intended user as Custom.
  5. Leave the local network settings at the default values.
  6. Enter the FQDN (Fully Qualified Domain Name) of the Exchange server where specified (eg mail.yourdomain.com).
  7. Remove the existing Remote Network settings and click Add.
  8. Enter the IP address of the computer attempting to send email.
  9. Click the New button to finish creating the connector.
  10. Open the properties of the new connector.
  11. Click on the Authentication tab and deselect all security mechanisms.
  12. Click on Permission Groups and select Anonymous Users.
  13. Click OK.
  14. Open the Exchange Management Shell.
  15. Enter the command:

Source:

How to Configure a Relay Connector for Exchange Server 2010

Leave a Reply

Your email address will not be published. Required fields are marked *