-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Spamassassin List wrote: >>> decoder wrote: >>> >>> See http://wiki.apache.org/spamassassin/FuzzyOcrPlugin >>> >>> Major changes: Replaced imagemagick with netpbm, support png, >>> invoked giffix for broken gifs, detect image format with magic >>> bytes and not by content-type, added various configuration >>> options. > > I install the above plugin, and i keep getting the same error. > > [EMAIL PROTECTED] spamtest]# spamassassin -t < spam-gif-1.txt sh: > /usr/bin/giffix: No such file or directory giftopnm: error reading > magic number (null): Error reading magic number from Netpbm image > stream. Most often, this means your input file is empty. sh: > /usr/bin/giffix: No such file or directory giftopnm: error reading > magic number (null): Error reading magic number from Netpbm image > stream. Most often, this means your input file is empty. sh: > /usr/bin/giffix: No such file or directory giftopnm: error reading > magic number (null): Error reading magic number from Netpbm image > stream. Most often, this means your input file is empty. > > I notice the error occur when the attachment is gif format. >
You are missing a tool. It is called "giffix" and part of the "giflib" package. Without it, the plugin can't fix broken gifs to analyze them. Install giflib. Chris -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFE2lCZJQIKXnJyDxURAoWUAJ468UGm2q5k7lMgQH7Z0VEawu2SQQCfZhMM fmuMQNEuH7h9Ulm3yhdnIFM= =LzFn -----END PGP SIGNATURE-----