ending the spam.assassin.prefs.conf madness.
Stephen Swaney
steve.swaney at fsl.com
Tue Nov 22 13:59:05 GMT 2005
> -----Original Message-----
> From: MailScanner mailing list [mailto:MAILSCANNER at JISCMAIL.AC.UK] On
> Behalf Of Anthony Peacock
> Sent: Tuesday, November 22, 2005 6:41 AM
> To: MAILSCANNER at JISCMAIL.AC.UK
> Subject: Re: ending the spam.assassin.prefs.conf madness.
>
> 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.
>
Works fine. It gives the same results on all of our standard MailScanner
installed sites tested:
# ./sa_prefs.pl
site rules is "/etc/mail/spamassassin"
Steve
Stephen Swaney
Fort Systems Ltd.
stephen.swaney at fsl.com
www.fsl.com
------------------------ 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