Error download mail external pop

Use this forum if you have installed hMailServer and want to ask a question related to a production release of hMailServer. Before posting, please read the troubleshooting guide. A large part of all reported issues are already described in detail here.
Post Reply
mic.max
New user
New user
Posts: 26
Joined: 2009-06-16 17:01

Error download mail external pop

Post by mic.max » 2018-12-23 13:01

I see this error on log HM:

"ERROR" 4192 "2018-12-23 01:32:49.040" "Severity: 3 (Medium), Code: HM5136, Source: TCPConnection::AsyncReadCompleted, Description: An error occured while parsing data. Data size: 0 Remote IP: 62.***.***.***"
"ERROR" 4192 "2018-12-23 01:32:49.041" "Severity: 2 (High), Code: HM4208, Source: ExceptionHandler::Run, Description: An error occured while executing 'IOCPQueueWorkerTask'"
"ERROR" 4192 "2018-12-23 01:32:49.265" "Severity: 1 (Critical), Code: HM5519, Source: StackLogger::Log, Description: An error has been detected. A mini dump has been written to C:\hMailServer\Logs\minidump_2018-12-23 013249_{6CA07EA3-F121-413F-8A78-B59707684865}.dmp"
"ERROR" 5124 "2018-12-23 01:38:55.346" "Severity: 3 (Medium), Code: HM5136, Source: TCPConnection::AsyncReadCompleted, Description: An error occured while parsing data. Data size: 0 Remote IP: 213.***.***.***"
"ERROR" 5124 "2018-12-23 01:38:55.349" "Severity: 2 (High), Code: HM4208, Source: ExceptionHandler::Run, Description: An error occured while executing 'IOCPQueueWorkerTask'"
"ERROR" 5124 "2018-12-23 01:38:55.563" "Severity: 1 (Critical), Code: HM5519, Source: StackLogger::Log, Description: An error has been detected. A mini dump has been written to C:\hMailServer\Logs\minidump_2018-12-23 013855_{86EE1828-1731-4CCB-9AB0-14390BC4601F}.dmp"
"ERROR" 4156 "2018-12-23 01:54:10.038" "Severity: 3 (Medium), Code: HM5136, Source: TCPConnection::AsyncReadCompleted, Description: An error occured while parsing data. Data size: 0 Remote IP: 62.***.***.***"
"ERROR" 4156 "2018-12-23 01:54:10.040" "Severity: 2 (High), Code: HM4208, Source: ExceptionHandler::Run, Description: An error occured while executing 'IOCPQueueWorkerTask'"
"ERROR" 4156 "2018-12-23 01:54:10.258" "Severity: 1 (Critical), Code: HM5519, Source: StackLogger::Log, Description: An error has been detected. A mini dump has been written to C:\hMailServer\Logs\minidump_2018-12-23 015410_{3A455A6D-0EA4-4763-BE77-8BDD8E90B0B8}.dmp"
"ERROR" 5124 "2018-12-23 01:54:10.433" "Severity: 3 (Medium), Code: HM5136, Source: TCPConnection::AsyncReadCompleted, Description: An error occured while parsing data. Data size: 0 Remote IP: 213.***.***.***"
"ERROR" 5124 "2018-12-23 01:54:10.443" "Severity: 2 (High), Code: HM4208, Source: ExceptionHandler::Run, Description: An error occured while executing 'IOCPQueueWorkerTask'"
"ERROR" 5124 "2018-12-23 01:54:10.648" "Severity: 1 (Critical), Code: HM5519, Source: StackLogger::Log, Description: An error has been detected. A mini dump has been written to C:\hMailServer\Logs\minidump_2018-12-23 015410_{08EC2AB0-224B-46F5-92C8-1FA1DD9BD8C2}.dmp"
"ERROR" 1152 "2018-12-23 02:18:34.050" "Severity: 3 (Medium), Code: HM5136, Source: TCPConnection::AsyncReadCompleted, Description: An error occured while parsing data. Data size: 0 Remote IP: 62.***.***.***"
"ERROR" 1152 "2018-12-23 02:18:34.052" "Severity: 2 (High), Code: HM4208, Source: ExceptionHandler::Run, Description: An error occured while executing 'IOCPQueueWorkerTask'"
"ERROR" 1152 "2018-12-23 02:18:34.270" "Severity: 1 (Critical), Code: HM5519, Source: StackLogger::Log, Description: An error has been detected. A mini dump has been written to C:\hMailServer\Logs\minidump_2018-12-23 021834_{34BC78B9-B9D0-4EBE-83AE-9924D9931857}.dmp"
"ERROR" 3904 "2018-12-23 02:46:01.059" "Severity: 3 (Medium), Code: HM5136, Source: TCPConnection::AsyncReadCompleted, Description: An error occured while parsing data. Data size: 0 Remote IP: 62.***.***.***"
"ERROR" 3904 "2018-12-23 02:46:01.062" "Severity: 2 (High), Code: HM4208, Source: ExceptionHandler::Run, Description: An error occured while executing 'IOCPQueueWorkerTask'"
"ERROR" 3904 "2018-12-23 02:46:01.282" "Severity: 1 (Critical), Code: HM5519, Source: StackLogger::Log, Description: An error has been detected. A mini dump has been written to C:\hMailServer\Logs\minidump_2018-12-23 024601_{D5CDF42C-D685-4589-8977-ACC55C4C476E}.dmp"
"ERROR" 5124 "2018-12-23 04:52:00.060" "Severity: 3 (Medium), Code: HM5136, Source: TCPConnection::AsyncReadCompleted, Description: An error occured while parsing data. Data size: 0 Remote IP: 213.***.***.***"
"ERROR" 5124 "2018-12-23 04:52:00.068" "Severity: 2 (High), Code: HM4208, Source: ExceptionHandler::Run, Description: An error occured while executing 'IOCPQueueWorkerTask'"
"ERROR" 5124 "2018-12-23 04:52:00.283" "Severity: 1 (Critical), Code: HM5519, Source: StackLogger::Log, Description: An error has been detected. A mini dump has been written to C:\hMailServer\Logs\minidump_2018-12-23 045200_{456FA4E5-0639-4FEE-AC51-FA5F1C7E39D2}.dmp"
"ERROR" 3836 "2018-12-23 05:02:10.044" "Severity: 3 (Medium), Code: HM5136, Source: TCPConnection::AsyncReadCompleted, Description: An error occured while parsing data. Data size: 0 Remote IP: 213.***.***.***"
"ERROR" 3836 "2018-12-23 05:02:10.046" "Severity: 2 (High), Code: HM4208, Source: ExceptionHandler::Run, Description: An error occured while executing 'IOCPQueueWorkerTask'"
"ERROR" 3836 "2018-12-23 05:02:10.259" "Severity: 1 (Critical), Code: HM5519, Source: StackLogger::Log, Description: An error has been detected. A mini dump has been written to C:\hMailServer\Logs\minidump_2018-12-23 050210_{21234049-3178-4436-9A16-0C4C24B15134}.dmp"
"ERROR" 3904 "2018-12-23 05:12:20.093" "Severity: 3 (Medium), Code: HM5136, Source: TCPConnection::AsyncReadCompleted, Description: An error occured while parsing data. Data size: 0 Remote IP: 213.***.***.***"
"ERROR" 3904 "2018-12-23 05:12:20.095" "Severity: 2 (High), Code: HM4208, Source: ExceptionHandler::Run, Description: An error occured while executing 'IOCPQueueWorkerTask'"
"ERROR" 3904 "2018-12-23 05:12:20.309" "Severity: 1 (Critical), Code: HM5519, Source: StackLogger::Log, Description: An error has been detected. A mini dump has been written to C:\hMailServer\Logs\minidump_2018-12-23 051220_{45B6DB3B-4CD1-4A85-BF23-9D5E6F388F69}.dmp"
"ERROR" 2764 "2018-12-23 06:09:15.950" "Severity: 3 (Medium), Code: HM5136, Source: TCPConnection::AsyncReadCompleted, Description: An error occured while parsing data. Data size: 0 Remote IP: 62.***.***.***"
"ERROR" 2764 "2018-12-23 06:09:15.954" "Severity: 2 (High), Code: HM4208, Source: ExceptionHandler::Run, Description: An error occured while executing 'IOCPQueueWorkerTask'"
"ERROR" 2764 "2018-12-23 06:09:16.178" "Severity: 1 (Critical), Code: HM5519, Source: StackLogger::Log, Description: An error has been detected. A mini dump has been written to C:\hMailServer\Logs\minidump_2018-12-23 060915_{A5D9155B-1D20-4F9B-9A3C-D67AD5A67E92}.dmp"
"ERROR" 3244 "2018-12-23 06:13:19.903" "Severity: 3 (Medium), Code: HM5136, Source: TCPConnection::AsyncReadCompleted, Description: An error occured while parsing data. Data size: 27 Remote IP: 213.***.***.***"
"ERROR" 3244 "2018-12-23 06:13:19.905" "Severity: 2 (High), Code: HM4208, Source: ExceptionHandler::Run, Description: An error occured while executing 'IOCPQueueWorkerTask', Message: string too long"
"ERROR" 3244 "2018-12-23 06:13:20.128" "Severity: 1 (Critical), Code: HM5519, Source: StackLogger::Log, Description: An error has been detected. A mini dump has been written to C:\hMailServer\Logs\minidump_2018-12-23 061319_{B66CA0D9-9C5C-47B0-97AD-A69A21D992BC}.dmp"
"ERROR" 5124 "2018-12-23 06:13:20.166" "Severity: 3 (Medium), Code: HM5136, Source: TCPConnection::AsyncReadCompleted, Description: An error occured while parsing data. Data size: 0 Remote IP: 62.***.***.***"
"ERROR" 5124 "2018-12-23 06:13:20.168" "Severity: 2 (High), Code: HM4208, Source: ExceptionHandler::Run, Description: An error occured while executing 'IOCPQueueWorkerTask'"
"ERROR" 5124 "2018-12-23 06:13:20.385" "Severity: 1 (Critical), Code: HM5519, Source: StackLogger::Log, Description: An error has been detected. A mini dump has been written to C:\hMailServer\Logs\minidump_2018-12-23 061320_{8EEB0135-4E2B-48BE-93B0-F0F9A6FA189A}.dmp"
"ERROR" 2276 "2018-12-23 06:33:40.100" "Severity: 3 (Medium), Code: HM5136, Source: TCPConnection::AsyncReadCompleted, Description: An error occured while parsing data. Data size: 0 Remote IP: 213.***.***.***"
"ERROR" 2276 "2018-12-23 06:33:40.108" "Severity: 2 (High), Code: HM4208, Source: ExceptionHandler::Run, Description: An error occured while executing 'IOCPQueueWorkerTask'"
"ERROR" 2276 "2018-12-23 06:33:40.320" "Severity: 1 (Critical), Code: HM5519, Source: StackLogger::Log, Description: An error has been detected. A mini dump has been written to C:\hMailServer\Logs\minidump_2018-12-23 063340_{0597C140-70A3-4F03-BAEA-C132B7261A8B}.dmp"
"ERROR" 3244 "2018-12-23 06:34:40.949" "Severity: 3 (Medium), Code: HM5136, Source: TCPConnection::AsyncReadCompleted, Description: An error occured while parsing data. Data size: 0 Remote IP: 62.***.***.***"
"ERROR" 3244 "2018-12-23 06:34:40.952" "Severity: 2 (High), Code: HM4208, Source: ExceptionHandler::Run, Description: An error occured while executing 'IOCPQueueWorkerTask'"
"ERROR" 3244 "2018-12-23 06:34:41.157" "Severity: 1 (Critical), Code: HM5519, Source: StackLogger::Log, Description: An error has been detected. A mini dump has been written to C:\hMailServer\Logs\minidump_2018-12-23 063440_{37191D71-3280-4B2E-A7D3-76D7BE1DCA87}.dmp"
"ERROR" 1208 "2018-12-23 06:40:46.913" "Severity: 3 (Medium), Code: HM5136, Source: TCPConnection::AsyncReadCompleted, Description: An error occured while parsing data. Data size: 0 Remote IP: 62.***.***.***"
"ERROR" 1208 "2018-12-23 06:40:46.920" "Severity: 2 (High), Code: HM4208, Source: ExceptionHandler::Run, Description: An error occured while executing 'IOCPQueueWorkerTask'"
"ERROR" 1208 "2018-12-23 06:40:47.140" "Severity: 1 (Critical), Code: HM5519, Source: StackLogger::Log, Description: An error has been detected. A mini dump has been written to C:\hMailServer\Logs\minidump_2018-12-23 064046_{0F0B0921-CC59-4DFB-81FD-664D247B9379}.dmp"
"ERROR" 2276 "2018-12-23 06:48:55.085" "Severity: 3 (Medium), Code: HM5136, Source: TCPConnection::AsyncReadCompleted, Description: An error occured while parsing data. Data size: 0 Remote IP: 213.***.***.***"
"ERROR" 2276 "2018-12-23 06:48:55.092" "Severity: 2 (High), Code: HM4208, Source: ExceptionHandler::Run, Description: An error occured while executing 'IOCPQueueWorkerTask'"
"ERROR" 2276 "2018-12-23 06:48:55.307" "Severity: 1 (Critical), Code: HM5519, Source: StackLogger::Log, Description: An error has been detected. A mini dump has been written to C:\hMailServer\Logs\minidump_2018-12-23 064855_{92F81D08-3E05-4322-B5DE-D3A52C7125F7}.dmp"
"ERROR" 3836 "2018-12-23 06:59:05.189" "Severity: 3 (Medium), Code: HM5136, Source: TCPConnection::AsyncReadCompleted, Description: An error occured while parsing data. Data size: 0 Remote IP: 213.***.***.***"
"ERROR" 3836 "2018-12-23 06:59:05.194" "Severity: 2 (High), Code: HM4208, Source: ExceptionHandler::Run, Description: An error occured while executing 'IOCPQueueWorkerTask'"
"ERROR" 5124 "2018-12-23 07:09:15.088" "Severity: 3 (Medium), Code: HM5136, Source: TCPConnection::AsyncReadCompleted, Description: An error occured while parsing data. Data size: 0 Remote IP: 213.***.***.***"
"ERROR" 5124 "2018-12-23 07:09:15.089" "Severity: 2 (High), Code: HM4208, Source: ExceptionHandler::Run, Description: An error occured while executing 'IOCPQueueWorkerTask'"
"ERROR" 3836 "2018-12-23 07:14:19.963" "Severity: 3 (Medium), Code: HM5136, Source: TCPConnection::AsyncReadCompleted, Description: An error occured while parsing data. Data size: 0 Remote IP: 62.***.***.***"
"ERROR" 3836 "2018-12-23 07:14:19.967" "Severity: 2 (High), Code: HM4208, Source: ExceptionHandler::Run, Description: An error occured while executing 'IOCPQueueWorkerTask'"
"ERROR" 2276 "2018-12-23 07:21:26.887" "Severity: 3 (Medium), Code: HM5136, Source: TCPConnection::AsyncReadCompleted, Description: An error occured while parsing data. Data size: 0 Remote IP: 62.***.***.***"
"ERROR" 2276 "2018-12-23 07:21:26.889" "Severity: 2 (High), Code: HM4208, Source: ExceptionHandler::Run, Description: An error occured while executing 'IOCPQueueWorkerTask'"
"ERROR" 4156 "2018-12-23 07:26:32.118" "Severity: 3 (Medium), Code: HM5136, Source: TCPConnection::AsyncReadCompleted, Description: An error occured while parsing data. Data size: 0 Remote IP: 62.***.***.***"
"ERROR" 4156 "2018-12-23 07:26:32.128" "Severity: 2 (High), Code: HM4208, Source: ExceptionHandler::Run, Description: An error occured while executing 'IOCPQueueWorkerTask'"
"ERROR" 2344 "2018-12-23 07:29:35.163" "Severity: 3 (Medium), Code: HM5136, Source: TCPConnection::AsyncReadCompleted, Description: An error occured while parsing data. Data size: 0 Remote IP: 213.***.***.***"
"ERROR" 2344 "2018-12-23 07:29:35.164" "Severity: 2 (High), Code: HM4208, Source: ExceptionHandler::Run, Description: An error occured while executing 'IOCPQueueWorkerTask'"
"ERROR" 5124 "2018-12-23 07:39:45.103" "Severity: 3 (Medium), Code: HM5136, Source: TCPConnection::AsyncReadCompleted, Description: An error occured while parsing data. Data size: 0 Remote IP: 213.***.***.***"
"ERROR" 5124 "2018-12-23 07:39:45.104" "Severity: 2 (High), Code: HM4208, Source: ExceptionHandler::Run, Description: An error occured while executing 'IOCPQueueWorkerTask'"
"ERROR" 2344 "2018-12-23 07:40:45.961" "Severity: 3 (Medium), Code: HM5136, Source: TCPConnection::AsyncReadCompleted, Description: An error occured while parsing data. Data size: 0 Remote IP: 62.***.***.***"
"ERROR" 2344 "2018-12-23 07:40:45.962" "Severity: 2 (High), Code: HM4208, Source: ExceptionHandler::Run, Description: An error occured while executing 'IOCPQueueWorkerTask'"
"ERROR" 5124 "2018-12-23 07:41:46.946" "Severity: 3 (Medium), Code: HM5136, Source: TCPConnection::AsyncReadCompleted, Description: An error occured while parsing data. Data size: 0 Remote IP: 62.***.***.***"
"ERROR" 5124 "2018-12-23 07:41:46.953" "Severity: 2 (High), Code: HM4208, Source: ExceptionHandler::Run, Description: An error occured while executing 'IOCPQueueWorkerTask'"
"ERROR" 2344 "2018-12-23 07:55:00.106" "Severity: 3 (Medium), Code: HM5136, Source: TCPConnection::AsyncReadCompleted, Description: An error occured while parsing data. Data size: 0 Remote IP: 213.***.***.***"
"ERROR" 2344 "2018-12-23 07:55:00.111" "Severity: 2 (High), Code: HM4208, Source: ExceptionHandler::Run, Description: An error occured while executing 'IOCPQueueWorkerTask'"
"ERROR" 3904 "2018-12-23 08:10:15.112" "Severity: 3 (Medium), Code: HM5136, Source: TCPConnection::AsyncReadCompleted, Description: An error occured while parsing data. Data size: 0 Remote IP: 213.***.***.***"
"ERROR" 3904 "2018-12-23 08:10:15.122" "Severity: 2 (High), Code: HM4208, Source: ExceptionHandler::Run, Description: An error occured while executing 'IOCPQueueWorkerTask'"
"ERROR" 2764 "2018-12-23 08:12:16.909" "Severity: 3 (Medium), Code: HM5136, Source: TCPConnection::AsyncReadCompleted, Description: An error occured while parsing data. Data size: 0 Remote IP: 62.***.***.***"
"ERROR" 2764 "2018-12-23 08:12:16.910" "Severity: 2 (High), Code: HM4208, Source: ExceptionHandler::Run, Description: An error occured while executing 'IOCPQueueWorkerTask'"
"ERROR" 3904 "2018-12-23 08:20:25.142" "Severity: 3 (Medium), Code: HM5136, Source: TCPConnection::AsyncReadCompleted, Description: An error occured while parsing data. Data size: 0 Remote IP: 213.***.***.***"
"ERROR" 3904 "2018-12-23 08:20:25.143" "Severity: 2 (High), Code: HM4208, Source: ExceptionHandler::Run, Description: An error occured while executing 'IOCPQueueWorkerTask'"
"ERROR" 2276 "2018-12-23 08:21:25.962" "Severity: 3 (Medium), Code: HM5136, Source: TCPConnection::AsyncReadCompleted, Description: An error occured while parsing data. Data size: 0 Remote IP: 62.***.***.***"
"ERROR" 2276 "2018-12-23 08:21:25.964" "Severity: 2 (High), Code: HM4208, Source: ExceptionHandler::Run, Description: An error occured while executing 'IOCPQueueWorkerTask'"
"ERROR" 1208 "2018-12-23 08:27:31.976" "Severity: 3 (Medium), Code: HM5136, Source: TCPConnection::AsyncReadCompleted, Description: An error occured while parsing data. Data size: 0 Remote IP: 62.***.***.***"
"ERROR" 1208 "2018-12-23 08:27:31.981" "Severity: 2 (High), Code: HM4208, Source: ExceptionHandler::Run, Description: An error occured while executing 'IOCPQueueWorkerTask'"
"ERROR" 4156 "2018-12-23 08:27:32.036" "Severity: 3 (Medium), Code: HM5136, Source: TCPConnection::AsyncReadCompleted, Description: An error occured while parsing data. Data size: 0 Remote IP: 62.***.***.***"
"ERROR" 4156 "2018-12-23 08:27:32.038" "Severity: 2 (High), Code: HM4208, Source: ExceptionHandler::Run, Description: An error occured while executing 'IOCPQueueWorkerTask'"
"ERROR" 984 "2018-12-23 08:35:40.135" "Severity: 3 (Medium), Code: HM5136, Source: TCPConnection::AsyncReadCompleted, Description: An error occured while parsing data. Data size: 0 Remote IP: 213.***.***.***"
"ERROR" 984 "2018-12-23 08:35:40.135" "Severity: 2 (High), Code: HM4208, Source: ExceptionHandler::Run, Description: An error occured while executing 'IOCPQueueWorkerTask'"
"ERROR" 4192 "2018-12-23 08:45:50.197" "Severity: 3 (Medium), Code: HM5136, Source: TCPConnection::AsyncReadCompleted, Description: An error occured while parsing data. Data size: 0 Remote IP: 213.***.***.***"
"ERROR" 4192 "2018-12-23 08:45:50.203" "Severity: 2 (High), Code: HM4208, Source: ExceptionHandler::Run, Description: An error occured while executing 'IOCPQueueWorkerTask'"
"ERROR" 1208 "2018-12-23 08:48:52.978" "Severity: 3 (Medium), Code: HM5136, Source: TCPConnection::AsyncReadCompleted, Description: An error occured while parsing data. Data size: 0 Remote IP: 62.***.***.***"
"ERROR" 1208 "2018-12-23 08:48:52.981" "Severity: 2 (High), Code: HM4208, Source: ExceptionHandler::Run, Description: An error occured while executing 'IOCPQueueWorkerTask'"
"ERROR" 1152 "2018-12-23 08:54:58.934" "Severity: 3 (Medium), Code: HM5136, Source: TCPConnection::AsyncReadCompleted, Description: An error occured while parsing data. Data size: 0 Remote IP: 62.***.***.***"
"ERROR" 1152 "2018-12-23 08:54:58.936" "Severity: 2 (High), Code: HM4208, Source: ExceptionHandler::Run, Description: An error occured while executing 'IOCPQueueWorkerTask'"
"ERROR" 1152 "2018-12-23 08:54:59.154" "Severity: 1 (Critical), Code: HM5519, Source: StackLogger::Log, Description: An error has been detected. A mini dump has been written to C:\hMailServer\Logs\minidump_2018-12-23 085458_{FDC06BAC-E2D5-49AB-A3C1-6101199F19E3}.dmp"
"ERROR" 984 "2018-12-23 08:56:00.134" "Severity: 3 (Medium), Code: HM5136, Source: TCPConnection::AsyncReadCompleted, Description: An error occured while parsing data. Data size: 0 Remote IP: 213.***.***.***"
"ERROR" 984 "2018-12-23 08:56:00.143" "Severity: 2 (High), Code: HM4208, Source: ExceptionHandler::Run, Description: An error occured while executing 'IOCPQueueWorkerTask'"
"ERROR" 21116 "2018-12-23 09:11:51.141" "Severity: 3 (Medium), Code: HM5136, Source: TCPConnection::AsyncReadCompleted, Description: An error occured while parsing data. Data size: 0 Remote IP: 213.***.***.***"
"ERROR" 21116 "2018-12-23 09:11:51.142" "Severity: 2 (High), Code: HM4208, Source: ExceptionHandler::Run, Description: An error occured while executing 'IOCPQueueWorkerTask'"
"ERROR" 21116 "2018-12-23 09:11:51.360" "Severity: 1 (Critical), Code: HM5519, Source: StackLogger::Log, Description: An error has been detected. A mini dump has been written to C:\hMailServer\Logs\minidump_2018-12-23 091151_{F3C6ED5F-DF77-4893-9121-FD2E9BD977AE}.dmp"
"ERROR" 21320 "2018-12-23 09:22:01.141" "Severity: 3 (Medium), Code: HM5136, Source: TCPConnection::AsyncReadCompleted, Description: An error occured while parsing data. Data size: 0 Remote IP: 213.***.***.***"
"ERROR" 21320 "2018-12-23 09:22:01.142" "Severity: 2 (High), Code: HM4208, Source: ExceptionHandler::Run, Description: An error occured while executing 'IOCPQueueWorkerTask'"
"ERROR" 21320 "2018-12-23 09:22:01.394" "Severity: 1 (Critical), Code: HM5519, Source: StackLogger::Log, Description: An error has been detected. A mini dump has been written to C:\hMailServer\Logs\minidump_2018-12-23 092201_{FDD717DC-BB4D-4DBF-9463-A1035DBA935C}.dmp"
"ERROR" 21308 "2018-12-23 09:42:21.167" "Severity: 3 (Medium), Code: HM5136, Source: TCPConnection::AsyncReadCompleted, Description: An error occured while parsing data. Data size: 0 Remote IP: 213.***.***.***"
"ERROR" 21308 "2018-12-23 09:42:21.178" "Severity: 2 (High), Code: HM4208, Source: ExceptionHandler::Run, Description: An error occured while executing 'IOCPQueueWorkerTask'"
"ERROR" 21232 "2018-12-23 10:01:40.026" "Severity: 3 (Medium), Code: HM5136, Source: TCPConnection::AsyncReadCompleted, Description: An error occured while parsing data. Data size: 0 Remote IP: 62.***.***.***"
"ERROR" 21232 "2018-12-23 10:01:40.049" "Severity: 2 (High), Code: HM4208, Source: ExceptionHandler::Run, Description: An error occured while executing 'IOCPQueueWorkerTask'"
"ERROR" 21308 "2018-12-23 10:07:46.146" "Severity: 3 (Medium), Code: HM5136, Source: TCPConnection::AsyncReadCompleted, Description: An error occured while parsing data. Data size: 0 Remote IP: 213.***.***.***"
"ERROR" 21308 "2018-12-23 10:07:46.165" "Severity: 2 (High), Code: HM4208, Source: ExceptionHandler::Run, Description: An error occured while executing 'IOCPQueueWorkerTask'"
"ERROR" 18800 "2018-12-23 10:10:48.975" "Severity: 3 (Medium), Code: HM5136, Source: TCPConnection::AsyncReadCompleted, Description: An error occured while parsing data. Data size: 0 Remote IP: 62.***.***.***"
"ERROR" 18800 "2018-12-23 10:10:48.978" "Severity: 2 (High), Code: HM4208, Source: ExceptionHandler::Run, Description: An error occured while executing 'IOCPQueueWorkerTask'"
"ERROR" 18800 "2018-12-23 10:10:52.267" "Severity: 1 (Critical), Code: HM5519, Source: StackLogger::Log, Description: An error has been detected. A mini dump has been written to C:\hMailServer\Logs\minidump_2018-12-23 101048_{2422A705-EB74-4075-9673-BC0C21C77D36}.dmp"
"ERROR" 3652 "2018-12-23 10:12:50.947" "Severity: 3 (Medium), Code: HM5136, Source: TCPConnection::AsyncReadCompleted, Description: An error occured while parsing data. Data size: 0 Remote IP: 213.***.***.***"
"ERROR" 3652 "2018-12-23 10:12:50.948" "Severity: 2 (High), Code: HM4208, Source: ExceptionHandler::Run, Description: An error occured while executing 'IOCPQueueWorkerTask'"
"ERROR" 21116 "2018-12-23 10:17:56.228" "Severity: 3 (Medium), Code: HM5136, Source: TCPConnection::AsyncReadCompleted, Description: An error occured while parsing data. Data size: 0 Remote IP: 213.***.***.***"
"ERROR" 21116 "2018-12-23 10:17:56.230" "Severity: 2 (High), Code: HM4208, Source: ExceptionHandler::Run, Description: An error occured while executing 'IOCPQueueWorkerTask'"
"ERROR" 21116 "2018-12-23 10:18:00.509" "Severity: 1 (Critical), Code: HM5519, Source: StackLogger::Log, Description: An error has been detected. A mini dump has been written to C:\hMailServer\Logs\minidump_2018-12-23 101756_{22841056-FB7F-4857-97BD-254F2C715388}.dmp"
"ERROR" 21156 "2018-12-23 10:30:08.015" "Severity: 3 (Medium), Code: HM5136, Source: TCPConnection::AsyncReadCompleted, Description: An error occured while parsing data. Data size: 0 Remote IP: 62.***.***.***"
"ERROR" 21156 "2018-12-23 10:30:08.044" "Severity: 2 (High), Code: HM4208, Source: ExceptionHandler::Run, Description: An error occured while executing 'IOCPQueueWorkerTask'"
"ERROR" 21156 "2018-12-23 10:30:10.412" "Severity: 1 (Critical), Code: HM5519, Source: StackLogger::Log, Description: An error has been detected. A mini dump has been written to C:\hMailServer\Logs\minidump_2018-12-23 103008_{BCC8BB46-AAF1-4E2E-90B6-275BF5EC8812}.dmp"
"ERROR" 21116 "2018-12-23 10:33:11.232" "Severity: 3 (Medium), Code: HM5136, Source: TCPConnection::AsyncReadCompleted, Description: An error occured while parsing data. Data size: 0 Remote IP: 213.***.***.***"
"ERROR" 21116 "2018-12-23 10:33:11.233" "Severity: 2 (High), Code: HM4208, Source: ExceptionHandler::Run, Description: An error occured while executing 'IOCPQueueWorkerTask'"
"ERROR" 3652 "2018-12-23 10:51:28.997" "Severity: 3 (Medium), Code: HM5136, Source: TCPConnection::AsyncReadCompleted, Description: An error occured while parsing data. Data size: 0 Remote IP: 62.***.***.***"
"ERROR" 3652 "2018-12-23 10:51:29.021" "Severity: 2 (High), Code: HM4208, Source: ExceptionHandler::Run, Description: An error occured while executing 'IOCPQueueWorkerTask'"
"ERROR" 3652 "2018-12-23 10:51:31.386" "Severity: 1 (Critical), Code: HM5519, Source: StackLogger::Log, Description: An error has been detected. A mini dump has been written to C:\hMailServer\Logs\minidump_2018-12-23 105129_{DA816FEE-3B4C-4563-8D4D-95E02A99CD52}.dmp"
"ERROR" 5232 "2018-12-23 11:47:55.682" "Severity: 3 (Medium), Code: HM5136, Source: TCPConnection::AsyncReadCompleted, Description: An error occured while parsing data. Data size: 0 Remote IP: 213.***.***.***"
"ERROR" 5232 "2018-12-23 11:47:56.028" "Severity: 2 (High), Code: HM4208, Source: ExceptionHandler::Run, Description: An error occured while executing 'IOCPQueueWorkerTask'"
"ERROR" 5232 "2018-12-23 11:48:19.737" "Severity: 1 (Critical), Code: HM5519, Source: StackLogger::Log, Description: An error has been detected. A mini dump has been written to C:\hMailServer\Logs\minidump_2018-12-23 114813_{671D95F9-ACD8-4E18-ABA1-264C538A07BA}.dmp"

User avatar
mattg
Moderator
Moderator
Posts: 19811
Joined: 2007-06-14 05:12
Location: 'The Outback' Australia

Re: Error download mail external pop

Post by mattg » 2018-12-23 15:23

My guess is that your antivirus is holding the message and checking and hMailserver doesn't like that

What Antivirus do you have on that system?
Can you disable it for a few minutes and manually force an external account download

OR
can you log onto the webmail for that account and look at the oldest message that is not yet downloaded
Just 'cause I link to a page and say little else doesn't mean I am not being nice.
https://www.hmailserver.com/documentation

mic.max
New user
New user
Posts: 26
Joined: 2009-06-16 17:01

Re: Error download mail external pop

Post by mic.max » 2018-12-23 17:24

I use clamAV antivirus configured on HM port 3310 version is 0.101 !

Yes i can try all, now test to disable antivirus !


I try to disable antivirus and force download of external mailbox and now seems to work fine, all messages are downaloaded and no error in log !


Is possible some AV configuration responsible of this?


My AV conf file is this:
PidFile C:\ClamAV\clamd.pid
LogFile C:\ClamAV\clamd.log
DatabaseDirectory C:\ClamAV\db
TemporaryDirectory C:\ClamAV\tmp
TCPSocket 3310
TCPAddr 127.0.0.1
DetectPUA yes
DetectBrokenExecutables yes
HeuristicScanPrecedence yes
AlertEncrypted yes
StreamMaxLength 50M
ExcludePUA Packed
ExcludePUA PUA.Win.Packer
MaxScanSize 450M
MaxFileSize 450M
MaxEmbeddedPE 100M
MaxHTMLNoTags 10M
MaxScriptNormalize 10M
MaxHTMLNormalize 10M
MaxRecursion 30
ScanHWP3 yes
MaxRecHWP3 32
PCREMatchLimit 20000
ScanXMLDOCS yes

mic.max
New user
New user
Posts: 26
Joined: 2009-06-16 17:01

Re: Error download mail external pop

Post by mic.max » 2018-12-23 17:42

No sorry same error with AV disabled !!!

"ERROR" 5280 "2018-12-23 16:32:56.154" "Severity: 3 (Medium), Code: HM5136, Source: TCPConnection::AsyncReadCompleted, Description: An error occured while parsing data. Data size: 0 Remote IP: 62.***.***.***"
"ERROR" 5280 "2018-12-23 16:32:56.157" "Severity: 2 (High), Code: HM4208, Source: ExceptionHandler::Run, Description: An error occured while executing 'IOCPQueueWorkerTask'"
"ERROR" 5280 "2018-12-23 16:32:56.343" "Severity: 1 (Critical), Code: HM5519, Source: StackLogger::Log, Description: An error has been detected. A mini dump has been written to C:\hMailServer\Logs\minidump_2018-12-23 163256_{EE9A1162-8135-4CD9-B775-86B76C8A7DB1}.dmp"
"ERROR" 5296 "2018-12-23 16:37:00.383" "Severity: 3 (Medium), Code: HM5136, Source: TCPConnection::AsyncReadCompleted, Description: An error occured while parsing data. Data size: 0 Remote IP: 213.***.***.***"
"ERROR" 5296 "2018-12-23 16:37:00.387" "Severity: 2 (High), Code: HM4208, Source: ExceptionHandler::Run, Description: An error occured while executing 'IOCPQueueWorkerTask'"



Now try disable spamassassin !

User avatar
Dravion
Senior user
Senior user
Posts: 1337
Joined: 2015-09-26 11:50
Location: Germany
Contact:

Re: Error download mail external pop

Post by Dravion » 2018-12-23 21:00

The root cause is hMailServer Error code HM5136

This Error occurs if an outside SMTP-Server contacted hMailserver to devliver a new Email.
hMailServer has established the connection (wihout any error at this time) and the Remote SMTP-Server goes ahead, sends the
SMTP "DATA" Command and finished it with the "." Command and disconnects from hMailServer (without any error).

However:
In this state the whole Email Information isnt allready saved to disk, its in a prestate condiditon and saved in a receivebuffer (a variable)
and needs to be processed before it can be saved to disk as *.eml file. Exactly at this moment, the function in charge parseData() is failing
on reading the Emaildata and crashes the entire hMailServer Process because the error isnt catched by a try catch block.

This is the Error causing function:
void SMTPConnection::ParseData(std::shared_ptr<ByteBuffer> pBuf) / File: SMTPConnection.cpp, Line: 871
See: https://github.com/hmailserver/hmailser ... n.cpp#L871

This is a bug and cannot be solved by a user, except if the user can filter out such Emails before it reaches the hMailServer

I think, the best way to solve this Type of Errors would be to change the above mentioned function code in a way that such maleformed
Emails can be securely dropped (which will prevent the server to crash). Finally a Logentry should be created so the Administrator
has a clue whats happend.

Problem:
*Hard to recreate the Error causing situation on a Developer Machine without the Error causing EML-File.
64-Bit builds of hMailserver

hMailServer-5.6.+ (HCD) https://github.com/hMailServer-ComDevs/hmailserver
hMailServer-5.6.+ (LTS) https://github.com/Dravion/hMailServer/releases

User avatar
jimimaseye
Moderator
Moderator
Posts: 7956
Joined: 2011-09-08 17:48

Re: Error download mail external pop

Post by jimimaseye » 2018-12-23 22:13

I have had the error once or twice myself over the years and there is no obvious cause for these random runaway iocp process errors. A restart of the service will suffice and things will continue normally.

Stopping spamassassin will not make any difference as that only gets involved when an email has been passed to it but in this case the email hasn't even arrived.

[Entered by mobile. Excuse my spelling.]
HMS 5.6.6 B2383 on Win Server 2008 R2 Foundation, + 5.6.7-B2415 on test.
SpamassassinForWindows 3.4.0 spamd service
AV: Clamwin + Clamd service + sanesecurity defs : https://www.hmailserver.com/forum/viewtopic.php?f=21&t=26829

User avatar
mattg
Moderator
Moderator
Posts: 19811
Joined: 2007-06-14 05:12
Location: 'The Outback' Australia

Re: Error download mail external pop

Post by mattg » 2018-12-23 23:33

Dravion wrote:
2018-12-23 21:00
The root cause is hMailServer Error code HM5136

This Error occurs if an outside SMTP-Server contacted hMailserver to devliver a new Email.
hMailServer has established the connection (wihout any error at this time) and the Remote SMTP-Server goes ahead, sends the
SMTP "DATA" Command and finished it with the "." Command and disconnects from hMailServer (without any error).

However:
In this state the whole Email Information isnt allready saved to disk, its in a prestate condiditon and saved in a receivebuffer (a variable)
and needs to be processed before it can be saved to disk as *.eml file. Exactly at this moment, the function in charge parseData() is failing
on reading the Emaildata and crashes the entire hMailServer Process because the error isnt catched by a try catch block.

This is the Error causing function:
void SMTPConnection::ParseData(std::shared_ptr<ByteBuffer> pBuf) / File: SMTPConnection.cpp, Line: 871
See: https://github.com/hmailserver/hmailser ... n.cpp#L871
I still think that the local machine AV is quarantining the .eml at this point in time as the Data Directory hasn't been excluded from AV scanning.
If the email contians a virus, the AV won't allow that virus to be written to disk - and I don't believe that this has anything to to do with hMailserver's built in virus scanning, but just how the AV behaves for the entire file system...
Just 'cause I link to a page and say little else doesn't mean I am not being nice.
https://www.hmailserver.com/documentation

User avatar
Dravion
Senior user
Senior user
Posts: 1337
Joined: 2015-09-26 11:50
Location: Germany
Contact:

Re: Error download mail external pop

Post by Dravion » 2018-12-24 02:13

mattg wrote: I still think that the local machine AV is quarantining the .eml at this point in time as the Data Directory hasn't been excluded from AV scanning.
If the email contians a virus, the AV won't allow that virus to be written to disk
Thats unlikely because hMailServer doesnt save the variable to Disk a this point in time, it crashes before the code which saves the Emailcontent to the DATA Folder as *.eml file is executed.

I have had a diffrent case in the last days with a Crashfump of hMailServer.exe (not mentioned in the Forum) which has allmost the same circumstances.
According to Debbuger Diagnostic Results, it points to the same Problemfumction.

Anyhow:
No AV Software or wrong read/write permissions should ever lead to a service crash. A known way to Crash hMailServer from the Internet can be exploitet and in a worst case scenario, an Attacker can gain access to the Localmachine Account
which has the highest permissions on a Windows Computer. Such an attacker could download maleware and takeover the complete Computer.

Such crashes are never unproblematic and should never be underestimated.

However:
Until we have more clarfication or a proof of concept exploit, it is best to run the hMailServer Service with less Permissions, atleast if hMailServer is running directly on the Internet and wothout using a Relayerver in gront of it.

I recommend the "Network Local Service" Windows account for now.
64-Bit builds of hMailserver

hMailServer-5.6.+ (HCD) https://github.com/hMailServer-ComDevs/hmailserver
hMailServer-5.6.+ (LTS) https://github.com/Dravion/hMailServer/releases

User avatar
mattg
Moderator
Moderator
Posts: 19811
Joined: 2007-06-14 05:12
Location: 'The Outback' Australia

Re: Error download mail external pop

Post by mattg » 2018-12-24 03:46

Dravion wrote:
2018-12-24 02:13
mattg wrote: I still think that the local machine AV is quarantining the .eml at this point in time as the Data Directory hasn't been excluded from AV scanning.
If the email contians a virus, the AV won't allow that virus to be written to disk
Thats unlikely because hMailServer doesnt save the variable to Disk a this point in time, it crashes before the code which saves the Emailcontent to the DATA Folder as *.eml file is executed.
Yep

As the .eml file is being written to disk
Dravion wrote:
2018-12-24 02:13
A known way to Crash hMailServer from the Internet can be exploitet and in a worst case scenario
Once hmailserver crashes with the dump, it restarts automatically
Just 'cause I link to a page and say little else doesn't mean I am not being nice.
https://www.hmailserver.com/documentation

User avatar
Dravion
Senior user
Senior user
Posts: 1337
Joined: 2015-09-26 11:50
Location: Germany
Contact:

Re: Error download mail external pop

Post by Dravion » 2018-12-24 06:07

As the .eml file is being written to disk
The saveto *.eml file Function is called AFTER the ParseData Function but it crashes allready at the ParseData Function and never reaches the Saveto *.eml Function.
Once hmailserver crashes with the dump, it restarts automatically
Thats true, but the new hMailServer gets a brand new Addressspace by the Windows Virtual Memory Manager which has nothing todo with the Addressspace of the previously crashed hMailServer
Proccess.

Now it gets really complicated:
A Hacker (i mean real Hacker, not a Scriptkid) can craft a peace of Binary Machine Code, called Shellcode and place it into the Addressspace of the crashing hMailServer.exe Process and can invoke malicious commands with the privilleges of the Localmachine account, which has unfortentlly higher permissions as a Windows Administrator Account. Now the injected shellcode can start EXE Programs, BAT or VBS Commands, download and start downloaded Trojans ect. This type of bugs is called a Remote Code Execution Exploit (RCE) and is really nasty and a Systems Administrators worst Nightmare.

There are builtin Countermeasures in Windows for example the Data Execution Prevention (DEP) and
Address Space Layout Randomization (ASLR)
(stolen from the OpenBSD/LibreSSL Project) but this doesnt stop a real Hacker.
64-Bit builds of hMailserver

hMailServer-5.6.+ (HCD) https://github.com/hMailServer-ComDevs/hmailserver
hMailServer-5.6.+ (LTS) https://github.com/Dravion/hMailServer/releases

mic.max
New user
New user
Posts: 26
Joined: 2009-06-16 17:01

Re: Error download mail external pop

Post by mic.max » 2018-12-24 14:47

Error occour on download via pop3 external mailbox, HM don't delete old message and Always download it as new message and duplicate them. I manual deleted message in a webmail and no error in this moment. I think this occour after i update HM to 5.6.8, after i try to install 5.7.0 x64 artifact but the problem persist, i solved with procedure up descripted.

User avatar
Dravion
Senior user
Senior user
Posts: 1337
Joined: 2015-09-26 11:50
Location: Germany
Contact:

Re: Error download mail external pop

Post by Dravion » 2018-12-24 16:13

Yeah, the Function in question parseData exists in allmost the same form for SMTP/POP3 and IMAP.

Unfortently there is no hMailServer Hotfix avaiable for it. I will file it as a bug and maybe Martin will take care of it.
64-Bit builds of hMailserver

hMailServer-5.6.+ (HCD) https://github.com/hMailServer-ComDevs/hmailserver
hMailServer-5.6.+ (LTS) https://github.com/Dravion/hMailServer/releases

mic.max
New user
New user
Posts: 26
Joined: 2009-06-16 17:01

Re: Error download mail external pop

Post by mic.max » 2018-12-24 17:46

I can give to developer a minidump file created for analisys !!

User avatar
Dravion
Senior user
Senior user
Posts: 1337
Joined: 2015-09-26 11:50
Location: Germany
Contact:

Re: Error download mail external pop

Post by Dravion » 2018-12-24 18:53

mic.max wrote:
2018-12-24 17:46
I can give to developer a minidump file created for analisys !!
Please attach your Minidump to your next reply
64-Bit builds of hMailserver

hMailServer-5.6.+ (HCD) https://github.com/hMailServer-ComDevs/hmailserver
hMailServer-5.6.+ (LTS) https://github.com/Dravion/hMailServer/releases

mic.max
New user
New user
Posts: 26
Joined: 2009-06-16 17:01

Re: Error download mail external pop

Post by mic.max » 2018-12-25 00:27

dump attached
Attachments
minidump.zip
(81.11 KiB) Downloaded 22 times

User avatar
Dravion
Senior user
Senior user
Posts: 1337
Joined: 2015-09-26 11:50
Location: Germany
Contact:

Re: Error download mail external pop

Post by Dravion » 2018-12-25 11:17

The Crashdump didnt provice much more Information then we allready know.

There are two things which are important:

1) A probaly malicious or malformed Email is arriving hMailServer and leads to the crash while hMailServer is trying to handle it
2) The unknown, problematic Email cannot be saved, regardles if hMailServer crashes or not


Solution (IMHO)
There is only one possible way to fix this kind of Problem:
Drop the entire thing and catch the unhandled Access Violation Exception by Programmcode

This will not save the Error causing Email in any shape or form. The only thing we can do, is to log the Error
in hMailServers log and continue the operation.

Its not the best solution, but right know i have no better idea solve this Problem.
64-Bit builds of hMailserver

hMailServer-5.6.+ (HCD) https://github.com/hMailServer-ComDevs/hmailserver
hMailServer-5.6.+ (LTS) https://github.com/Dravion/hMailServer/releases

User avatar
Dravion
Senior user
Senior user
Posts: 1337
Joined: 2015-09-26 11:50
Location: Germany
Contact:

Re: Error download mail external pop

Post by Dravion » 2018-12-25 12:24

I filed this as official bug on the hMailServer Github Issue page

See:
https://github.com/hmailserver/hmailserver/issues/276

This will inform Martin the Core Developer of hMailServer, so any official response should take place at this page.
64-Bit builds of hMailserver

hMailServer-5.6.+ (HCD) https://github.com/hMailServer-ComDevs/hmailserver
hMailServer-5.6.+ (LTS) https://github.com/Dravion/hMailServer/releases

mic.max
New user
New user
Posts: 26
Joined: 2009-06-16 17:01

Re: Error download mail external pop

Post by mic.max » 2018-12-25 12:33

Ok thank you Dravion for support,

i can debug HM operation and post log file.

User avatar
Dravion
Senior user
Senior user
Posts: 1337
Joined: 2015-09-26 11:50
Location: Germany
Contact:

Re: Error download mail external pop

Post by Dravion » 2018-12-25 13:06

mic.max wrote:
2018-12-25 12:33
Ok thank you Dravion for support,

i can debug HM operation and post log file.
This will be helpfull.
Make sure you enabled all the checkboxes in hMailAdmin for logging, so we get a very detailed logfiles.
64-Bit builds of hMailserver

hMailServer-5.6.+ (HCD) https://github.com/hMailServer-ComDevs/hmailserver
hMailServer-5.6.+ (LTS) https://github.com/Dravion/hMailServer/releases

mic.max
New user
New user
Posts: 26
Joined: 2009-06-16 17:01

Re: Error download mail external pop

Post by mic.max » 2018-12-25 19:08

SOLVED!

An incorrect IP RANGE rule cause this problem, i correct this now all work fine !

User avatar
jimimaseye
Moderator
Moderator
Posts: 7956
Joined: 2011-09-08 17:48

Re: Error download mail external pop

Post by jimimaseye » 2018-12-25 20:18

Could you share the detail please?
HMS 5.6.6 B2383 on Win Server 2008 R2 Foundation, + 5.6.7-B2415 on test.
SpamassassinForWindows 3.4.0 spamd service
AV: Clamwin + Clamd service + sanesecurity defs : https://www.hmailserver.com/forum/viewtopic.php?f=21&t=26829

mic.max
New user
New user
Posts: 26
Joined: 2009-06-16 17:01

Re: Error download mail external pop

Post by mic.max » 2018-12-25 20:35

yes

i noticed that an rule My Local lan ip address 192.168.1.1-192.168.1.255 create problem with rule 127.0.0.1 because a mailserver 127.0.0.1 have a ip address 192.168.1.80, the only difference on this two rule is in
MY LOCAL LAN (192.168.1.1-192.168.1.255)
Require SMTP authentication
yes from local to local email address
yes from local to external email address
Priority 13

My computer (127.0.0.1-127.0.0.1)
Require SMTP authentication
no from local to local email address
no from local to external email address
Priority 15

mic.max
New user
New user
Posts: 26
Joined: 2009-06-16 17:01

Re: Error download mail external pop

Post by mic.max » 2018-12-26 13:22

REOPEN ! NOT SOLVED ERROR OCCOUR AGAIN

I think i solved error, but no this, error occour again, because i manually deleted old mail from webmail, but today the mail before the 7 day set on delete email in external mail download cause error.

User avatar
jimimaseye
Moderator
Moderator
Posts: 7956
Joined: 2011-09-08 17:48

Re: Error download mail external pop

Post by jimimaseye » 2018-12-26 13:33

I recommend you go back from your 5.7 alpha version to using a production version or one of the maintained 5.6.8 versions currently offered by our contributors.

http://www.hmailserver.com/forum/viewto ... 60#p203420

His latest: https://d-fault.nl/files/
HMS 5.6.6 B2383 on Win Server 2008 R2 Foundation, + 5.6.7-B2415 on test.
SpamassassinForWindows 3.4.0 spamd service
AV: Clamwin + Clamd service + sanesecurity defs : https://www.hmailserver.com/forum/viewtopic.php?f=21&t=26829

User avatar
Dravion
Senior user
Senior user
Posts: 1337
Joined: 2015-09-26 11:50
Location: Germany
Contact:

Re: Error download mail external pop

Post by Dravion » 2018-12-26 13:56

I expected this.

However:
Martin the Main-Developer of hMailServer responded to this Problem

See:
https://github.com/hmailserver/hmailserver/issues/276

He doesnt agree with me right now, that the recommended code changes would help, but iam pretty confident it would atleast prevents
hMailServer Installations (which facing this sort of Problem with Errorcode HM5136 involved) from crashing and providing a log entry which
explain that a Malformed Email arrived hMailServer and that it was dropped for security reasons.

Solution:
I will include this Patch in my 32-Bit and 64-Bit Long Term Service (LTS) realeases and file it as Pull request for hMailServer official, so its
up to Martin to Merge the Patch into the official version of hMailServer or not.

The Patched Installer can be downloaded here, if its ready (this can take a few days)
https://github.com/Dravion/hmailserver/releases

For more Information about my hMailServer Longterm Service (LTS) Fork goto
https://github.com/Dravion/hmailserver
64-Bit builds of hMailserver

hMailServer-5.6.+ (HCD) https://github.com/hMailServer-ComDevs/hmailserver
hMailServer-5.6.+ (LTS) https://github.com/Dravion/hMailServer/releases

mic.max
New user
New user
Posts: 26
Joined: 2009-06-16 17:01

Re: Error download mail external pop

Post by mic.max » 2018-12-26 14:00

Ok

I try to downgrade to versione 5.6.8, i use 5.7.0 because this version is x64 version

User avatar
Dravion
Senior user
Senior user
Posts: 1337
Joined: 2015-09-26 11:50
Location: Germany
Contact:

Re: Error download mail external pop

Post by Dravion » 2018-12-26 14:16

@mic.max

This doesnt solve anything because the code changes required to solve your Problem is currently in no version of hMailServer included.

Iam working on a patch, please wait until its avaible (within 1-2 Days)

And if you decide to use it, please report back if the Problem was rellay solved.

Watch this site, i will upload the patched Installer as soon it is ready ready
https://github.com/Dravion/hmailserver/releases
64-Bit builds of hMailserver

hMailServer-5.6.+ (HCD) https://github.com/hMailServer-ComDevs/hmailserver
hMailServer-5.6.+ (LTS) https://github.com/Dravion/hMailServer/releases

mic.max
New user
New user
Posts: 26
Joined: 2009-06-16 17:01

Re: Error download mail external pop

Post by mic.max » 2018-12-26 16:48

@dravion

Ok wait for Patched version and test IT! Thank you...

Can you inform me when release it?

User avatar
Dravion
Senior user
Senior user
Posts: 1337
Joined: 2015-09-26 11:50
Location: Germany
Contact:

Re: Error download mail external pop

Post by Dravion » 2018-12-26 16:58

Yeah, i wil reply in this thread when its ready
64-Bit builds of hMailserver

hMailServer-5.6.+ (HCD) https://github.com/hMailServer-ComDevs/hmailserver
hMailServer-5.6.+ (LTS) https://github.com/Dravion/hMailServer/releases

User avatar
Dravion
Senior user
Senior user
Posts: 1337
Joined: 2015-09-26 11:50
Location: Germany
Contact:

Re: Error download mail external pop

Post by Dravion » 2018-12-28 21:10

Hi,

Sorry, it took longer as expected.

My first idea getting this Problem solved wasnt sufficient and seems not a good idea in itself.

The only thing left is, to get to the bottom of this Problem and trying to fix it by sanitizing the inputbuffer
before a Error can happen. This is a tedious Job and will take some time, but i cannot say how long.
64-Bit builds of hMailserver

hMailServer-5.6.+ (HCD) https://github.com/hMailServer-ComDevs/hmailserver
hMailServer-5.6.+ (LTS) https://github.com/Dravion/hMailServer/releases

mic.max
New user
New user
Posts: 26
Joined: 2009-06-16 17:01

Re: Error download mail external pop

Post by mic.max » 2018-12-29 13:45

ok

Thank you @dravion for support, i test every new version you make and I will wait when available.

User avatar
Dravion
Senior user
Senior user
Posts: 1337
Joined: 2015-09-26 11:50
Location: Germany
Contact:

Re: Error download mail external pop

Post by Dravion » 2018-12-29 15:57

Thats what a developer likes to hear :)

Ok, i think this cannot be solved within the Longterm Term Support (LTS) Branch.
I will add this new reliability features into future hMailServer Community Developers (HCD) Releases because this means a lot of work

Hint:
LTS-Releases will only get bugfixes (if it's not broken it wont be fixed)
https://github.com/Dravion/hmailserver/

HCD-Releases will get the new features, improvements, development Main focus
https://github.com/hMailServer-ComDevs
64-Bit builds of hMailserver

hMailServer-5.6.+ (HCD) https://github.com/hMailServer-ComDevs/hmailserver
hMailServer-5.6.+ (LTS) https://github.com/Dravion/hMailServer/releases

mic.max
New user
New user
Posts: 26
Joined: 2009-06-16 17:01

Re: Error download mail external pop

Post by mic.max » 2019-01-19 21:07

I downgrade to 5.6.7 latest production release and seems to work fine, no error log and minidump! Why this?

User avatar
RvdH
Senior user
Senior user
Posts: 746
Joined: 2008-06-27 14:42
Location: Netherlands

Re: Error download mail external pop

Post by RvdH » 2019-01-19 22:31

mic.max wrote:
2019-01-19 21:07
I downgrade to 5.6.7 latest production release and seems to work fine, no error log and minidump! Why this?
64-bit support is very experimental, hence the lack of a official 64-bit distribution on the official channel... could be as simple as a wrong int/size conversion
CIDR to RegEx: d-fault.nl/CIDRtoRegEx
DNS Lookup: d-fault.nl/DNSTools
DNSBL Lookup: d-fault.nl/DNSBLLookup
GEOIP Lookup: d-fault.nl/GeoipLookup

mic.max
New user
New user
Posts: 26
Joined: 2009-06-16 17:01

Re: Error download mail external pop

Post by mic.max » 2019-01-20 14:09

ok tnx

derelvis
New user
New user
Posts: 18
Joined: 2018-11-19 19:15

Re: Error download mail external pop

Post by derelvis » 2019-03-10 15:25

Hi there,

switched to HMS version 5.6.7-B2427 (x64) this weekend because of bad aloc errors when using 5.6.7-B2425 but check of memtest and chkdsk where ok.
In addition I also switched from MSSQL CE to MSSQL Expr. 2014.
No I am seeing this kind of errors here too very frequently and sometimes creating of minidumps, but sometimes not:

"ERROR" 11232 "2019-03-10 12:18:28.826" "Severity: 3 (Medium), Code: HM5136, Source: TCPConnection::AsyncReadCompleted, Description: An error occured while parsing data. Data size: 0 Remote IP: 91.217.36.7"
"ERROR" 11232 "2019-03-10 12:18:28.826" "Severity: 2 (High), Code: HM4208, Source: ExceptionHandler::Run, Description: An error occured while executing 'IOCPQueueWorkerTask'"
"ERROR" 11232 "2019-03-10 12:18:29.106" "Severity: 1 (Critical), Code: HM5519, Source: StackLogger::Log, Description: An error has been detected. A mini dump has been written to C:\Program Files (x86)\hMailServer\Logs\minidump_2019-03-10 121828_{C4FFCA21-9543-44FC-986E-53138BCD557C}.dmp"
"ERROR" 5380 "2019-03-10 13:00:11.476" "Severity: 3 (Medium), Code: HM5136, Source: TCPConnection::AsyncReadCompleted, Description: An error occured while parsing data. Data size: 0 Remote IP: 91.217.36.7"
"ERROR" 5380 "2019-03-10 13:00:11.492" "Severity: 2 (High), Code: HM4208, Source: ExceptionHandler::Run, Description: An error occured while executing 'IOCPQueueWorkerTask'"
"ERROR" 5380 "2019-03-10 13:00:11.804" "Severity: 1 (Critical), Code: HM5519, Source: StackLogger::Log, Description: An error has been detected. A mini dump has been written to C:\Program Files (x86)\hMailServer\Logs\minidump_2019-03-10 130011_{616B9297-AEF3-4A42-B980-7AAD33334BD9}.dmp"
"ERROR" 5380 "2019-03-10 13:03:14.341" "Severity: 3 (Medium), Code: HM5136, Source: TCPConnection::AsyncReadCompleted, Description: An error occured while parsing data. Data size: 0 Remote IP: 91.217.36.7"
"ERROR" 5380 "2019-03-10 13:03:14.341" "Severity: 2 (High), Code: HM4208, Source: ExceptionHandler::Run, Description: An error occured while executing 'IOCPQueueWorkerTask'"
"ERROR" 5380 "2019-03-10 13:03:14.638" "Severity: 1 (Critical), Code: HM5519, Source: StackLogger::Log, Description: An error has been detected. A mini dump has been written to C:\Program Files (x86)\hMailServer\Logs\minidump_2019-03-10 130314_{3C49A031-8AE1-4491-955A-81083C5206E8}.dmp"

Please let me know if I can support with some information.
And thanks for all your great work and support! :-)

derelvis
HMS 5.7.0-B2428 (x64) - MySQL 8.0.15 (DB version 5700)
ClamWin0.99.4 + Clamd service - SpamAssassin 3.4.1.38
Windows Server 2012 - 64Bit

User avatar
Dravion
Senior user
Senior user
Posts: 1337
Joined: 2015-09-26 11:50
Location: Germany
Contact:

Re: Error download mail external pop

Post by Dravion » 2019-03-10 16:01

Can you access the same Inbox via Imap without Errors?
64-Bit builds of hMailserver

hMailServer-5.6.+ (HCD) https://github.com/hMailServer-ComDevs/hmailserver
hMailServer-5.6.+ (LTS) https://github.com/Dravion/hMailServer/releases

derelvis
New user
New user
Posts: 18
Joined: 2018-11-19 19:15

Re: Error download mail external pop

Post by derelvis » 2019-03-13 17:56

Dravion wrote:
2019-03-10 16:01
Can you access the same Inbox via Imap without Errors?
Sorry, but no. I only have POP3 access to this mailbox and webmail which seems to be ok.
HMS 5.7.0-B2428 (x64) - MySQL 8.0.15 (DB version 5700)
ClamWin0.99.4 + Clamd service - SpamAssassin 3.4.1.38
Windows Server 2012 - 64Bit

Post Reply