Database Mail - Error in sending mail (Help!!)

  • Does anyone know how to resolve the following. When attempting to send a test message after configuring database mail, I get this message shouwn in the log:

    The mail could not be sent to the recipients because of the mail server failure. (Sending Mail using Account 1 (2008-03-28T12:25:42). Exception Message: Cannot send mails to mail server. (Transaction failed. The server response was: SPAM-Relay detected).

    Any ideas

  • Looks like you have a problem at your mail server - or you have some kind of anti-virus or spam killer installed somewhere.

    Check this article to make sure you have relay on the smtp server set up correctly. http://support.microsoft.com/kb/304897.

    But from the error message it looks like anti-virus might be blocking port 25.

  • Thanks for info, sadly port 25 appears unblock and smtp test don't show anything. :crying:

  • I'm getting all the right server/smtp responses from the tests. This has got me stumped. Anyone out there have any other suggestions? :crying:

  • I'm getting the same error too - did you find a solution?

  • No. still an issue 🙁

    Forced to use smtp mail temporarily.

  • Thanks for replying - if we get a fix, I'll post it here

  • The fix was to add the IP of the SQL Server to a 'Hub Relay Service'. I don't know exactly where that sits (between SQL and Exchange or the Exchange Server itself??) but hopefully your mail server people will know your set-up.

    As you can gather I work in a big organization and this info is second hand but the problem is definitely fixed.

    Hope this helps.

Viewing 8 posts - 1 through 7 (of 7 total)

You must be logged in to reply to this topic. Login to reply