From owner-freebsd-questions Wed Feb 5 20:19:35 2003 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 95D5F37B401 for ; Wed, 5 Feb 2003 20:19:33 -0800 (PST) Received: from pop016.verizon.net (pop016pub.verizon.net [206.46.170.173]) by mx1.FreeBSD.org (Postfix) with ESMTP id CA42D43FB1 for ; Wed, 5 Feb 2003 20:19:27 -0800 (PST) (envelope-from leblanc@keyslapper.org) Received: from keyslapper.org ([68.160.158.62]) by pop016.verizon.net (InterMail vM.5.01.05.20 201-253-122-126-120-20021101) with ESMTP id <20030206041922.EMPY20431.pop016.verizon.net@keyslapper.org> for ; Wed, 5 Feb 2003 22:19:22 -0600 Received: from keyslapper.org (localhost [127.0.0.1]) by keyslapper.org (8.12.3/8.12.3) with ESMTP id h164JQ5T097239 for ; Wed, 5 Feb 2003 23:19:26 -0500 (EST) (envelope-from leblanc@keyslapper.org) Received: (from leblanc@localhost) by keyslapper.org (8.12.3/8.12.3/Submit) id h164JQTW097238 for freebsd-questions@FreeBSD.org; Wed, 5 Feb 2003 23:19:26 -0500 (EST) Date: Wed, 5 Feb 2003 23:19:26 -0500 From: Louis LeBlanc To: FreeBSD Questions Subject: More SpamAssassin questions - it won't run. Message-ID: <20030206041925.GA96790@keyslapper.org> Reply-To: freebsd-questions@FreeBSD.org Mail-Followup-To: FreeBSD Questions Mime-Version: 1.0 Content-Type: text/plain; charset=unknown-8bit Content-Disposition: inline Content-Transfer-Encoding: 8bit User-Agent: Mutt/1.5.3i X-Authentication-Info: Submitted using SMTP AUTH at pop016.verizon.net from [68.160.158.62] at Wed, 5 Feb 2003 22:19:21 -0600 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hey all. I know this has come up recently, and I've looked at the pages posted recently. My problem isn't getting it set up in procmail, it's getting SpamAssassin to execute without errors. I know, this is just a little OT. Sorry, but this is usually the best place to get answers on almost anything that even comes into contact with FreeBSD. I'm running Sendmail, procmail, and Cyrus Imap. This is what I have in procmail: :0fw * WHITE ?? !yes * FOLDER ?? !trash | spamassassin -a -P :0: * ^X-Spam-Status: Yes { FOLDER=spam } Setting the FOLDER variable tells deliver which imap folder to put the message in. deliver gets called later. Here's what I see in the procmail output: procmail: Executing "spamassassin,-a,-P" Can't locate object method "splitpath" via package "File::Spec" at /usr/local/bin/spamassassin line 18. BEGIN failed--compilation aborted at /usr/local/bin/spamassassin line 38. procmail: Program failure (2) of "spamassassin" procmail: Rescue of unfiltered data succeeded I know this is some kind of perl error, but I'm still quite a ways from guru status where that's concerned. I've tried a few things, but I can't get this working. Here's what I've guessed are the relevant lines: Line 6: use File::Spec; Line 18: my @bin = File::Spec->splitpath($0); I don't know why this doesn't work. So far as I can tell the call is correct. I've placed this question on the SpamAssassin users list, but no responses have come up. It's a pretty low traffic list, and it seems to be a bit slow. Any ideas? Thanks Lou -- Louis LeBlanc leblanc@keyslapper.org Fully Funded Hobbyist, KeySlapper Extrordinaire :) http://www.keyslapper.org ԿԬ mophobia, n.: Fear of being verbally abused by a Mississippian. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message