iis smtp nntp:
Hello, I have a Windows2000 SP4 server running iiS 5.0. I have a MS-SQL (MS SQL 2000 SP2) application written in VB that sends out mails to listed of people, however it quits working for some uknown reason. At this moment, all emails stay in BADMAIL (under C:\inetpub\...) folder. I check Virtual SMTP properties setting, and they look fine. I have tried to use either IP address, FQDN, server name (to trouble shoot), but results are the same. I did virus scan and nothing is found. Does anyone have any idea how to reslove this issue? I really apprecate your help. Thanks,
[quoted text, click to view] > MS SMTP server doesn't send out mail with an invalid From: domain, and > puts the mail straight into badmail.
??? IIS SMTP will gladly send out mail with an invalid MAIL FROM: or From:. OP, I wouldn't say your app "quits" working if every message ends up in \Badmail -- it doesn't work at all. As Ken suggests, make sure DNS resolution works from the mailserver, and that outbound connections to TCP 25 are allowed. Microsoft's SMTPDIAG tool can help you simulate an outbound connection to a remote domain (it will not submit an actual message, but it will simulate SMTP envelope transmission). --Sandy ------------------------------------ Sanford Whiteman, Chief Technologist Broadleaf Systems, a division of Cypress Integrated Systems, Inc.
Thanks Ken and Sanford for your inputs. I have tried anything this morning but still am getting the same result. I even opened a Telnet session to port 25 and send a "test message" to myself. The email ended up in "badmail" folder again. Any thoughts? mt [quoted text, click to view] "Sanford Whiteman" wrote: > > If you try to send mail with FROM: > > someone@non-existant-or-non-resolvable-domain then MS SMTP server puts > > the mail into badmail > > That's not correct. > > I don't know how else to say it; there is no such restriction. > > (If you send mail with a non-deliverable recipient _and_ non-deliverable > sender, the message goes to Badmail: double-bounce. Not the same > situation, though.) > > --Sandy > > > > > ------------------------------------ > Sanford Whiteman, Chief Technologist > Broadleaf Systems, a division of > Cypress Integrated Systems, Inc. > ------------------------------------
[quoted text, click to view] > If you try to send mail with FROM: > someone@non-existant-or-non-resolvable-domain then MS SMTP server puts > the mail into badmail
That's not correct. I don't know how else to say it; there is no such restriction. (If you send mail with a non-deliverable recipient _and_ non-deliverable sender, the message goes to Badmail: double-bounce. Not the same situation, though.) --Sandy ------------------------------------ Sanford Whiteman, Chief Technologist Broadleaf Systems, a division of Cypress Integrated Systems, Inc.
Sanford, Yes, I did use "STMPDiag" and results are "pass". Let me ask a question -- This server has Firewall Client installed. Would this make any differnence? The SMTP email has been working for years but it just quits working recently. When I did a "netstat -A" on the server, the ISA server is lisenting to SMTP port 25 (rather than server name itself). I disable the Firewall Client, but it did not make any difference. Thanks for helping. mt [quoted text, click to view] "Sanford Whiteman" wrote: > > I have tried anything this morning but still am getting the same result. > > You have tried SMTPDIAG? Doesn't sound like it. > > (BTW, sending a message to "yourself" isn't any more of a test than it > would be to any other address; if the machine can't route off-box to > unknown domains and has no hard-coded entry for your domain, you're just > another unknown domain.) > > --Sandy > > > > ------------------------------------ > Sanford Whiteman, Chief Technologist > Broadleaf Systems, a division of > Cypress Integrated Systems, Inc. > ------------------------------------
[quoted text, click to view] > I have tried anything this morning but still am getting the same result.
You have tried SMTPDIAG? Doesn't sound like it. (BTW, sending a message to "yourself" isn't any more of a test than it would be to any other address; if the machine can't route off-box to unknown domains and has no hard-coded entry for your domain, you're just another unknown domain.) --Sandy ------------------------------------ Sanford Whiteman, Chief Technologist Broadleaf Systems, a division of Cypress Integrated Systems, Inc.
If all your mail is ending up in badmail, then verify DNS name resolution from the SMTP server. Also verify that the domain used in the From: address actually exists, and is able to be looked up by the SMTP server. MS SMTP server doesn't send out mail with an invalid From: domain, and puts the mail straight into badmail. Cheers Ken [quoted text, click to view] "mt" <mt@discussions.microsoft.com> wrote in message news:9DB8F7F5-2D76-4B21-86B0-133195686712@microsoft.com... > Hello, > > I have a Windows2000 SP4 server running iiS 5.0. I have a MS-SQL (MS SQL > 2000 SP2) application written in VB that sends out mails to listed of > people, > however it quits working for some uknown reason. At this moment, all > emails > stay in BADMAIL (under C:\inetpub\...) folder. I check Virtual SMTP > properties setting, and they look fine. I have tried to use either IP > address, FQDN, server name (to trouble shoot), but results are the same. > I did virus scan and nothing is found. > Does anyone have any idea how to reslove this issue? I really apprecate > your help. > Thanks, >
[quoted text, click to view] > Yes, I did use "STMPDiag" and results are "pass".
Post the full results. Can you telnet to port 25 on a remote MX? That and DNS are are the crucial tests when all mail is failing. [quoted text, click to view] > This server has Firewall Client installed. Would this make any > differnence?
What matters is whether the SMTP daemon can resolve DNS and can connect on port 25 outbound. This also assumes direct delivery: do you have a smart host accidentally defined in the SMTP service? --Sandy ------------------------------------ Sanford Whiteman, Chief Technologist Broadleaf Systems, a division of Cypress Integrated Systems, Inc.
If you try to send mail with FROM: someone@non-existant-or-non-resolvable-domain then MS SMTP server puts the mail into badmail Cheers Ken [quoted text, click to view] "Sanford Whiteman" <swhitemanlistens-software@cypressintegrated.com> wrote in message news:op.t8h9hgbr6c17zw@gw02.broadleaf.local... >> MS SMTP server doesn't send out mail with an invalid From: domain, and >> puts the mail straight into badmail. > > ??? IIS SMTP will gladly send out mail with an invalid MAIL FROM: or > From:. > > OP, I wouldn't say your app "quits" working if every message ends up in > \Badmail -- it doesn't work at all. As Ken suggests, make sure DNS > resolution works from the mailserver, and that outbound connections to TCP > 25 are allowed. Microsoft's SMTPDIAG tool can help you simulate an > outbound connection to a remote domain (it will not submit an actual > message, but it will simulate SMTP envelope transmission). > > --Sandy
[quoted text, click to view] "Sanford Whiteman" <swhitemanlistens-software@cypressintegrated.com> wrote in message news:op.t8iw70ft6c17zw@gw02.broadleaf.local... >> If you try to send mail with FROM: >> someone@non-existant-or-non-resolvable-domain then MS SMTP server puts >> the mail into badmail > > That's not correct. > > I don't know how else to say it; there is no such restriction. > > (If you send mail with a non-deliverable recipient _and_ non-deliverable > sender, the message goes to Badmail: double-bounce. Not the same > situation, though.)
Hmm - that must have been it then. Maybe I ascribed something to MS SMTP server that could be explained by something far simpler. Thanks Cheers Ken
Don't see what you're looking for? Try a search.
|