Return-Path: X-Original-To: apmail-spamassassin-users-archive@www.apache.org Delivered-To: apmail-spamassassin-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 81B986B04 for ; Wed, 13 Jul 2011 14:40:58 +0000 (UTC) Received: (qmail 27852 invoked by uid 500); 13 Jul 2011 14:40:57 -0000 Delivered-To: apmail-spamassassin-users-archive@spamassassin.apache.org Received: (qmail 27225 invoked by uid 500); 13 Jul 2011 14:40:56 -0000 Mailing-List: contact users-help@spamassassin.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list users@spamassassin.apache.org Received: (qmail 26955 invoked by uid 99); 13 Jul 2011 14:40:56 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 13 Jul 2011 14:40:56 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=RCVD_IN_DNSWL_NONE,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of jhardin@impsec.org designates 207.210.83.140 as permitted sender) Received: from [207.210.83.140] (HELO ga.impsec.org) (207.210.83.140) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 13 Jul 2011 14:40:50 +0000 Received: from mercury.impsec.org (localhost [127.0.0.1]) by ga.impsec.org (8.13.7/8.13.7) with ESMTP id p6DEeRfB010191 for ; Wed, 13 Jul 2011 07:40:28 -0700 Received: from mercury.impsec.org (tunnel.ga.impsec.org [127.0.0.1]) by mercury.impsec.org (8.14.4/8.14.0) with ESMTP id p6DEeQBW008295 for ; Wed, 13 Jul 2011 07:40:26 -0700 Received: from localhost (jhardin@localhost) by mercury.impsec.org (8.14.4/8.14.4/Submit) with ESMTP id p6DEeQtX008292 for ; Wed, 13 Jul 2011 07:40:26 -0700 X-Authentication-Warning: mercury.impsec.org: jhardin owned process doing -bs Date: Wed, 13 Jul 2011 07:40:26 -0700 (PDT) From: John Hardin To: users@spamassassin.apache.org Subject: Re: FuzzyOCR In-Reply-To: Message-ID: References: User-Agent: Alpine 2.00 (LNX 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed On Wed, 13 Jul 2011, polloxx wrote: > Mail through mail server does does not recognise the spam image and > generates an error. > Through manual test works fine. That strongly suggests something in the environment of mail delivery is different than during manual testing. The most likely problem is permissions. Verify the user that spamd is running under, it may be running as some user other than root; verify that the temp directories that FuzzyOCR uses are accessible to the user(s) that spamd is running as when a message is being scanned. I took a quick look at the sources for jpegtopnm and could not see anything that would return an error code of 2048. What OS is this on? -- John Hardin KA7OHZ http://www.impsec.org/~jhardin/ jhardin@impsec.org FALaholic #11174 pgpk -a jhardin@impsec.org key: 0xB8732E79 -- 2D8C 34F4 6411 F507 136C AF76 D822 E6E6 B873 2E79 ----------------------------------------------------------------------- USMC Rules of Gunfighting #6: If you can choose what to bring to a gunfight, bring a long gun and a friend with a long gun. ----------------------------------------------------------------------- 3 days until the 66th anniversary of the dawn of the Atomic Age