Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 12 Sep 2002 13:08:31 -0400
From:      Louis LeBlanc <leblanc+freebsd@keyslapper.org>
To:        FreeBSD Questions <freebsd-questions@FreeBSD.org>
Subject:   Re: Being a Noob:  Installing Spam Assassin
Message-ID:  <20020912170831.GA11285@keyslapper.org>
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
That's an easy one to get caught in.  You want to use the whole path
prefix to the start script:
/usr/local/etc/rc.d/spamd.sh start
should do it.

FreeBSD will automatically use the whole path when it starts up, so
that won't be a problem.

Don't feel bad.  I run into this silly one every other time I install
a new port.  For some reason various ports need the path in $0 in
order to figure out path info.

HTH
Lou

On 09/12/02 01:02 PM, Jim Arnold sat at the `puter and typed:
> >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
> 
> 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.
> 
> Thanks,
> Jim
> 
> 
> 
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-questions" in the body of the message
> 
> 

-- 
Louis LeBlanc               leblanc@keyslapper.org
Fully Funded Hobbyist, KeySlapper Extrordinaire :)
http://www.keyslapper.org                     ԿԬ

One of the most striking differences between a cat and a lie is that a cat has
only nine lives.
    -- Mark Twain, "Pudd'nhead Wilson's Calendar"

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?20020912170831.GA11285>