none
antivirus blocking port 25

    Question

  •  

    Dear All,
     I am using sql server 2005.
    I have wrote an Stored procedure which send mail using sp_send_dbmail.
    My problem is on the server where antivirus is installed , is blocking port 25 which send mail.
    One solution is I manually remove the check from virus console . and execute the sp that sends mail.
    Is there any other better solution

    Thank you.

    Friday, August 08, 2008 6:02 AM

All replies

  • Your options are

    • Prevent the antivirus software from checking port 25
    • change your smtp mail server to a different port like 2525
    • you can email another sever with port 25 open and have that server forward mail to your server

     

    Here is an article on chaninging the smtp port

    http://support.microsoft.com/kb/274842

    Friday, August 08, 2008 5:09 PM