I've recently installed SpamAssassin locally, and have been
using it via procmail by:
:0fw
| ~/bin/SpamAssassin/spamassassin -P -c ~/bin/SpamAssassin/rules

It works, I'm thrilled. (Well, I get a fair number of false
positives, from non-spam commercial e-mail, but that's
besides the point.)

I'd like to start using it with Mail::Audit instead of procmail,
but am unclear on how to get Mail::SpamAssassin to locate the
rules files. The README file says:

- Copy the configuration files (see CUSTOMISING, below) to a known
    location, so your script can set the appropriate options for the
    Mail::SpamAssassin constructor to load them.

But the "known locations" discussed in the customizing section are
all /usr/share or /etc/mail things that I don't have access to,
because I've installed locally, and nothing else in the customizing
section seems to cover where to put the rules files themselves (as
opposed to additional tweaks). As a result, SA doesn't work at all
in this way; when I test it I get:

$ cat spamsample.txt | perl mailfilter.pl
No configuration text or files found! Please check your setup.
$

What do I do to inform Mail::SpamAssassin where my rules directory
is for the local install?

Thanks very much.

Jesse Sheidlower
<[EMAIL PROTECTED]>

_______________________________________________________________

Don't miss the 2002 Sprint PCS Application Developer's Conference
August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm

_______________________________________________
Spamassassin-talk mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/spamassassin-talk

Reply via email to