how to cache no-spam message shown its content in mailwatch

Glenn Steen glenn.steen at
Fri Nov 3 19:17:03 GMT 2006

On 03/11/06, Cheng Bruce <itlist at> wrote:
> Hi Glenn,
> Thank you so much.
> I thought it only can set one function (deliver or store or ...).
> Yes, I got a lot of spams.
> I have setup the FuzzyOCR tonight, and I test it via " spamassassin -t <
> corrupted-gif.eml" and get high scores more than 10, then do " spamassassin
> --lint" , restart mailscanner and run update SA in mailwatch (I can see the
> FuzzyOCR rules on screeen ).
> But it doesn't work, the spam with gif still comes through. I thought I need
> to add some words in FuzzyOcr.words, but I use that gif to test it by
> manual, my God, it got the 23.7 scores.
> I think there must be somewhere wrong in my Mailscanner.conf or
> spam.assassin.prefs.conf
> Would you please advise me how to solve it ?
> Please help me and thank you in advance.

There are at least a couple of things to check when it comes to
FuzzyOcr... First is the size of the snippet MailScanner sends to
SpamAssassin... Make it rather large (somewhere around 350-400 KiB
should do). The second is to check that FuzzyOcr actually works with
the user you are running MailScanner as (mostly important for Postfix,
which usually run as an unpriviledged user) ... "su - postfix -s
/bin/bash" and run the test there... If you are running Postfix, that
ISTR there being some debate about similar situations on the list in
the last few weeks/month or so, so you might benefit from searching
the list a bit (gmane is very good for this).

-- Glenn
email: glenn < dot > steen < at > gmail < dot > com
work: glenn < dot > steen < at > ap1 < dot > se

More information about the MailScanner mailing list