(Fwd) custom functions in reports/xx/languages.conf

Mariano Absatz mailscanner at LISTS.COM.AR
Mon Apr 26 19:56:15 IST 2004


Hi,

in order to know what happens, I usually set (in languages.conf):
SpamAssassin = SpamAssassin-2.63

So the header shows me SA version... now, the problem I have is that I not
always remember to update this when I update SpamAssassin...

Can I do the following:

SpamAssassin = &SAVersionString

And put (in lib/CustomFunctions) a small routine like this:

sub SAVersionString {
  return "SpamAssassin-" . "$Mail::SpamAssassin::VERSION";
}

do I have to put the InitSAVersionString & EndSAVersionString?

TIA.

--
Mariano Absatz
El Baby
----------------------------------------------------------
Better to understand a little than to misunderstand a lot.

-------------------------- MailScanner list ----------------------
To leave, send    leave mailscanner    to jiscmail at jiscmail.ac.uk
For further info about MailScanner, please see the Most Asked
Questions at    http://www.mailscanner.biz/maq/     and the archives
at    http://www.jiscmail.ac.uk/lists/mailscanner.html



More information about the MailScanner mailing list