Welcome to Tech Support Forum home to more then 136,000 problems solved. Issues have included: Spyware, Malware, Virus Issues, Windows, Microsoft, Linux, Networking, Security, Hardware, and Gaming Getting your problem solved is as easy as:
1. Registering for a free account
2. Asking your question
3. Receiving an answer

Registered members:
* Get free support
* Communicate privately with other members (PM).
* Removal of this message
* See fewer ads.
* And much more..

 



Want to know how to post a question? click here Having problems with spyware and pop-ups? First Steps
Go Back   Tech Support Forum > Microsoft Support > Windows NT/2000/2003 Server/2008 Server
User Name
Password
Site Map Register Donate Rules Blogs Mark Forums Read


Windows NT/2000/2003 Server/2008 Server Find support for Windows NT/2000/2003 Server/2008 Server editions.

Reply
 
LinkBack Thread Tools
Old 12-06-2007, 09:04 AM   #1 (permalink)
Registered User
 
Join Date: Dec 2007
Location: Central Colorado
Posts: 1
OS: XP


SMTP Server issue

I have an unusual issue that I believe it related to a setting in the IIS SMTP Virtual Server Settings.

I have an intermittent problem where an email sent by a small asp.net application would fail to send the exception was "Error receiving data from socket." The VB error message generated related to "The transport failed to connect to the server. "

I spent a bit of time troubleshooting the asp code only to have the same results...sometimes the emails would process and sometimes they would not.....no variable changed at all.

In an attemtp to find a pattern to the problem and rule out asp.net code I wrote a very small windows application that sends an email once a minute and reports back the results. I was amazed to find a solid pattern and this is where I could use some help pointing me in the right direction.

The sever sends an email once a minute and the first 9 emails send fine but the next 9 emails will fail to send and then the pattern repeats itself the next 9 emails go fine, then will send 9 emails that fail...etc.

Nothing changed in the settings...each email was sent using hardcoded variables so there would be no difference in the TO: FROM: SUBJECT: SMTP SERVER: or BODY.

I have run this for several hours always with the same pattern revealing itself, 9 times it will send email then 9 times it will fail then 9 times it will send and so on.

Now for the server details. This is a development server running behind out INTRANET firewall. All virus software has been disabled. The Firewall on the server has been disabled. The application is running ON the server. The situation manifiest itself both in using windows applications and Web pages (asp.net).

These are the current property settings of the virtual server:

IP Address is within the IP range of the intranet - 10.16.56.9
Connections limited to 100
connection time-out in minutes 5
Under advanced theIP Address and TCP Port are 10.15.56.9 25

Access tab - Anonymous access is checked
connection control as access granted to 10.16.56.9
relay restictions are granted to 10.16.56.9
connection control grrants access for 10.16.56.9 to the virtual server

Messages tab
Message size limited to 2048 KB
Session size limited to 10240KB
Limit number of message per connection to 100
Limit number of recipients to 100

Delivery tab
First realy interval minutes 15
Second retry 30
third retry 60
subsequent retry 240
delay notification 12 min
Expiration timeout 30 min
Loca delay 24 min
Expiration timeout 12 min

Outbound security set to anonymous access
Outbound connections limited to 1000
time-out 2 minutes
number of connections per domaim 100
TCP port 25

These settings have been changed a few times as I gleen what I can from the internet. I have stopped and started the the SMTP Virtual Server on variable changes without effect.

The TO: from: variables for the email are valid as they have been checked and email is actually sent and received using the same variables.

Obviously I am curious about the pattern I have discovered. Each minute an identical email is sent...and as I have said the first 9 times the email goes fine then the next 9 times it will fail and then the next 9 times it will go fine..and so on. I have not been able to find a variable in the SMTP porperties that is tied to this apparent 10 min cycle.

This server does not touch the INTERNET and the SMTP mail being sent stays within the intranet of our organization.

What additional information may be needed to look into the unusual circumstance?

WAFDOF
WAFDOF is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Important Information
Join the #1 Tech Support Forum Today - It's Totally Free!

TechSupportForum.com is a leading support website for your computer needs. We offer free, friendly and personalized computer support. Why pay to have your computer fixed when you can do it for free.

Join TechSupportforum.com Today - Click Here

Reply


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




All times are GMT -7. The time now is 10:32 PM.



Copyright 2001 - 2009, Tech Support Forum
Home Tips Plus | Outdoor Basecamp | Automotive Support Forum

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85