We have just migrated to exchange 2013 from exchange 2010 and incoming and outgoing email works fine from clients to the exchange server.
We have a database server which needs to send emails through our exchange server to an external email address. I have created a receive connector for the frontend transport role (as we have both roles installed on the same server and I have read that it is recommended to use the frontend role rather than the hub transport) and used the custom type. I have left the network adapter bindings as it and set the ip address of the database server in the remote network settings. Finally I have edited the security to allow anonymous users and through the exchange management shell run:
Get-ReceiveConnector "exchange2013\isamsemails" | Add-ADPermission -User "NT AUTHORITY\ANONYMOUS LOGON" -ExtendedRights "ms-Exch-SMTP-Accept-Any-Recipient"
where exchange 2013 is our server and isamsemails the connector. This processes correctly.
I am still unable to send messages from the database server to external addresses though. I get error 550 5.7.1 unable to relay in the logs. I can send emails internally but not externally. I have tried rebooting the server but still no joy.
Thanks in advance.