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

  • Question

  • 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

    Wednesday, July 22, 2015 9:17 AM

Answers

  • 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?


    Please mark as helpful if you find my contribution useful or as an answer if it does answer your question. That will encourage me - and others - to take time out to help you. Thank you! Off2work

    Wednesday, July 22, 2015 11:20 AM

All replies

  • Hi Binny,

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

    What are the settings on your send connector?


    Please mark as helpful if you find my contribution useful or as an answer if it does answer your question. That will encourage me - and others - to take time out to help you. Thank you! Off2work

    Wednesday, July 22, 2015 9:37 AM
  •  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

    Wednesday, July 22, 2015 9:43 AM
  • 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?


    Please mark as helpful if you find my contribution useful or as an answer if it does answer your question. That will encourage me - and others - to take time out to help you. Thank you! Off2work

    Wednesday, July 22, 2015 11:20 AM
  • 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

    Wednesday, July 22, 2015 11:46 AM
  • 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.

    Friday, July 24, 2015 3:52 PM
  • glad i could help :)

    Please mark as helpful if you find my contribution useful or as an answer if it does answer your question. That will encourage me - and others - to take time out to help you. Thank you! Off2work

    Friday, July 24, 2015 7:51 PM