Ed Kasky wrote:

> With FuzzyOcr 3.5.1 and SA 3.1.7, I noticed this in the log while
> debugging my setup:
> 
> 2007-01-23 01:39:23 [16842] Processing Message with ID
> "<[EMAIL PROTECTED]>" ("Lacy Silva"
> <[EMAIL PROTECTED]> -> "ed" <[EMAIL PROTECTED]>)
> 2007-01-23 01:39:23 [16842] GIF: [248x442] submersible.gif (5458)
> 2007-01-23 01:39:23 [16842] Found: 1 images
> 2007-01-23 01:39:23 [16842] Found GIF header name="submersible.gif"
> 2007-01-23 01:39:23 [16842] Image is single non-interlaced...
> 2007-01-23 01:39:24 [16842] Calculating image hash for:
> /tmp/.spamassassin168423O9h2Ttmp/submersible.gif.pnm
> 2007-01-23 01:39:24 [16842] Timed out

Look at the timestamp, there was no 10 sec timeout, it was immediate.

> 2007-01-23 01:39:24 [16842] Error calculating the image hash, skipping
> hash check...
> 2007-01-23 01:39:24 [16842] Empty Hash, skipping...
> 
> Timeout is set to default of 10 seconds and the hash.db is writeable by
> spamd.
> 
> -rw-rw-r--    1 spamd    spamd       90112 Jan 23 06:19
> /etc/mail/spamassassin/FuzzyOcr.db

The date and size indicates that it has been used very recently.

> 
> From the cf:
> focr_enable_image_hashing 2
> focr_db_hash /etc/mail/spamassassin/FuzzyOcr.db
> focr_db_safe /etc/mail/spamassassin/FuzzyOcr.safe.db
> 
> The rest of the hash settings are left as default.
> 
> As a result, I have had no hits since installing the new version.

When did you install the new version?

For what period of time there are no hits?  Do you know how many times the
plugin was called?

> Any suggestions as to where to look next are gratefully accepted and
> appreciated...

There is a global timeout, usually disabled but looks like you uncommented the 1
sec sample value.
-- 
René Berber

Reply via email to