Let me preface this by saying I'm not an Exchange guru, I'm stumbling through this the best that I can and I'm stumped!!!
I have an exchange server at 10.0.0.6 - let's call it md-exchange2.internal-email.com
I have an IIS server with an SMTP Virtual Server at 10.0.0.16 - let's call it md-progress1.internal-email.com
I have an application on the IIS server that uses BLAT to send emails via SMTP to the Exchange server.
If I run "blat C:\test.txt -to user@internal-email.com" it works perfectly.
If I run "blat C:\test.txt -to user@outside-email.com" it fails. The blat program executes correctly. I ran it in debug mode and got:
When I check the mailbox of the admin@internal-email.com address I can see the undeliverable message. It reports the error as:
#< #5.7.1 smtp;550 5.7.1 Unable to relay> #SMTP#
I'm stumped as to why this is happening! I have two Receive Connectors in Exchange. One is for all IP addresses except 10.0.0.16 and the other one is exclusively for 10.0.0.16
The relay is set to allow anonymous users in the permissions tab and only TLS is enabled in the authentication tab.
The SMTP server's Outbound Security properties are set the same way.
Any suggestions would be GREATLY appreciated!!!
I have an exchange server at 10.0.0.6 - let's call it md-exchange2.internal-email.com
I have an IIS server with an SMTP Virtual Server at 10.0.0.16 - let's call it md-progress1.internal-email.com
I have an application on the IIS server that uses BLAT to send emails via SMTP to the Exchange server.
If I run "blat C:\test.txt -to user@internal-email.com" it works perfectly.
If I run "blat C:\test.txt -to user@outside-email.com" it fails. The blat program executes correctly. I ran it in debug mode and got:
Code:
C:\Users\bjohnson>blat C:\blat.txt -to user@outside-email.com -debug
Sending C:\blat.txt to user@outside-email.com
Login name is admin@internal-email.com
<<<getline<<< 220 MD-PROGRESS1.internal-email.com Microsoft ESMTP MAIL Service,Version: 7.0.6001.18000 ready at Wed, 14 Oct 2009 14:35:03 -0400
>>>putline>>> EHLO MD-PROGRESS1
<<<getline<<< 250-MD-PROGRESS1.internal-email.com Hello [10.0.0.16]
250-TURN
250-SIZE 2097152
250-ETRN
250-PIPELINING
250-DSN
250-ENHANCEDSTATUSCODES
250-8bitmime
250-BINARYMIME
250-CHUNKING
250-VRFY
250 OK
>>>putline>>> MAIL From:<admin@internal-email.com>
<<<getline<<< 250 2.1.0 cadmin@internal-email.com....Sender OK
>>>putline>>> RCPT To: <user@outside-email.com>
<<<getline<<< 250 2.1.5 user@outside-email.com
>>>putline>>> DATA
<<<getline<<< 354 Start mail input; end with <CRLF>.<CRLF>
<<<getline<<< 250 2.6.0 <MD-PROGRESS1IZS2TRq0000002a@MD-PROGRESS1.internal-email.com> Queued mail for delivery
>>>putline>>> QUIT
<<<getline<<< 221 2.0.0 MD-PROGRESS1.internal-email.com Service closing transmission channel
When I check the mailbox of the admin@internal-email.com address I can see the undeliverable message. It reports the error as:
#< #5.7.1 smtp;550 5.7.1 Unable to relay> #SMTP#
I'm stumped as to why this is happening! I have two Receive Connectors in Exchange. One is for all IP addresses except 10.0.0.16 and the other one is exclusively for 10.0.0.16
The relay is set to allow anonymous users in the permissions tab and only TLS is enabled in the authentication tab.
The SMTP server's Outbound Security properties are set the same way.
Any suggestions would be GREATLY appreciated!!!