IIS SMTP unable to relay for domain on local network.

Posted by MartinHN on Server Fault See other posts from Server Fault or by MartinHN
Published on 2011-01-05T10:34:38Z Indexed on 2011/01/05 10:55 UTC
Read the original article Hit count: 306

Filed under:
|
|

Hi

I have a network with the following servers:

EXCH01 - Exchange Server for @domain.com e-mails.
TEST-REP01 - Local reporting server. Have IIS SMTP installed and configured.

What happens on the TEST-REP01, is that I have a Windows Service that reads reports in a SQL server that is ready for delivery. All reports is sent one at a time, using the local SMTP server.

It works perfectly, unless the recipient e-mail address is [email protected] - the domain that the EXCH01 server manages.

I get the following error:

Mailbox unavailable. The server response was: 5.7.1 Unable to relay for [email protected]

What can I do to troubleshoot this further? I can't seem to find useful information in the SMTP log:

2011-01-05 03:01:38 192.168.8.168 TEST-REP01 SMTPSVC1 TEST-REP01 192.168.8.168 0 EHLO - +TEST-REP01 250 0 210 15 0 SMTP - - - -
2011-01-05 03:01:38 192.168.8.168 TEST-REP01 SMTPSVC1 TEST-REP01 192.168.8.168 0 MAIL - +FROM:<[email protected]> 250 0 44 31 0 SMTP - - - -
2011-01-05 03:01:38 192.168.8.168 TEST-REP01 SMTPSVC1 TEST-REP01 192.168.8.168 0 RCPT - +TO:<[email protected]> 550 0 50 28 0 SMTP - - - -
2011-01-05 03:01:38 192.168.8.168 TEST-REP01 SMTPSVC1 TEST-REP01 192.168.8.168 0 QUIT - TEST-REP01 240 0 50 28 0 SMTP - - - -
2011-01-05 03:01:38 192.168.8.168 TEST-REP01 SMTPSVC1 TEST-REP01 192.168.8.168 0 EHLO - +TEST-REP01 250 0 210 15 0 SMTP - - - -
2011-01-05 03:01:38 192.168.8.168 TEST-REP01 SMTPSVC1 TEST-REP01 192.168.8.168 0 MAIL - +FROM:<[email protected]> 250 0 44 31 0 SMTP - - - -
2011-01-05 03:01:38 192.168.8.168 TEST-REP01 SMTPSVC1 TEST-REP01 192.168.8.168 0 RCPT - +TO:<[email protected]> 550 0 50 28 0 SMTP - - - -
2011-01-05 03:01:38 192.168.8.168 TEST-REP01 SMTPSVC1 TEST-REP01 192.168.8.168 0 QUIT - TEST-REP01 240 0 50 28 0 SMTP - - - -

Relay access on the local IIS (TEST-REP01) are set to allow 127.0.0.1, TEST-REP01 and other servers such as TEST-WEB01.

DNS settings on the local network is not domain.com - but companyname-domain.local.

© Server Fault or respective owner

Related posts about email

Related posts about iis6