On Mon, May 13, 2002 at 02:37:45PM -0500, David T-G wrote:
> Hi, all --
>
> I asked this back when I first picked up SA but didn't get a chance to
> actually try an install. In the meantime I only got one response, which
> unfortunately hasn't helped me.
>
> I'd like to run spamassassin as a procmail filter on my incoming mail,
> and I can pretty much count on root telling me to install this in my
> local tree.
>
> I downloaded v2.20 and unpacked it and read the docs, but nothing pointed
> to what to change to install in ~/local instead of /usr/local. Pressing
> on, I made the Makefile and then manually changed DEF_RULES_DIR and
> LOCAL_RULES_DIR and tried to install, but it puked on installing the
> module into the system site_perl directory. I cleaned everything and
> tried again using "env PREFIX=..." for the perl, make, and make install
> steps with no change.
unpack the tarball in ~/local/
Personally I unpack it to ~/lib/Mail-SpamAssassin-2.20/
and then do "ln -s Mail-SpamAssassin-2.20 SpamAssassin" for easy
upgrades.
Then, cd into that directory and do "perl Makefile.PL; make". There's
no need to do a "make install".
Finally, in .procmailrc, you'll want your version of:
:0fw
| $HOME/lib/SpamAssassin/spamassassin -P -a -c $HOME/lib/SpamAssassin/rules
(that probably just means lib->local)
That really should be all there is.
-Michael
--
Michael Stenner Office Phone: 919-660-2513
Duke University, Dept. of Physics [EMAIL PROTECTED]
Box 90305, Durham N.C. 27708-0305
_______________________________________________________________
Have big pipes? SourceForge.net is looking for download mirrors. We supply
the hardware. You get the recognition. Email Us: [EMAIL PROTECTED]
_______________________________________________
Spamassassin-talk mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/spamassassin-talk