Aaron
asked on
Database Mail Can't Send Externally Through Exchange 2010
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?
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?
check your from address and make sure it is from @yourdomain.com
ASKER
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".
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
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.