Messages stuck at "Spam Check"
Problem reported by Benjamin Tompkins - April 18, 2017 at 2:27 AM
We have a recent rash of messages that are stuck in the spool at the "Spam Check" phase. They have to be manually removed or they will bring all mail delivery to a halt. CPU skyrockets, spool fills up, everything slows down while Smartermail tries to deal with a handful of these. The message content looks to be some spam image links, then an incomplete <style> directive with a bunch of filler to try to get past size limit scanning. They look to be delivered by a botnet so source blocking isn't feasible. Here is a sample. 
Return-Path: <>
Received: from ( []) by XXXX with SMTP;
   Tue, 18 Apr 2017 04:38:44 -0400
Received: from localhost ( by id hun88c16lt0r for <XXXX>; Mon, 17 Apr 2017 20:46:51 -0400 (envelope-from <>)
MIME-Version: 1.0
Precedence: Normal
From: Dan Felbern <>
Subject: Government to Ban This Natural Pain Reliever?
Content-Type: text/html
Date: Mon, 17 Apr 2017 16:07:19 -0400

<CENTER><a href="hxxp://*dtcfgdvbvbvcb=oth.2odu.1m8vab4.4hc6e.c0bld__3fgu2qVfn/00034n"><br><img src="hxxp://"></a></CENTER>
<CENTER><a href="hxxp://*dtcfgdvbvbvcb=oth.2odu.1m8vab4.4hc6e.c0bld__3fgu2qVfn/00034n"><br><img src="hxxp://"><h3></a></CENTER>
<CENTER><a href="hxxp://*dtcfgdvbvbvcb=oth.2odu.1m8vab4.4hc6e.c0bld__3fgu2qVfn/00034n"><img src="hxxp://"></a></CENTER>
<CENTER><img src="hxxp://*dtcfgdvbvbvcb=oth.2odu.1m8vab4.4hc6e.c0bld__3fgu2qVfn/00034n"width=1/> </CENTER>

on til it reaches 957k.
Any idea on how to block these?

7 Replies

Reply to Thread
I am having the exact same problem with the exact same messages. I had to do a EHLO block of to stop these messages. I also had to turn off the indexing service because once two of these messages get stuck in the processing queue the server slows to a crawl. 
My guess is Smartermail is having problems parsing these messages. 
The URI blacklist checks have huge delays with these messages but for unknown reasons turning off URIBL checks still does not prevent the messages from getting stuck in the "Spam Check" phase.

Any help on this would be appreciated. 
We've been dealing with a backed up queue since yesterday. Is deleting these messages helping to get the queue moving for you guys?
Employee Replied
Employee Post
Benjamin, likely something in the content of these messages is hanging up the spam check process, and leading to a stalled spool. I've sent you a PM with the custom build download link so you can give this a try - as it should resolve those issues. This fix will also be included in our next minor release.
That aside, stalled spool issues involving "Spam Check" status can vary in cause, and in the behavior they present. As such, we recommend submitting a support ticket to allow us to investigate further. If its determined the issue is related to a bug, we'll refund the support ticket back to your account. Thanks for reading! Have a great day!
Count another that is having the same problem (we've been having it since the 14th). Posted in before I found this thread. I did find a lot more as to what is causing the high CPU than is listed here if you need specific details as to what Strings are causing the problem and that it is generating massive Windows Heap Dumps (.HDMP files) every time one of these emails is touched by Smartermail. 
If you need immediate relief we were able to map out the spamnet that was sending these malformed messages. Until Smartools gets around to fixing the issue blocking these IP Ranges in SECURITY > BLACKLIST has helped us without a single re-occurrence for the past 4 days.
IP Block Range
Description (Network Owner, Country) -
Kaam Badwan (WholeSale Internet, Inc.) -
HOTServers LLC (OVH Hosting, Inc.) -
OVH Hosting, Inc. (UK) -
Inter Net Bilgisayar Ltd. Sti -
Hetzner Online GmbH (DE) -
QuadraNet, Inc -
Datis Media Ltd (DFW Datacenter)
Iliad Entreprises (FR) -
Innovative Scaling Technologies -
Foroquimica SL -
ServerPronto (Infolink Global) -
Ecaterina Varga (DataShack, LC) - (LT) -
Galaxy Traiding Ltd (BG) -
Nice work, Scarab. I am using a 3rd party filter and have not seen this issue, but kudos!
Anyone know if there is a fix in for this, add another to the list of people having the issue.  I'll give a try to adding those blacklist.

Reply to Thread