update_virus_scanners

Kevin Spicer kevins at BMRB.CO.UK
Wed Sep 24 08:25:26 IST 2003


On Wed, 2003-09-24 at 03:00, Daniel Bird wrote:

>I seem to be having a problem with update_virus_scanners

>On one box, when I run it, it finds mcafee and f-prot installed but not
>trend (even though they all are).
>On another, it find none of them installed. (which I presume would also
>explain why I've not seen it detect a virus since I installed it
>yesterday?)
>On another, it finds all of them installed.

Make sure that you are running the same version of MailScanner on all
machines (preferably the latest) as there have been recent changes in
this area.  If you updated any of the MailScanner installs make sure you
don't have any .rpmnew files kicking around in /usr/lib/MailScanner.

You can check whether the wrapper scripts are correctly reporting
whether the package is installed (this is how update_virus_scanners
finds out) by looking in the virus.scanners.conf file for your scanner
and calling the wrapper script (2nd field) with the package directory as
the first argument (3rd field) and -IsItInstalled as the second
argument, then checking the exit status.  Any scanner that is installed
should give an exit status of 0.

e.g. for f-prot...
$ /usr/lib/MailScanner/f-prot-wrapper /usr/local/f-prot -IsItInstalled
$ echo $?
0

(which shows that f-prot is detected on my system).




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