Avatar of Stolzman
StolzmanFlag for United States of America asked on

Exchange SMTP Virtual Server sessions won't time out!

We're running a single Exchange 2003 server on a Server 2003/XP network.  Mail flows from the Exchange SMTP Virtual server through an Exchange connector to an SMTP server and out through a NAT server to the internet. Recently, I noticed that some SMTP sessions in the SMTP virtual server don't time out.  Even though I set the connection timeout to 10 minutes, I would often find sessions that had been around for several hours or more.  If I let this go and don't terminate the old sessions, after a while we are unable to receive mail and sometimes unable to send.  At this point I usually can'trestart the SMTP server or do an iisreset.  Often, even if I am able to restart or reset, this doesn't cure the problem.  At this point, a reboot is necessary.

After some research, I removed NAV Corporate from the Exchange Server (we have it on the SMTP server and all desktops) and lowered the number of connections to 20 and the connection time out to 2 minutes.  It worked fine for a short time, but then it wouldn't let go of SMTP sessions.  At this point, I am checking the server a couple of times a day and terminating the older SMTP sessions to prevent a hang.  Any suggestions would be greatly appreciated.
Email ProtocolsExchange

Avatar of undefined
Last Comment

8/22/2022 - Mon
Stacy Spear

In the virtual SMTP properties, messages tab, are there limits placed on the number of messages per connection?

If not I would put them. Generally, it will not close it if the sending server is still sending packets to keep it alive.

Yes, it is limited to 20 messages per connection, as well as a message size of 10240 and a session size of 20480 KB.  

And the interesting thing is that the SMTP server successfully closes sessions, but the virtual SMTP server on Exchange does not end sessions with the SMTP server.

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
See how we're fighting big data
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question
Experts Exchange has (a) saved my job multiple times, (b) saved me hours, days, and even weeks of work, and often (c) makes me look like a superhero! This place is MAGIC!
Walt Forbes