Link to home
Start Free TrialLog in
Avatar of Harold Krongelb
Harold KrongelbFlag for United States of America

asked on

Microsoft IIS SMTP Service on Server 2008

I am using Microsoft's IIS SMTP service to relay email from within my network.  Essentially, emails of between 100K and 10MB are sent to one of two Server 2008 machines on the local subnet, and then forwarded to one of several email servers outside our subnet.  The emails originate from internal devices such as scanners.  All emails are sent with TLS enabled, and a check of the header shows that the emails are secured and there appear to be no unexpected intervening stops.

The problem is that sending the emails is extremely slow.  The SMTP service sends only one email at a time, and it is send very slowly.  This results in potentially long delays.  I can see no settings that will speed up the SMTP service.

It is possible that the email receiver is causing the delays.  I would like to:

1. Have the SMTP service send multiple emailssimultaneously, or
2. If someone could suggest an easy-to-maintain, low overhead SMTP server to install.  I have tried a few, but configuration can be quite complex as the SMTP servers I ahve looked at are designed to receive emails, something I don't need to do.

Thank you,

Harold Krongelb
SOLUTION
Avatar of Kimputer
Kimputer

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Harold Krongelb

ASKER

To answer your last questions, it is delays in the sending of the message.  When I look at the Current Sessions, I see messages take as many as 400 seconds to send.  There has also never been more than one message in the Current Sessions.  Note that all messages go to one of two destinations:  gmail.com or heimer.com.  Both destinations seem to exhibit the same issue, and I have never observed more than one session even when I know that there are emails to both destinations.

All Emails originate from 192.168.0.3, and the SMTP server is installed on the same machine (192.168.0.3).

1. The SMTP Server config is essentially the default, except that TLS transport is enabled on outbound security.

2. I believe this is a slow message:

Delivered-To: voicemail@home-inspection-ny.com
Received: by 10.114.28.195 with SMTP id d3csp345354ldh; Tue, 4 Aug 2015
 07:02:54 -0700 (PDT)
X-Received: by 10.170.213.198 with SMTP id e189mr3571964ykf.105.1438696973657;
 Tue, 04 Aug 2015 07:02:53 -0700 (PDT)
Return-Path: <Messenger@heimer.com>
Received: from Messenger.heimer.com (network-250.heimer.com. [75.127.164.250])
 by mx.google.com with ESMTPS id i200si1920590qhc.89.2015.08.04.07.02.51 for
 <voicemail@home-inspection-ny.com> (version=TLSv1.2
 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 04 Aug 2015 07:02:53 -0700
 (PDT)
Received-SPF: pass (google.com: domain of Messenger@heimer.com designates
 75.127.164.250 as permitted sender) client-ip=75.127.164.250;
Authentication-Results: mx.google.com; spf=pass (google.com: domain of
 Messenger@heimer.com designates 75.127.164.250 as permitted sender)
 smtp.mail=Messenger@heimer.com
Received: from Messenger ([192.168.0.3]) by Messenger.heimer.com with
 Microsoft SMTPSVC(7.5.7601.17514); Tue, 4 Aug 2015 10:02:55 -0400
From: WIRELESS CALLER <Messenger@heimer.com>
To: <voicemail@home-inspection-ny.com>
Subject: Voicemail Message (WIRELESS CALLER > LVanHelden) From:6319210881
Date: Tue, 04 Aug 2015 10:02:55 -0400
X-Mailer: Voicemail Pro Server
MIME-Version: 1.0
Content-Type: multipart/mixed;
 boundary="{ee76f108-4dba-4b92-b71f-923f892bd79d}"
Content-Transfer-Encoding: quoted-printable
X-Priority: 3
X-MSMail-Priority: Normal
Priority: Normal
Importance: Normal
Sensitivity: Normal
Content-Class: voice
X-CallingTelephoneNumber: 6319210881
X-VoiceMessageDuration: 94
X-VoiceMessageSenderName: WIRELESS CALLER
X-VoiceMessageOffset: 255
X-VoiceMessageReceivedTime: 3616149669
X-AttachmentOrder: ;MSG39217.WAV
X-MS-Has-Attach: yes
Return-Path: Messenger@heimer.com
Message-ID: <MESSENGERcobfpQOaVj00000ee9@Messenger.heimer.com>
X-OriginalArrivalTime: 04 Aug 2015 14:02:56.0024 (UTC)
 FILETIME=[43329180:01D0CEBE]

3.  Log file Attached

4. 8 GB RAM.  Task Manager says Commit is 3GB.

5.  120GB Free Disk Space

6.  The local network is all Gigabit.  The measured speeds on the internet connection are 74Mb down, and 37Mb up.

Also, CPU utilization are in the single digits, and Network utilization is less than 0.1%.

Thank you,

Harold
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
I am investigating whehter SMTP sender is slow.  There is a 10-minute to 3-hour delay in message delivery, which does not appear to be reflected in the logs.  Although the SMTP sender reports its emails sent immediately, the SMTP sender may be queuing the emails.  I will investigate this further.
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
It appears to affect all messages.  The logs are attached.  ex150804.log
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Detailed log snippet.

#Software: Microsoft Internet Information Services 7.5
#Version: 1.0
#Date: 2015-08-06 13:26:56
#Fields: date time c-ip cs-username s-sitename s-computername s-ip s-port cs-method cs-uri-stem cs-uri-query sc-status sc-win32-status sc-bytes cs-bytes time-taken cs-version cs-host cs(User-Agent) cs(Cookie) cs(Referer)
2015-08-06 13:26:56 192.168.0.3 Messenger SMTPSVC1 MESSENGER 192.168.0.3 0 QUIT - Messenger 240 288820 105 4 288758 SMTP - - - -
2015-08-06 13:26:56 192.168.0.3 Messenger SMTPSVC1 MESSENGER 192.168.0.3 0 EHLO - +Messenger 250 0 197 14 0 SMTP - - - -
2015-08-06 13:26:56 192.168.0.3 Messenger SMTPSVC1 MESSENGER 192.168.0.3 0 MAIL - +FROM:<Messenger@heimer.com> 250 0 45 32 0 SMTP - - - -
2015-08-06 13:26:56 192.168.0.3 Messenger SMTPSVC1 MESSENGER 192.168.0.3 0 RCPT - +TO:<voicemail@home-inspection-ny.com> 250 0 45 42 0 SMTP - - - -
2015-08-06 13:31:39 192.168.0.3 Messenger SMTPSVC1 MESSENGER 192.168.0.3 0 QUIT - Messenger 240 282721 105 4 282705 SMTP - - - -
2015-08-06 13:31:39 192.168.0.3 Messenger SMTPSVC1 MESSENGER 192.168.0.3 0 EHLO - +Messenger 250 0 197 14 0 SMTP - - - -
2015-08-06 13:31:39 192.168.0.3 Messenger SMTPSVC1 MESSENGER 192.168.0.3 0 MAIL - +FROM:<Messenger@heimer.com> 250 0 45 32 0 SMTP - - - -
2015-08-06 13:31:39 192.168.0.3 Messenger SMTPSVC1 MESSENGER 192.168.0.3 0 RCPT - +TO:<voicemail@home-inspection-ny.com> 250 0 45 42 0 SMTP - - - -
2015-08-06 13:36:28 192.168.0.3 Messenger SMTPSVC1 MESSENGER 192.168.0.3 0 QUIT - Messenger 240 289117 105 4 289055 SMTP - - - -
2015-08-06 13:36:28 192.168.0.3 Messenger SMTPSVC1 MESSENGER 192.168.0.3 0 EHLO - +Messenger 250 0 197 14 0 SMTP - - - -
2015-08-06 13:36:28 192.168.0.3 Messenger SMTPSVC1 MESSENGER 192.168.0.3 0 MAIL - +FROM:<Messenger@heimer.com> 250 0 45 32 0 SMTP - - - -
2015-08-06 13:36:28 192.168.0.3 Messenger SMTPSVC1 MESSENGER 192.168.0.3 0 RCPT - +TO:<voicemail@home-inspection-ny.com> 250 0 45 42 0 SMTP - - - -
2015-08-06 13:41:13 192.168.0.3 Messenger SMTPSVC1 MESSENGER 192.168.0.3 0 QUIT - Messenger 240 284889 105 4 284811 SMTP - - - -
2015-08-06 13:41:13 192.168.0.3 Messenger SMTPSVC1 MESSENGER 192.168.0.3 0 EHLO - +Messenger 250 0 197 14 0 SMTP - - - -
2015-08-06 13:41:13 192.168.0.3 Messenger SMTPSVC1 MESSENGER 192.168.0.3 0 MAIL - +FROM:<Messenger@heimer.com> 250 0 45 32 0 SMTP - - - -
2015-08-06 13:41:13 192.168.0.3 Messenger SMTPSVC1 MESSENGER 192.168.0.3 0 RCPT - +TO:<voicemail@home-inspection-ny.com> 250 0 45 42 0 SMTP - - - -
2015-08-06 13:45:57 192.168.0.3 Messenger SMTPSVC1 MESSENGER 192.168.0.3 0 QUIT - Messenger 240 283017 105 4 282970 SMTP - - - -
2015-08-06 13:45:57 192.168.0.3 Messenger SMTPSVC1 MESSENGER 192.168.0.3 0 EHLO - +Messenger 250 0 197 14 0 SMTP - - - -
2015-08-06 13:45:57 192.168.0.3 Messenger SMTPSVC1 MESSENGER 192.168.0.3 0 MAIL - +FROM:<Messenger@heimer.com> 250 0 45 32 0 SMTP - - - -
2015-08-06 13:45:57 192.168.0.3 Messenger SMTPSVC1 MESSENGER 192.168.0.3 0 RCPT - +TO:<MessageCenter@heimer.com> 250 0 37 34 0 SMTP - - - -
2015-08-06 13:50:52 192.168.0.3 Messenger SMTPSVC1 MESSENGER 192.168.0.3 0 QUIT - Messenger 240 295091 105 4 295060 SMTP - - - -
2015-08-06 13:50:53 192.168.0.3 Messenger SMTPSVC1 MESSENGER 192.168.0.3 0 EHLO - +Messenger 250 0 197 14 0 SMTP - - - -
2015-08-06 13:50:53 192.168.0.3 Messenger SMTPSVC1 MESSENGER 192.168.0.3 0 MAIL - +FROM:<Messenger@heimer.com> 250 0 45 32 0 SMTP - - - -
2015-08-06 13:50:53 192.168.0.3 Messenger SMTPSVC1 MESSENGER 192.168.0.3 0 RCPT - +TO:<voicemail@home-inspection-ny.com> 250 0 45 42 0 SMTP - - - -
2015-08-06 13:51:53 192.168.0.3 Messenger SMTPSVC1 MESSENGER 192.168.0.3 0 DATA - <MESSENGERXRPmcarcR400001105@Messenger.heimer.com> 250 0 133 5236922 59062 SMTP - - - -
2015-08-06 13:51:53 192.168.0.3 Messenger SMTPSVC1 MESSENGER 192.168.0.3 0 QUIT - Messenger 240 59124 69 4 0 SMTP - - - -
2015-08-06 13:51:53 74.125.29.27 OutboundConnectionResponse SMTPSVC1 MESSENGER - 0 - - 220+mx.google.com+ESMTP+l88si11845545qge.125+-+gsmtp 0 0 52 0 187 SMTP - - - -
2015-08-06 13:51:53 74.125.29.27 OutboundConnectionCommand SMTPSVC1 MESSENGER - 0 EHLO - Messenger.heimer.com 0 0 4 0 187 SMTP - - - -
2015-08-06 13:51:53 74.125.29.27 OutboundConnectionResponse SMTPSVC1 MESSENGER - 0 - - 250-mx.google.com+at+your+service,+[75.127.164.250] 0 0 51 0 219 SMTP - - - -
2015-08-06 13:51:53 74.125.29.27 OutboundConnectionCommand SMTPSVC1 MESSENGER - 0 STARTTLS - - 0 0 8 0 219 SMTP - - - -
2015-08-06 13:51:53 74.125.29.27 OutboundConnectionResponse SMTPSVC1 MESSENGER - 0 - - 220+2.0.0+Ready+to+start+TLS 0 0 28 0 234 SMTP - - - -
2015-08-06 13:51:53 74.125.29.27 OutboundConnectionCommand SMTPSVC1 MESSENGER - 0 EHLO - Messenger.heimer.com 0 0 4 0 312 SMTP - - - -
2015-08-06 13:51:53 74.125.29.27 OutboundConnectionResponse SMTPSVC1 MESSENGER - 0 - - 250-mx.google.com+at+your+service,+[75.127.164.250] 0 0 51 0 328 SMTP - - - -
2015-08-06 13:51:53 74.125.29.27 OutboundConnectionCommand SMTPSVC1 MESSENGER - 0 MAIL - FROM:<Messenger@heimer.com>+SIZE=5237242 0 0 4 0 328 SMTP - - - -
2015-08-06 13:51:53 74.125.29.27 OutboundConnectionResponse SMTPSVC1 MESSENGER - 0 - - 250+2.1.0+OK+l88si11845545qge.125+-+gsmtp 0 0 41 0 359 SMTP - - - -
2015-08-06 13:51:53 74.125.29.27 OutboundConnectionCommand SMTPSVC1 MESSENGER - 0 RCPT - TO:<voicemail@home-inspection-ny.com> 0 0 4 0 359 SMTP - - - -
2015-08-06 13:51:54 74.125.29.27 OutboundConnectionResponse SMTPSVC1 MESSENGER - 0 - - 250+2.1.5+OK+l88si11845545qge.125+-+gsmtp 0 0 41 0 999 SMTP - - - -
2015-08-06 13:51:54 74.125.29.27 OutboundConnectionCommand SMTPSVC1 MESSENGER - 0 BDAT - 5237242+LAST 0 0 4 0 999 SMTP - - - -
2015-08-06 13:51:57 74.125.29.27 OutboundConnectionResponse SMTPSVC1 MESSENGER - 0 - - 250+2.0.0+OK+l88si11845545qge.125+-+gsmtp 0 0 41 0 3698 SMTP - - - -
2015-08-06 13:51:57 74.125.29.27 OutboundConnectionCommand SMTPSVC1 MESSENGER - 0 QUIT - - 0 0 4 0 3698 SMTP - - - -
2015-08-06 13:51:57 74.125.29.27 OutboundConnectionResponse SMTPSVC1 MESSENGER - 0 - - 221+2.0.0+closing+connection+l88si11845545qge.125+-+gsmtp 0 0 57 0 3729 SMTP - - - -
2015-08-06 13:52:02 192.168.0.3 Messenger SMTPSVC1 MESSENGER 192.168.0.3 0 EHLO - +Messenger 250 0 197 14 0 SMTP - - - -
2015-08-06 13:52:02 192.168.0.3 Messenger SMTPSVC1 MESSENGER 192.168.0.3 0 MAIL - +FROM:<Messenger@heimer.com> 250 0 45 32 0 SMTP - - - -
2015-08-06 13:52:02 192.168.0.3 Messenger SMTPSVC1 MESSENGER 192.168.0.3 0 RCPT - +TO:<LynetteV@heimer.com> 250 0 32 29 0 SMTP - - - -
2015-08-06 13:56:50 192.168.0.3 Messenger SMTPSVC1 MESSENGER 192.168.0.3 0 QUIT - Messenger 240 288383 105 4 288352 SMTP - - - -
2015-08-06 13:56:50 192.168.0.3 Messenger SMTPSVC1 MESSENGER 192.168.0.3 0 EHLO - +Messenger 250 0 197 14 0 SMTP - - - -
2015-08-06 13:56:50 192.168.0.3 Messenger SMTPSVC1 MESSENGER 192.168.0.3 0 MAIL - +FROM:<Messenger@heimer.com> 250 0 45 32 0 SMTP - - - -
2015-08-06 13:56:50 192.168.0.3 Messenger SMTPSVC1 MESSENGER 192.168.0.3 0 RCPT - +TO:<voicemail@home-inspection-ny.com> 250 0 45 42 0 SMTP - - - -
2015-08-06 14:01:37 192.168.0.3 Messenger SMTPSVC1 MESSENGER 192.168.0.3 0 QUIT - Messenger 240 285700 105 4 285653 SMTP - - - -
2015-08-06 14:01:37 192.168.0.3 Messenger SMTPSVC1 MESSENGER 192.168.0.3 0 EHLO - +Messenger 250 0 197 14 0 SMTP - - - -
2015-08-06 14:01:37 192.168.0.3 Messenger SMTPSVC1 MESSENGER 192.168.0.3 0 MAIL - +FROM:<Messenger@heimer.com> 250 0 45 32 0 SMTP - - - -
2015-08-06 14:01:37 192.168.0.3 Messenger SMTPSVC1 MESSENGER 192.168.0.3 0 RCPT - +TO:<voicemail@home-inspection-ny.com> 250 0 45 42 0 SMTP - - - -
2015-08-06 14:06:24 192.168.0.3 Messenger SMTPSVC1 MESSENGER 192.168.0.3 0 QUIT - Messenger 240 287353 105 4 287307 SMTP - - - -
2015-08-06 14:06:24 192.168.0.3 Messenger SMTPSVC1 MESSENGER 192.168.0.3 0 EHLO - +Messenger 250 0 197 14 0 SMTP - - - -
2015-08-06 14:06:24 192.168.0.3 Messenger SMTPSVC1 MESSENGER 192.168.0.3 0 MAIL - +FROM:<Messenger@heimer.com> 250 0 45 32 0 SMTP - - - -
2015-08-06 14:06:24 192.168.0.3 Messenger SMTPSVC1 MESSENGER 192.168.0.3 0 RCPT - +TO:<voicemail@home-inspection-ny.com> 250 0 45 42 0 SMTP - - - -
2015-08-06 14:11:11 192.168.0.3 Messenger SMTPSVC1 MESSENGER 192.168.0.3 0 QUIT - Messenger 240 286371 105 4 286325 SMTP - - - -
2015-08-06 14:11:11 192.168.0.3 Messenger SMTPSVC1 MESSENGER 192.168.0.3 0 EHLO - +Messenger 250 0 197 14 0 SMTP - - - -
2015-08-06 14:11:11 192.168.0.3 Messenger SMTPSVC1 MESSENGER 192.168.0.3 0 MAIL - +FROM:<Messenger@heimer.com> 250 0 45 32 0 SMTP - - - -
2015-08-06 14:11:11 192.168.0.3 Messenger SMTPSVC1 MESSENGER 192.168.0.3 0 RCPT - +TO:<voicemail@home-inspection-ny.com> 250 0 45 42 0 SMTP - - - -
2015-08-06 14:15:54 192.168.0.3 Messenger SMTPSVC1 MESSENGER 192.168.0.3 0 QUIT - Messenger 240 282440 105 4 282409 SMTP - - - -
2015-08-06 14:15:54 192.168.0.3 Messenger SMTPSVC1 MESSENGER 192.168.0.3 0 EHLO - +Messenger 250 0 197 14 0 SMTP - - - -
2015-08-06 14:15:54 192.168.0.3 Messenger SMTPSVC1 MESSENGER 192.168.0.3 0 MAIL - +FROM:<Messenger@heimer.com> 250 0 45 32 0 SMTP - - - -
2015-08-06 14:15:54 192.168.0.3 Messenger SMTPSVC1 MESSENGER 192.168.0.3 0 RCPT - +TO:<MessageCenter@heimer.com> 250 0 37 34 0 SMTP - - - -
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
User Messenger is the sender, and the message is a WAV file.  Both the Sender and the SMTP service reside on the machine with the 192.168.0.3 IP address.

It appears that the transaction that never leaves the machine takes 200 to 300 seconds, while the transaction outside the machine is much quicker.

The delays come as a result of the WAV files coming in much faster than the SMTP service accepts them.  This causes the messages to back up, and I see 30+ minute delays.  It appears that the SMTP sender is at fault, so I need to go back to the SMTP sender's vendor.  Unfortunately, the SMTP sender created by Avaya, and Avaya condsiders all bugs related to SMTP to be caused by the fact that I am not running on their UNIX platform.
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
It turns out that the program connecting to the SMTP service was causing the problem.  Apparently, it was trying to deliver emails bigger than the sender's email program could handle (but well below the IIS SMTP limit).  The sender's email program went to its limit, and stopped.  This program than tried to resend this email.  What caused the slowdown was multiple emails too large for the sending email program.  The sender email program would only send one email at a time, and small legit emails had to wait behind the queue, which grew to be hours long.  The sending program failed to correctly log what it was doing.