Was wondering if someone could give some assistance before I run out of hair to pull out!
My DNN installation is running on Win 2008 R2 (IIS7.5) and is working perfectly - except for one thing!
The Server is also running Exchange Edge Server (which by default prohibits relaying). I have created a new receive connector bound to localhost (127.0.0.1) set to receive mail from localhost and the physical IP of the server itself.
This is how I created the connector:
New-ReceiveConnector -Name RelayInternal -usage Custom -Bindings '127.0.0.1:25' -fqdn webmailer.mydomain.com -RemoteIPRanges 127.0.0.1 -server mailservername -permissiongroups AnonymousUsers
Get-ReceiveConnector RelayInternal | Add-ADPermission -User "NT AUTHORITY\ANONYMOUS LOGON" -ExtendedRights "ms-Exch-SMTP-Accept-Any-Recipient"
I have set SMTP Server to 127.0.0.1, Anonymous and SSL disabled in DNN but it fails the tests with:
There has been an error trying to send the test email. The error is:
There is a problem with the configuration of your SMTP Server. Mail was not sent.
I have also tried setting SMTP to localhost and the FQDN and Physical IP of the server with no success. If I remote desktop to the server and telnet localhost 25 - I can relay fine as I would expect so the exchange side is working...