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 57885F2E3 for ; Thu, 21 Mar 2013 03:08:32 +0000 (UTC) Received: (qmail 82864 invoked by uid 500); 21 Mar 2013 03:08:29 -0000 Delivered-To: apmail-spamassassin-users-archive@spamassassin.apache.org Received: (qmail 82839 invoked by uid 500); 21 Mar 2013 03:08:29 -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 82807 invoked by uid 99); 21 Mar 2013 03:08:28 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 21 Mar 2013 03:08:28 +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 (nike.apache.org: domain of sf-spamassassin-talk@m.gmane.org designates 80.91.229.3 as permitted sender) Received: from [80.91.229.3] (HELO plane.gmane.org) (80.91.229.3) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 21 Mar 2013 03:08:21 +0000 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1UIVrZ-0003LP-GA for users@spamassassin.apache.org; Thu, 21 Mar 2013 04:08:21 +0100 Received: from cpc3-walt15-2-0-cust148.13-2.cable.virginmedia.com ([86.21.186.149]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 21 Mar 2013 04:08:21 +0100 Received: from walterhurry by cpc3-walt15-2-0-cust148.13-2.cable.virginmedia.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 21 Mar 2013 04:08:21 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: users@spamassassin.apache.org From: Walter Hurry Subject: Re: Bayes - Problem using SQLite: SOLVED Date: Thu, 21 Mar 2013 03:07:44 +0000 (UTC) Lines: 22 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: cpc3-walt15-2-0-cust148.13-2.cable.virginmedia.com User-Agent: Pan/0.139 (Sexual Chocolate; GIT bf56508 git://git.gnome.org/pan2) X-Virus-Checked: Checked by ClamAV on apache.org On Tue, 19 Mar 2013 19:22:49 +0000, Walter Hurry wrote: > I am experimenting with using SQLite for my Bayes db. > > However when I start spamd, it reports the following in > /var/log/maillog: > > bayes: tok_get_all: SQL error: no such function: RPAD > > This is correct, in that SQLite does not support RPAD. > > I believe this call is in SQL.pm (part of > Mail::SpamAssassin::BayesStore). > Is it possible to hack that module in any way to work around the issue? > > Sorry if this is too simple a question; whilst I am familiar with SQL, I > know nothing of perl. > > In case it matters, this is SA 3.3.2 It looks to be solved by hacking SQL.pm. I'll report back in a day or so in case anyone is interested.