From owner-freebsd-questions@FreeBSD.ORG Fri Dec 16 13:26:47 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6DAA316A420 for ; Fri, 16 Dec 2005 13:26:47 +0000 (GMT) (envelope-from Marc.Dufresne@parks.on.ca) Received: from mailscanftp.parks.on.ca (mailscanftp.parks.on.ca [72.1.212.101]) by mx1.FreeBSD.org (Postfix) with ESMTP id EF3A943D45 for ; Fri, 16 Dec 2005 13:26:46 +0000 (GMT) (envelope-from Marc.Dufresne@parks.on.ca) Received: from server.parks.on.ca (server.parks.on.ca [72.1.212.100]) by mailscanftp.parks.on.ca (8.13.3/8.13.3) with ESMTP id jBGDNdYP075692 for ; Fri, 16 Dec 2005 08:23:39 -0500 (EST) (envelope-from Marc.Dufresne@parks.on.ca) Received: from HeadQuarters-MTA by server.parks.on.ca with Novell_GroupWise; Fri, 16 Dec 2005 08:24:38 -0500 Message-Id: X-Mailer: Novell GroupWise Internet Agent 6.5.3 Date: Fri, 16 Dec 2005 08:24:19 -0500 From: "Marc Dufresne" To: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=__Part5A78B613.0__=" X-SLPC-MailScanner-Information: Please contact the ISP for more information X-SLPC-MailScanner: Found to be clean X-SLPC-MailScanner-From: marc.dufresne@parks.on.ca Subject: SA-LEARN Keeps crashing at DBM.pm Line 624 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Dec 2005 13:26:47 -0000 This is a MIME message. If you are reading this text, you may want to consider changing to a mail reader or gateway that understands how to properly handle MIME multipart messages. --=__Part5A78B613.0__= Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Disposition: inline Posted this on the MailScanner Forum. I was told to post this also on the FreeBSD Questions Forum or SpamAssassin Forum. Hope this is the right forum!!!! Brief History on OS I'm using. FreeBSD 5.4 Perl 5.8.6 Installed MailScanner 4.44.6 and everything else using Install-Clam-SA.tar.gz from http://www.sng.ecs.soton.ac.uk/mailscanner/downloads.shtml MailScanner, SpamAssassin and Sendmail all working fine. The only problem I am having is with SA-LEARN. Problem: Since my installation of MailScanner I have always been able to use sa-learn --spam --force-expire --mbox /var/mail/spammail with no issues. Over the last couple of days, when I try to run sa-learn against my spam mailbox, I receive the following error: sa-learn --spam --force-expire --mbox /var/mail/spammail bayes: expire_old_tokens: Out of memory during ridiculously large request at /usr/local/lib/perl5/site_perl/5.8.7/Mail/SpamAssassin/BayesStore/DBM.pm line 624. I have tried everything to resolve this issue. As my last resort, I installed Portmanager on FreeBSD to manage my ports tree. When I ran Portmanager, it upgraded Perl to 5.8.7. After the upgrade, I had to run the perl-after-upgrade utility to ensure all of my apps see the new version of Perl. This is the commands I used: perl-after-upgrade perl-after-upgrade -f Even after the upgrade and I verified that MailScanner, SA and sendmail were working, I ran sa-learn --spam --force-expire --mbox /var/mail/spammail again. I still received the same error. I also have tried to separate the commands as follows: sa-learn --force-expire sa-learn --spam --mbox /var/mail/spammail It crashes with the same error after I execute the --force-expire command. Here are my stats for sa-learn --dump magic 0.000 0 3 0 non-token data: bayes db version 0.000 0 3016 0 non-token data: nspam 0.000 0 11613 0 non-token data: nham 0.000 0 309357 0 non-token data: ntokens 0.000 0 1133683248 0 non-token data: oldest atime 0.000 0 1134569167 0 non-token data: newest atime 0.000 0 0 0 non-token data: last journal sync atime 0.000 0 1134029107 0 non-token data: last expiry atime 0.000 0 345600 0 non-token data: last expire atime delta 0.000 0 90997 0 non-token data: last expire reduction count Right now, I'm using Portmanager -u -l upgrade all ports again and to verify all ports are installed correctly. I don't want to re-install Perl 5.8.7 again, since individuals have said it might fail. Any ideas on what I can do from here???? Marc Dufresne, Corporate IT Officer St. Lawrence Parks Commission 13740 County Road 2 Morrisburg, ON K0C 1X0 E-mail: Marc.Dufresne@parks.on.ca Voice: 613-543-3704 Ext#2455 Fax: 613-543-2847 Corporate website: www.parks.on.ca --=__Part5A78B613.0__= Content-Type: text/plain; name="Marc Dufresne.vcf" Content-Transfer-Encoding: 8bit Content-Disposition: attachment; filename="Marc Dufresne.vcf" BEGIN:VCARD VERSION:2.1 X-GWTYPE:USER FN:Marc Dufresne TEL;WORK:613-543-3704 ORG:;Information Technology TEL;PREF;FAX:613-543-2847 EMAIL;WORK;PREF;NGW:Marc.Dufresne@parks.on.ca N:Dufresne;Marc TITLE:Corporate IT Officer END:VCARD --=__Part5A78B613.0__=--