custom functions in reports/xx/languages.conf

Mariano Absatz mailscanner at LISTS.COM.AR
Sun Apr 18 22:02:04 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
----------------------------------------------------------
Give a man a match, and he'll be warm for a minute, but set him on
fire, and he'll be warm for the rest of his life.



More information about the MailScanner mailing list