Silent virus list, was: Palyh-A virus

Kevin Spicer kevins at BMRB.CO.UK
Mon May 19 23:04:22 IST 2003


> Make the "languages.conf" entry point to a ruleset instead of just to
>the
>file. Set up 2 different languages.conf files in the ruleset, like
>this:
>FromOrTo:       123.456.
>/etc/MailScanner/reports/en/internal.languages.conf
>FromOrTo:       default
>/etc/MailScanner/reports/en/languages.conf
>
>Then change the "NoticeSubject" entry in internal.languages.conf.
>
>Should do exactly what you need.

Hmmm, can't seem to get this to work (I'm running 4.14-9 at the moment -
is this something that only works in later versions?)

Initially I got errors saying it couldn't check destination IP so I
changed FromOrTo: to From: which shut that message up, but for some
reason it won't read the strings from the (unchanged) languages.conf
file or the modified one, despite the logs indicating that it is looking
at the correct file.  Heres a few examples of the logged errors...

Looked up unknown string notspam in language translation file
/etc/MailScanner/reports/bmrb-custom/languages.conf.external
Looked up unknown string spam in language translation file
/etc/MailScanner/reports/bmrb-custom/languages.conf.external
Looked up unknown string required in language translation file
/etc/MailScanner/reports/bmrb-custom/languages.conf.external

As far as I can tell its not managing to look up any strings.  I've
checked and double checked the paths and either I'm blind or daft or
something is broken (I'm quite willing to accept any of those thre
explanations!)

My lines in MailScanner.conf
#Language Strings = /etc/MailScanner/reports/bmrb-custom/languages.conf
Language Strings = /etc/MailScanner/rules/languages.conf.rules

/etc/MailScanner/rules/languages.conf/rules
From: 10.0./etc/MailScanner/reports/bmrb-custom/languages.conf.internal
From: default   /etc/MailScanner/reports/bmrb-custom/languages.conf


I haven't changed languages.conf at all, it works fine when selected
directly in MS.conf but not when called through a ruleset.







BMRB International
http://www.bmrb.co.uk
+44 (0)20 8566 5000
_________________________________________________________________
This message (and any attachment) is intended only for the
recipient and may contain confidential and/or privileged
material.  If you have received this in error, please contact the
sender and delete this message immediately.  Disclosure, copying
or other action taken in respect of this email or in
reliance on it is prohibited.  BMRB International Limited
accepts no liability in relation to any personal emails, or
content of any email which does not directly relate to our
business.



More information about the MailScanner mailing list