ending the spam.assassin.prefs.conf madness.
Anthony Peacock
a.peacock at CHIME.UCL.AC.UK
Tue Nov 22 11:41:15 GMT 2005
Hi Julian,
> Hi Julian,
>
> > -----BEGIN PGP SIGNED MESSAGE-----
> >
> > On 22 Nov 2005, at 10:17, Anthony Peacock wrote:
<SNIP>
> > I entirely agree. One request though: I have been trying to dig
> > through the SA data structures to work out how to get at the
> > properties mentioned to calculate the directory path names so I know
> > where to put the mailscanner.cf file. I can't figure it out.
> >
> > Can someone (Matt perhaps?) please try and work it out for me? Can't
> > get my head around it today.
This works on my system (extra print statements are there purely to
get around line wrapping):
#!/usr/local/bin/perl
use Mail::SpamAssassin;
$a = new Mail::SpamAssassin;
print "site rules is \"";
print $a->first_existing_path (@Mail::SpamAssassin::site_rules_path);
print "\"\n";
I would be graetful if people could check this, and try it on other
systems.
--
Anthony Peacock
CHIME, Royal Free & University College Medical School
WWW: http://www.chime.ucl.ac.uk/~rmhiajp/
"Screens are sometimes called displays because they
display stuff ..." - UNIX for Dummies.
------------------------ MailScanner list ------------------------
To unsubscribe, email jiscmail at jiscmail.ac.uk with the words:
'leave mailscanner' in the body of the email.
Before posting, read the Wiki (http://wiki.mailscanner.info/) and
the archives (http://www.jiscmail.ac.uk/lists/mailscanner.html).
Support MailScanner development - buy the book off the website!
More information about the MailScanner
mailing list