ending the spam.assassin.prefs.conf madness.
Julian Field
MailScanner at ecs.soton.ac.uk
Tue Nov 22 11:13:47 GMT 2005
-----BEGIN PGP SIGNED MESSAGE-----
On 22 Nov 2005, at 10:17, Anthony Peacock wrote:
> Hi,
>
>> Julian Field wrote:
>>> Therein lies the problem. I could run the "spamassassin" or
>>> "sa-learn" script to try to find out, but I equally well won't know
>>> where they are, they may not be on the $PATH (e.g. Solaris).
>>>
>>> But if we say I can find the "spamassassin" script (I'll work on
>>> that), then which of these lines is the one that states the
>>> directory I should be using? And what should the file be called? Is
>>> it local.cf or something else? I need to get this right this time.
>>
>> I would suggest using mailscanner.cf as a filename. This way you are
>> unlikely to muck-up a user's already existing local.cf file.
>>
>> (SA will automatically parse *.cf in the site rules dir, so both will
>> get parsed. Since parsing is in alphabetic order, and last-parsed
>> wins, options in mailscanner.cf will over-ride options in local.cf)
>
> I would agree with this as a suggestion. It would also mean that the
> MailScanner sitewide config options would be picked up by the command
> line SpamAssassin utilities. That way when someone wanted to test a
> email against SpamAssassin they would be using the same
> configuration. The same goes for using sa-learn.
>
> As well as doing this the comments at the top of the
> spam.assassin.prefs file should make it clear that a new sitewide .cf
> file has been created so that admins can check that it is not
> overiding anything that is already set up and working.
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.
Thanks.
- --
Julian Field
www.MailScanner.info
Buy the MailScanner book at www.MailScanner.info/store
PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654
-----BEGIN PGP SIGNATURE-----
Version: PGP Desktop 9.0.2 (Build 2425)
iQEVAwUBQ4L9bfw32o+k+q+hAQF3Nwf6AnA+TGN+ImYX710mod2tGgJAP7iNKe9z
Jp4mTxKlp0bFyV8/RTj1cHQoL2+aZ31Yp7rL8mUROWlZEuKybA75bHr/EdO0tUBY
T0M2rx/Axhxjy/LprnEjG9XJBJnyPvdOPQxQotrEAlZpGkEMPbmXOKq4eQ8GqRtE
kQ2UNS2HXCnQ2a2mKU2aPY8O5GESLblGiLXkyFHeTXbGWn21GaS+zhRAlabit69z
0n2MJ3jnjO3kK6lcV4qJAZKbWW2auf4Yo6+LzYy77RGdbz78CVLri5QIbW5XT9pk
HEQIFSj/iKsFbb7z1VrEmm0J+5nXqYBm8zUNIk5wMIB+ZH4RlZ3pKA==
=4x55
-----END PGP SIGNATURE-----
--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
------------------------ 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