You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@spamassassin.apache.org by Daniel Albuschat <d....@gmail.com> on 2007/03/14 15:10:25 UTC
False positive by FUZZY_OCR
Hello,
a co-worker recently got a reply from a customer's mailserver stating
that his e-mail was SPAM and therefore has not been delivered.
I've analysed the scores and fixed most of them in our mail-application,
but the biggest one is FUZZY_OCR.
Here's a link to the image which is embedded into HTML and sent
as a PNG file:
http://treesoft.de/Images/Logos/TsLogo.gif
It's our company's logo, and we're a software-manufacturer. We don't
sell stolen OEM software to non-OEM customers and we don't
sell those certain blue pills.
Here's the main part of the original reply:
SMTP error from remote server after transfer of mail text:
host svmailgate1.tbits.net[81.3.8.168]:
550-5.7.1 message was identified as junk mail, score 7.60/5.00
550-5.7.1 2.4 X_LIBRARY Message has X-Library header
550-5.7.1 1.1 EXTRA_MPART_TYPE Header has extraneous
Content-type:...type= entry
550-5.7.1 0.1 FORGED_RCVD_HELO Received: contains a forged HELO
550-5.7.1 -2.6 BAYES_00 BODY: Bayesian spam probability is 0 to 1p
550-5.7.1 1.1 MIME_HTML_MOSTLY BODY: Multipart message mostly
text/html MIME
550-5.7.1 0.2 HTML_TITLE_EMPTY BODY: HTML title contains no text
550-5.7.1 0.3 MIME_BOUND_NEXTPART Spam tool pattern in MIME boundary
550 5.7.1 5.0 FUZZY_OCR BODY: Mail contains an image
with common spam text
I fixed X_LIBRARY, MIME_BOUND_NEXTPART and HTML_TITLE_EMPTY.
The first two were triggered because we use Delphi's Indy to send mails.
I would really appreciate if you could show me a way to avoid FUZZY_OCR,
other than removing the image. My co-workers and the marketing
do not listen to me when I tell them that HTML-mails are bad... no
matter how hard I try.
Regards,
Daniel Albuschat
--
eat(this); // delicious suicide
Re: FUZZY_OCR find not existent words on images
Posted by Rejaine Monteiro <re...@bhz.jamef.com.br>.
This image, for example, was targed as spam...
http://rejaine.multiply.com/photos/photo/5/1
Content analysis details: (6.4 points, 5.0 required)
pts rule name description
---- ----------------------
--------------------------------------------------
-2.6 BAYES_00 BODY: Bayesian spam probability is 0 to 1%
[score: 0.0000]
0.0 MSGID_FROM_MTA_HEADER Message-Id was added by a relay
9.0 FUZZY_OCR BODY: Mail contains an image with common
spam text inside
Words found:
"news" in 3 lines
"stock" in 1 lines
"international" in 1 lines
"service" in 1 lines
"penis" in 1 lines
(7 word occurrences found)
Evan Platt escreveu:
>
> Put the image on a website and put the link to this list. Otherwise,
> we're only guessing.
>
Re: FUZZY_OCR find not existent words on images
Posted by Evan Platt <ev...@espphotography.com>.
At 10:13 AM 3/23/2007, Rejaine Monteiro wrote:
>I'm using FuzzyOcr plugin, version 2.3b and have some problems with
>Fuzzy-OCR false/positives:
>
>
>12 FUZZY_OCR BODY: Mail contains an image with common
>spam text inside
> Words found:
> "news" in 5 lines
> "money" in 1 lines
> "million" in 1 lines
> "trade" in 1 lines
> "levitra" in 1 lines
> "product" in 1 lines
> (10 word occurrences found)
>
>So, message was targed as spam..
>
>But the image on this message have NOT any words above (have only
>brazilian portuguese words)
>
>Any tip?
Put the image on a website and put the link to this list. Otherwise,
we're only guessing.
Re: FUZZY_OCR find not existent words on images
Posted by René Berber <r....@computer.org>.
Rejaine Monteiro wrote:
> I'm using FuzzyOcr plugin, version 2.3b and have some problems with
> Fuzzy-OCR false/positives:
>
>
> 12 FUZZY_OCR BODY: Mail contains an image with common spam
> text inside
> Words found:
> "news" in 5 lines
> "money" in 1 lines
> "million" in 1 lines
> "trade" in 1 lines
> "levitra" in 1 lines
> "product" in 1 lines
> (10 word occurrences found)
>
> So, message was targed as spam..
>
> But the image on this message have NOT any words above (have only
> brazilian portuguese words)
>
> Any tip?
The problem is that you are using (probably) the default setting for "fuzzy
match", in that old version of FuzzyOcr it was set to high so it matched where
it should not.
Solutions are many:
- You can globally adjust that factor (I don't remember what it was called in
that old version, in the new one it is focr_threshold with a default of 0.25,
perhaps it is the same);
- You can edit your words list, FuzzyOcr.words, and adjust the factor for
individual words, I use a value of 0.1 for short words and those I prefer a
close match, a bigger value for longer words or nothing to just use the global
default;
- You can upgrade to the latest version, it has different factors and more
functionality but, the downside is that you will have to upgrade the pnm stuff
and probably other perl modules.
--
René Berber
FUZZY_OCR find not existent words on images
Posted by Rejaine Monteiro <re...@bhz.jamef.com.br>.
I'm using FuzzyOcr plugin, version 2.3b and have some problems with
Fuzzy-OCR false/positives:
12 FUZZY_OCR BODY: Mail contains an image with common spam
text inside
Words found:
"news" in 5 lines
"money" in 1 lines
"million" in 1 lines
"trade" in 1 lines
"levitra" in 1 lines
"product" in 1 lines
(10 word occurrences found)
So, message was targed as spam..
But the image on this message have NOT any words above (have only
brazilian portuguese words)
Any tip?
Re: False positive by FUZZY_OCR
Posted by Henrik Krohns <he...@hege.li>.
On Wed, Mar 14, 2007 at 04:53:13PM +0100, Sietse van Zanen wrote:
>
> It's not hist word list, it's the list of the party he is sending his mail
> to.
>
> Unfortunately the words 'service' and 'software' whih appear in his image
> are in FuzzyOCR's standard word list.
>
> Best thing to do in this case is either remove the image from you mails,
> or request to be put on the whitelist of the organisation you send mail
> to.
>
> the problem is also not HTML mail, it's the image, which will be marked
> spam by EVERY default FuzzyOCR installation on the internet.
>
> -Sietse
Oops my bad..
It's slightly FuzzyOCRs fault giving such a high default score. On the other
hand, it's up to the clueless admins to not let any single rule go over kill
level alone.
RE: False positive by FUZZY_OCR
Posted by Sietse van Zanen <si...@wizdom.nu>.
It's not hist word list, it's the list of the party he is sending his mail to.
Unfortunately the words 'service' and 'software' whih appear in his image are in FuzzyOCR's standard word list.
Best thing to do in this case is either remove the image from you mails, or request to be put on the whitelist of the organisation you send mail to.
the problem is also not HTML mail, it's the image, which will be marked spam by EVERY default FuzzyOCR installation on the internet.
-Sietse
From: Henrik Krohns
Sent: Wed 14-Mar-07 15:31
To: users@spamassassin.apache.org
Subject: Re: False positive by FUZZY_OCR
On Wed, Mar 14, 2007 at 03:10:25PM +0100, Daniel Albuschat wrote:
>
> I would really appreciate if you could show me a way to avoid FUZZY_OCR,
> other than removing the image. My co-workers and the marketing
> do not listen to me when I tell them that HTML-mails are bad... no
> matter how hard I try.
Remove the offending words from FuzzyOcr.words. There are not many in
that image to find..
Re: False positive by FUZZY_OCR
Posted by Henrik Krohns <he...@hege.li>.
On Wed, Mar 14, 2007 at 03:10:25PM +0100, Daniel Albuschat wrote:
>
> I would really appreciate if you could show me a way to avoid FUZZY_OCR,
> other than removing the image. My co-workers and the marketing
> do not listen to me when I tell them that HTML-mails are bad... no
> matter how hard I try.
Remove the offending words from FuzzyOcr.words. There are not many in
that image to find..