On Wed, 6 Jul 2011, polloxx wrote:
Works fine at the CL.
OK. Just to be clear, you took a jpeg-format image file and used jpegtopnm
to convert it to a pnm file, and got a correct .pnm image file out? Did
you do this to verify the exit code from jpegtopnm:
echo $?
Nothing about the error. (It's a SA error I think)
It looks to me like SA is just reporting an error code from jpegtopnm. I
did some brief digging and couldn't find anything about that particular
error code, it might take a look at the sources to learn what it means.
apt-get did not alter jpegtopnm.
Bummer, so much for the easy explanation... :)
Do you have a sample message having an image attachment that you can run
through SA manually to test things? If not, try to get one.
It would be useful to see the debugging output of spamassassin where it's
talking about fuzzyocr. Do you know how to run spamassassin in debug mode
against a test message?
On Wed, Jul 6, 2011 at 4:40 PM, John Hardin <jhar...@impsec.org> wrote:
On Thu, Jun 23, 2011 at 1:56 PM, polloxx <poll...@gmail.com> wrote:
after an apt-get upgrade FuzzyOCR has stopped working. I get the
following error in the log:
FuzzyOCR: 2011-06-22 17:00:38 [3057] /usr/bin/jpegtopnm: Returned
[2048], skipping...
What happens when you try to run /usr/bin/jpegtopnm from the command line?
What does the jpegtopnm man page say about that return code?
Did apt-get change the jpegtopnm program?
--
John Hardin KA7OHZ http://www.impsec.org/~jhardin/
jhar...@impsec.org FALaholic #11174 pgpk -a jhar...@impsec.org
key: 0xB8732E79 -- 2D8C 34F4 6411 F507 136C AF76 D822 E6E6 B873 2E79
-----------------------------------------------------------------------
I would buy a Mac today if I was not working at Microsoft.
-- James Allchin, Microsoft VP of Platforms
-----------------------------------------------------------------------
Tomorrow: Robert Heinlein's 104th birthday