Forwading or relay of mail outside the mail server id is not taking place.

Hi,

Hi,

I implimented a mail system as follows in Sql server 2008R2-:
Profile name  ProfileDbMail
Ac name  AcDbMail
Email address(outgoing):
Dba@ourmailserver.com  (Not valid mail id in mail server)
Display :Databasemail from Binny
Reply email : Null
Server Name : ourmailserver.com
Port no :25
Ssl connection : Not Ticked
Annonymus Authentication enabled
I am using the above to send notifications thru an alert system in Sql server Agent through an operator when any of the job fails and when the last job succeeeds in the
maintenace plans running at night. My problem is that the database server is able to send mail internally that is it can
send a mail to all valid email id in our mail server. However it cannot send a mail to a
mail id of external exchange server like Yahoo.com or Gmail.com
The error shown in the logs of the databas email is as follows-:
Exception Message: Cannot send mails to mail server. (Mailbox unavailable.
The server response was: 5.7.1 Unable to relay).
What is the reason and how to overcome the problem?

How can we enable the mail relay in exchange server?

Thanking you in advance

Binny Mathew

July 22nd, 2015 5:19am

Hi Binny,

are you able to send mail outside at all (gmail,Hotmail,yahoo)?

What are the settings on your send connector?

Free Windows Admin Tool Kit Click here and download it now
July 22nd, 2015 5:40am

 I can send email from my account from our email server to all other outside email servers mail box. I am not able to send the email from our web server via our email server to the outside email address  (xxxxx@gmail.com , xxxxx@Hotmail.com).

please update

suresh

July 22nd, 2015 5:45am

but what is your send connector setting and have you enabled web server for relay on your Exchange?

What is setting on receive connector to?

Free Windows Admin Tool Kit Click here and download it now
July 22nd, 2015 7:22am

I shall get back to you once sureshmop is back as he is looking after the exchange. Thank you for your interest and taking time to help us out.

Biiny

July 22nd, 2015 7:48am

Hi Off2work,

     As suggested by you our exchange team have added a send connector and added the Ip of the database server and web server for relaying to the connector. The problem is solved and now we can send mail from the web server as well as from the database server outside to servers like yahoo and gmail. Thank you for your valuable advice. With regards

Binny.

Free Windows Admin Tool Kit Click here and download it now
July 24th, 2015 11:54am

glad i could help :)
July 24th, 2015 3:53pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics