We help IT Professionals succeed at work.

Check out our new AWS podcast with Certified Expert, Phil Phillips! Listen to "How to Execute a Seamless AWS Migration" on EE or on your favorite podcast platform. Listen Now

x

Database Mail Can't Send Externally Through Exchange 2010

Medium Priority
3,486 Views
Last Modified: 2012-05-11
This is the logged error shown in SQL when I try to send a test message from Database Mail:

The mail could not be sent to the recipients because of the mail server failure. (Sending Mail using Account 1 (2011-04-26T19:57:59). Exception Message: Cannot send mails to mail server. (Mailbox unavailable. The server response was: 5.7.1 Unable to relay).



This is the information from the receive connector I setup on the Exchange server:

Receive Connector:  SQL Connector
FQDN:  *servername*.domain.pvt
Use these local IP addresses:  "all available IPv4" Port 25
Receive mail from remote servers:  *IP address of SQL server
Authentication: Everything is checked except for "externally secured"
Permission Groups:  Everything is checked

Anything glaringly obvious I'm missing here?
Comment
Watch Question

check your from address and make sure it is from @yourdomain.com
AaronVice President, Operations

Author

Commented:
In SQL the E-mail Address and Reply-To address are both from our domain (resident on the Exchange server); the @username and @password fields are "NULL".
Commented:
Unlock this solution and get a sample of our free trial.
(No credit card required)
UNLOCK SOLUTION
AaronVice President, Operations

Author

Commented:
The link you sent was perfect, I had to modify the permissions according to the article (in Exchange; SQL was good) and then the test mail immediately came through.
Unlock the solution to this question.
Thanks for using Experts Exchange.

Please provide your email to receive a sample view!

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.