John Nemeth wrote:

>      If we're looking at this, couldn't we just grab it from
> SpamAssassin directly, i.e.:

> my $LOCAL_STATE_DIR = $Mail::SpamAssassin::LOCAL_STATE_DIR; ?

Hah. :-)  Please.  You give the SpamAssassin authors way too
little credit.  They're much too devious and unforgiving to make
anything that easy.

LOCAL_STATE_DIR is set at build time, and only the actual programs
(sa-update, spamd and spamassassin) know the value.  The Perl modules
do not, so if you use SpamAssassin directly via the Perl API, you're
out of luck.

So it looks like the evil hack of grepping LOCAL_STATE_DIR out of
sa-update is the way to go. :-(

Regards,

David.
_______________________________________________
NOTE: If there is a disclaimer or other legal boilerplate in the above
message, it is NULL AND VOID.  You may ignore it.

Visit http://www.mimedefang.org and http://www.roaringpenguin.com
MIMEDefang mailing list [email protected]
http://lists.roaringpenguin.com/mailman/listinfo/mimedefang

Reply via email to