all groups > iis smtp nntp > december 2005 >
You're in the

iis smtp nntp

group:

IIS SMTP server - won't send to our mail server


IIS SMTP server - won't send to our mail server David Thielen
12/28/2005 8:14:06 PM
iis smtp nntp:
Hi;

I am testing using the IIS SMTP server for when my web app
(java-based, not asp) sends an email. The java code to send the mail
reports success (and returned an error the first time until I allowed
a relay from my test system).

Note: In this case I am sending from my workstation (running IIS to
test) to the SMTP server on the web server which is sending email to
me - where our mail server is exchange on a second server. All 3 boxes
are on the same subnet and behind the firewall. One thing that might
be an issue, the web server (SMTP box) is our external DNS server so
it will probably get the external IP address of our mail (exchange)
server. And the firewall won't allow a connection that goes out and
loops back in. Could this be the issue?

The log shows the following (the IP address is my workstation, where I
am running the java app on IIS from):
21:13:22 192.168.200.129 EHLO - 250
21:13:22 192.168.200.129 MAIL - 250
21:13:22 192.168.200.129 RCPT - 250
21:13:22 192.168.200.129 RCPT - 250
21:13:22 192.168.200.129 DATA - 250
21:13:22 192.168.200.129 QUIT - 240


When I ran the test, I first had two files in
c:\InetPub\mailroot\Queue
(there is a To: and a BCC:). Then after about a minute there were 6
files in
the Badmail directory.

The .BDR file is:
Unable to deliver this message because the follow error was
encountered:
"This message is a delivery status notification that cannot be
delivered.".

The specific error code was 0xC00402C7.

The message sender was <>.

The message was intended for the following recipients.
order@windward.net

Any ideas?

--
thanks - dave

ps - just sent to an email address outside and it worked fine. So...
how can I set this up to send to internal email addresses too? We
always BCC these emails to an internal list so this is a critical
need.


david@at-at-at@windward.dot.dot.net
Windward Reports -- http://www.WindwardReports.com
Re: IIS SMTP server - won't send to our mail server David Thielen
1/3/2006 7:39:13 PM
Asking again.

thanks - dave


On Wed, 28 Dec 2005 20:14:06 -0700, David Thielen <david@windward.net>
[quoted text, click to view]


david@at-at-at@windward.dot.dot.net
Windward Reports -- http://www.WindwardReports.com
Re: IIS SMTP server - won't send to our mail server jeff.nospam NO[at]SPAM zina.com
1/4/2006 4:37:36 AM

Check SMTP log entries. Tell us what OS versions. Make sure you have
valid sender and destination addresses, and that the system can
resolve the MX record for the destination domain.

Jeff

On Tue, 03 Jan 2006 19:39:13 -0700, David Thielen <david@windward.net>
[quoted text, click to view]
Re: IIS SMTP server - won't send to our mail server David Thielen
1/4/2006 11:23:00 AM
Hi;

The log is below. The O/S is Windows 2003 with all the latest service
packs. The MX record is good because we get email fine from the rest
of the world.

However... the MX record is for the external IP address of the mail
server, not the internal one (we use NAT on our firewall). And the
webserver box is also our external DNS box.

??? - thanks - dave


On Wed, 04 Jan 2006 04:37:36 GMT, jeff.nospam@zina.com (Jeff Cochran)
[quoted text, click to view]


david@at-at-at@windward.dot.dot.net
Windward Reports -- http://www.WindwardReports.com
Re: IIS SMTP server - won't send to our mail server jeff.nospam NO[at]SPAM zina.com
1/6/2006 3:33:13 AM
On Wed, 04 Jan 2006 11:23:00 -0700, David Thielen <david@windward.net>
[quoted text, click to view]

Are you sening to yourself? The log is only for your workstationa nd
shows the mail moving fine. The MX record is fr the destination
server, if it's yours, then there shouldn't be an issue because the
mail is going from your system to your system, there's no transfer.

[quoted text, click to view]

NSLOOKUP will tell you if the destination address in the message can
be resolved correctly. Have you tested your SMTP server outside of
the app you wrote? Do you have a valis message being produced by your
app? Print the message and see.

Jeff


[quoted text, click to view]
AddThis Social Bookmark Button