KS SendMail not completing SMTP transmission

All questions related to installations, configurations and maintenance of Advanced Host Monitor (including additional tools such as RMA for Windows, RMA Manager, Web Servie, RCC).
Post Reply
greenbay
Posts: 2
Joined: Mon Dec 01, 2008 6:44 pm

KS SendMail not completing SMTP transmission

Post by greenbay »

Hello boys and girls,

We're a small ISP that uses HostMonitor to monitor all our DSL services and the various servers on our network.

The problem I have is that HostMonitor has stopped sending out its notification emails. We use a standard admin mail template to notify us when a DSL modem goes up or down via an SMTP mail account on one of our mail servers.

I've been working on this problem for the past two days and I've had no luck finding a solution. HostMonitor is installed on a HP Compaq workstation PC running Windows Vista Business - Service Pack 1. The PC is in good working order and basically just runs HostMonitor. The last maintenance that was done to this computer was a Windows update that included the installation or Service Pack 1 which was done that this problem started.

I've tried a number of solutions including:
- Running the program with Administrator privileges.
- Running the program in compatibility mode.
- Adding HostMonitor to the DEP exceptions list.
- Turning the Firewall off.
- Reinstalling HostMonitor completely.
- Changing the mail server HostMonitor uses.


I've installed HostMonitor on another Vista Business SP1 box and have the same issue and I've also installed it on a Windows 2000 SP4 virtual machine where it seems to run fine.

I know at first glance the solution seems as simple as uninstalling Service Pack 1 but I really don't want to have an unpatched workstation on our network.

What I have been able to determine is that HostMonitor actively connects to our mail server and sends the SMTP message except for the last <CRLF> that tells the mail server the message is complete. I've included a sample message below:

Code: Select all

Log

[2/12/2008 11:48:55 AM] Connecting to mail.greenbay.net.au (SMTP) ...
[2/12/2008 11:48:55 AM] < 220 greenbay.net.au ESMTP MDaemon 10.0.0; Tue, 02 Dec 2008 11:48:49 +1100
[2/12/2008 11:48:55 AM] > EHLO srv-stats
[2/12/2008 11:48:55 AM] < 250-greenbay.net.au Hello srv-stats, pleased to meet you
[2/12/2008 11:48:55 AM] < 250-ETRN
[2/12/2008 11:48:55 AM] < 250-AUTH=LOGIN
[2/12/2008 11:48:55 AM] < 250-AUTH LOGIN CRAM-MD5
[2/12/2008 11:48:55 AM] < 250-8BITMIME
[2/12/2008 11:48:55 AM] < 250 SIZE 0
[2/12/2008 11:48:55 AM] > AUTH LOGIN
[2/12/2008 11:48:55 AM] < 334 VXNlcm5hbWU6
[2/12/2008 11:48:55 AM] > c3J2QGdyZWVuYmF5Lm5ldC5hdQ==
[2/12/2008 11:48:55 AM] < 334 UGFzc3dvcmQ6
[2/12/2008 11:48:55 AM] > U2VudDFuYWw=
[2/12/2008 11:48:56 AM] < 235 Authentication successful
[2/12/2008 11:48:56 AM] Open Done
[2/12/2008 11:48:56 AM] > MAIL FROM:<xxxxxxxx@greenbay.net.au>
[2/12/2008 11:48:56 AM] < 250 <xxxxxxxx@greenbay.net.au>, Sender ok
[2/12/2008 11:48:56 AM] > RCPT TO:<xxxxxxxx@greenbay.com.au>
[2/12/2008 11:48:56 AM] < 250 <xxxxxxxx@greenbay.com.au>, Recipient ok
[2/12/2008 11:48:56 AM] > DATA
[2/12/2008 11:48:56 AM] < 354 Enter mail, end with <CRLF>.<CRLF>
[2/12/2008 11:48:56 AM] > From: xxxxxxxx@greenbay.net.au
[2/12/2008 11:48:56 AM] > To: <xxxxxxxx@greenbay.com.au>
[2/12/2008 11:48:56 AM] > Subject: Test Mail Message
[2/12/2008 11:48:56 AM] > Sender: xxxxxxxx@greenbay.net.au
[2/12/2008 11:48:56 AM] > Mime-Version: 1.0
[2/12/2008 11:48:56 AM] > Content-Type: text/plain; charset="iso-8859-1"
[2/12/2008 11:48:56 AM] > Date: Tue, 2 Dec 2008 00:48:56 GMT
[2/12/2008 11:48:56 AM] > X-Mailer: ICS SMTP Component V2.32
[2/12/2008 11:48:56 AM] > 
[2/12/2008 11:48:56 AM] > Message from HostMonitor (host changed status)
[2/12/2008 11:48:56 AM] > 
[2/12/2008 11:48:56 AM] > Test     : Main router
[2/12/2008 11:48:56 AM] > Method: ping (timeout - 2000 ms)
[2/12/2008 11:48:56 AM] > Status  : Bad
[2/12/2008 11:48:56 AM] > Date    : 2/12/2008 11:48:55 AM
[2/12/2008 11:48:56 AM] > Reply   : 1 ms
[2/12/2008 11:48:56 AM] > 
[2/12/2008 11:48:56 AM] > Recurrences : 1
[2/12/2008 11:48:56 AM] > Last status: Host is alive
[2/12/2008 11:48:56 AM] > Total tests: 230
[2/12/2008 11:48:56 AM] > Alive ratio : 86.09 %
[2/12/2008 11:48:56 AM] > Dead ratio: 13.91 %
[2/12/2008 11:48:56 AM] > 
[2/12/2008 11:48:56 AM] > Folder: USA Branch
[2/12/2008 11:48:56 AM] > .
I can see the message on both the status window in HostMonitor and coming in on our mail server so I know the connection is working fine it's just that HostMonitor isn't telling the mail server to close the message has ended.

I'll keep working on this problem but I haven't been able to find anything like it on the forums for anywhere on the web if anyone has any ideas I would appreciate the help.
KS-Soft
Posts: 13012
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

Please note: officially HostMonitor cannot run on Vista
Please check system requirements
http://www.ks-soft.net/hostmon.eng/index-sysreq.htm

However most of Windows Vista/2008 related problems were fixed recently (version 7.52) and software works fine... Well, with some exceptions. There is at least one problem remains - Win32 services cannot display anything on desktop on Windows Vista and Windows Server 2008.
Recomended workaround - Remote Control Console
http://www.ks-soft.net/hostmon.eng/rcc/index.htm

We will try to investigate this problem.
What version of HostMonitor do you use?

Regards
Alex
greenbay
Posts: 2
Joined: Mon Dec 01, 2008 6:44 pm

Post by greenbay »

Hi Alex,

Thanks for the reply. I actually didn't realise Vista wasn't supported, it seemed to work fine before we installed Service Pack 1.

Before we had this little problem we were on version 7.22c and I've upgraded to 7.72 to try to fix this problem.
Post Reply