ending the spam.assassin.prefs.conf madness.
Dhawal Doshy
dhawal at NETMAGICSOLUTIONS.COM
Tue Nov 22 11:50:57 GMT 2005
[ The following text is in the "ISO-8859-1" character set. ]
[ Your display is set for the "US-ASCII" character set. ]
[ Some characters may be displayed incorrectly. ]
Anthony Peacock wrote:
> Hi Julian,
>
>>>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 well on centos 4.0 (now 4.2), printed site rules is
"/etc/mail/spamassassin"
- dhawal
------------------------ 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