From owner-freebsd-questions Thu Sep 12 10: 6:21 2002 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 68F2037B400 for ; Thu, 12 Sep 2002 10:06:17 -0700 (PDT) Received: from creme-brulee.marcuscom.com (rdu57-17-158.nc.rr.com [66.57.17.158]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8CCE743E4A for ; Thu, 12 Sep 2002 10:06:16 -0700 (PDT) (envelope-from marcus@marcuscom.com) Received: from [10.2.1.2] (vpn-client-2.marcuscom.com [10.2.1.2]) by creme-brulee.marcuscom.com (8.12.5/8.12.5) with ESMTP id g8CH3fiv009691; Thu, 12 Sep 2002 13:03:42 -0400 (EDT) (envelope-from marcus@marcuscom.com) Subject: Re: Being a Noob: Installing Spam Assassin From: Joe Marcus Clarke To: Jim Arnold Cc: Matthew Seaman , Lord Raiden , freebsd-questions@FreeBSD.ORG In-Reply-To: References: <4.2.0.58.20020912034805.009669b0@pop.voyager.net> <20020912091950.GB29787@happy-idiot-talk.infracaninophi> Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Mailer: Ximian Evolution 1.0.8 Date: 12 Sep 2002 13:06:12 -0400 Message-Id: <1031850372.332.24.camel@gyros.marcuscom.com> Mime-Version: 1.0 X-Spam-Status: No, hits=-4.1 required=5.0 tests=IN_REP_TO,AWL version=2.31 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 On Thu, 2002-09-12 at 13:02, Jim Arnold wrote: > >A slightly better set up is to run 'spamd' as a long-lived process and > >feed e-mails through it via 'spamc'. > > > > cd /usr/local/etc/rc.d > > cp spamd.sh-dist spamd.sh > > /usr/local/etc/rc.d/spamd.sh start > > > >and add rules like this at the top of your .procmailrc > > > > :0 fw > > | spamc > > > > :0: > > * ^X-Spam-Status: Yes > > caughtspam > > > When I run "spamd.sh start" I get the following error: > > spike# ./spamd.sh start > ./spamd.sh: Cannot determine the PREFIX You must run spamd.sh with a fully-qualified path: /usr/local/etc/rc.d/spamd.sh start > > spamd is installed: > > spike# which spamd > /usr/local/bin/spamd > > If I just try run spamd I get the following error, which I was also > seeing in my maillog > when just using spamassassin -P out of my .procmail file. > > ) > Failed to run DIFFERENT_REPLY_TO SpamAssassin test, skipping: > (Can't locate object method "check_for_spam_reply_to" via > package "Mail::SpamAssassin::PerMsgStatus" (perhaps you forgot to > load "Mail::SpamAssassin::PerMsgStatus"?) at > /usr/local/lib/perl5/site_perl/5.6.1/Mail/SpamAssassin/PerMsgStatus.pm > line 1701. > ) > > on line 1701 of the above referenced file I have this: > $result = $self->$evalsub(@args); > > When I checked cpan I find that Mail::SpamAssassin::PerMsgStatus is up to date. > > SA is still tagging spam correctly. Another FreeBSD box at work is showing > the same errors. I'm running the lastest SA, procmail and postfix > from the ports. > > Thanks for any clues on how to fix this. A thorough Google search didn't > turn up any answers. I haven't seen these other errors. My SA setup is working quite well. Of course, I am using the -stable Perl 5.00503. I haven't tested things under 5.6.1 yet. Joe > > Thanks, > Jim > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > -- PGP Key : http://www.marcuscom.com/pgp.asc To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message