ending the spam.assassin.prefs.conf madness.

Glenn Steen glenn.steen at GMAIL.COM
Tue Nov 22 12:34:41 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. ]

On 22/11/05, Anthony Peacock <a.peacock at chime.ucl.ac.uk> wrote:
> Hi Julian,
>
(snip)
>
> 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.
>

Hi Anthony,

That snippet works nicely for me (well, apart from the /usr/local/bin path:-).
Prints the correct path on a Mandrake 10.1 (LE 2005) running SA 3.0.4
(perl 5.8.5) and a Mandriva 10.2 (2006) running SA 3.1.0 (perl 5.8.6).

Now, if some of our sunny friends (not to mention the *bsd ones) would
check too...:-)

--
-- Glenn
email: glenn < dot > steen < at > gmail < dot > com
work: glenn < dot > steen < at > ap1 < dot > se

------------------------ 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