On Mon, Feb 16, 2004 at 08:31:22PM -0800, Gary Funck wrote:
> > :0:
> > * ^Subject: bayestest
> > | spamassassin -D 2>$HOME/tmp/sa.err
> >
> > Yields only this in sa.err:
> > SpamAssassin version 2.63

I realized that the problem here was that you can't do redirects in a
procmailrc. I used a one line shell wrapper instead and got useful debug
output. The problem: spamassassin couldn't find DB_File, which is also
installed in my home directory. Apparently $PERL5LIB was being unset.

From procmailrc(5):
       For  security reasons, upon startup procmail will wipe out
       all environment variables that are suspected of  modifying
       the behavior of the runtime linker.

Setting PERL5LIB explicitly at the top of my .procmailrc did the trick. It's a
slight shame that I have to manage that in two places now, but I'll live. :)

Thanks for the help.

-w

-- 
---------Will [EMAIL PROTECTED]
GPG encrypted mail preferred. Join the web-o-trust!  Key ID: F4332B28

Attachment: pgpZ8m6j89vrf.pgp
Description: PGP signature

Reply via email to