Skip site navigation (1)Skip section navigation (2)
Date:      12 Sep 2002 13:06:12 -0400
From:      Joe Marcus Clarke <marcus@marcuscom.com>
To:        Jim Arnold <jarnold@knightridder.com>
Cc:        Matthew Seaman <m.seaman@infracaninophile.co.uk>, Lord Raiden <dragoncrest@voyager.net>, freebsd-questions@FreeBSD.ORG
Subject:   Re: Being a Noob:  Installing Spam Assassin
Message-ID:  <1031850372.332.24.camel@gyros.marcuscom.com>
In-Reply-To: <a05111b10b9a6774248cb@[192.168.0.4]>
References:  <4.2.0.58.20020912034805.009669b0@pop.voyager.net> <20020912091950.GB29787@happy-idiot-talk.infracaninophi>  <a05111b10b9a6774248cb@[192.168.0.4]>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1031850372.332.24.camel>