I'm running version 5.4-B2012093001 on a clean and fully updated install of Windows 2000 Server - Service Pack 4. Yes, it's a 12 year-old OS, but with it sitting behind a firewall and just hMailServer running on it it's actually very stable (and I didn't feel like forking over for a new server OS when I had this unused license

The problem I'm having is that when I try to stop the hMailServer service using the Windows Service Control Manager (SCM) it attempts for 30 seconds and then gives me the following:
- Error dialog: "Could not stop the hMailServer service on Local Computer. Error 1053: The service did not respond to the start or control request in a timely fashion."
- System Log Event: Event ID: 7011 "Timeout (30000 milliseconds) waiting for a transaction response from the hMailServer service."
- System Log Event: Event ID: 7011 "Timeout (30000 milliseconds) waiting for a transaction response from the service. "
Here is an excerpt from the log file (all logging enabled) during a shutdown/restart of the service:
Code: Select all
"IMAPD" 1700 12 "2012-10-15 09:35:56.776" "--IP ADDRESS REMOVED FOR POSTING--" "RECEIVED: 51 STATUS "--REMOVED FOR POSTING--" (UIDNEXT MESSAGES UNSEEN RECENT)"
"DEBUG" 1700 "2012-10-15 09:35:56.806" "Reading messages from database."
"IMAPD" 1700 12 "2012-10-15 09:35:56.816" "--IP ADDRESS REMOVED FOR POSTING--" "SENT: * STATUS "--REMOVED FOR POSTING--" (MESSAGES 101 UNSEEN 0 RECENT 0 UIDNEXT 102)[nl]51 OK Status completed"
"APPLICATION" 576 "2012-10-15 09:35:57.187" "Stopping servers..."
"IMAPD" 1144 12 "2012-10-15 09:35:57.457" "--IP ADDRESS REMOVED FOR POSTING--" "RECEIVED: 52 STATUS "--REMOVED FOR POSTING--" (UIDNEXT MESSAGES UNSEEN RECENT)"
"DEBUG" 1144 "2012-10-15 09:35:57.587" "Reading messages from database."
"IMAPD" 1144 12 "2012-10-15 09:35:57.647" "--IP ADDRESS REMOVED FOR POSTING--" "SENT: * STATUS "--REMOVED FOR POSTING--" (MESSAGES 573 UNSEEN 0 RECENT 0 UIDNEXT 574)[nl]52 OK Status completed"
"DEBUG" 1144 "2012-10-15 09:35:57.817" "The read operation failed. Bytes transferred: 0 Remote IP: --IP ADDRESS REMOVED FOR POSTING--, Session: 12, Code: 995, Message: The I/O operation has been aborted because of either a thread exit or an application request"
"DEBUG" 1144 "2012-10-15 09:35:57.827" "Ending session 12"
"DEBUG" 576 "2012-10-15 09:35:58.579" "Ending session 3"
"DEBUG" 576 "2012-10-15 09:35:58.699" "Reading messages from database."
"DEBUG" 576 "2012-10-15 09:35:58.699" "Ending session 2"
"DEBUG" 576 "2012-10-15 09:35:58.709" "Ending session 7"
"DEBUG" 576 "2012-10-15 09:35:58.719" "Ending session 8"
"DEBUG" 156 "2012-10-15 09:38:22.956" "Application::InitInstance - Configuration loaded."
"APPLICATION" 156 "2012-10-15 09:38:23.036" "Starting servers..."
"DEBUG" 1580 "2012-10-15 09:38:24.659" "SMTPDeliveryManager::Start()"
"DEBUG" 284 "2012-10-15 09:38:24.689" "ExternalFetchManager::Start()"
"APPLICATION" 156 "2012-10-15 09:38:25.219" "Servers started."
I haven't tested this or had a look at the source code, but I think this problem may also be related to the issue of hMailServer Administrator hanging when clicking the "Pause" button.