Antivir
Erik Jakobsen
eja at URBAKKEN.DK
Tue Jan 27 19:56:53 GMT 2004
Below is the example from Julian Field, but there's an invalid path.
Further down the lines is the wrapper-script I executed, and its form
the example file.
# /usr/lib/MailScanner/antivir-wrapper /usr/lib/AntiVir /data4/doku/viren
AntiVir / Linux Version 2.0.9-15
Copyright (c) 1994-2004 by H+BEDV Datentechnik GmbH.
All rights reserved.
invalid path /data4/doku/viren
My test, and it should be ok.
[root at gateway /]# /usr/lib/MailScanner/antivir-wrapper /usr/lib/AntiVir/
AntiVir / Linux Version 2.0.9-15
Copyright (c) 1994-2004 by H+BEDV Datentechnik GmbH.
All rights reserved.
Loading /usr/lib/AntiVir/antivir.vdf ...
VDF version: 6.23.0.48 created 27 Jan 2004
For private, non-commercial use only.
AntiVir license: 1234567 for Erik Jakobsen, Brovst
checking drive/path (cwd): /
----- scan results -----
directories: 1
files: 0
alerts: 0
scan time: 00:00:01
------------------------
Thank you for using AntiVir.
shrek-m at gmx.de wrote:
> Erik Jakobsen wrote:
>
>>> That looks okay. I still don't understand why your Antivir installation
>>> isn't working with MailScanner.
>>
>>
>>
>> Thanks for telling me, that its ok. But a pity, that it doesn't work
>> with MailScanner :-(
>
>
>
> # rpm -q mailscanner
> mailscanner-4.26.5-1
Mine looks like that:
# rpm -q mailscanner
mailscanner-4.26-4
> i have downloaded a antivir-server-demo-version.
> # ls /usr/local/avlxsrv.tgz
> /usr/local/avlxsrv.tgz
>
> here is what i get
>
> ****eg1****
> # /usr/lib/MailScanner/antivir-wrapper /usr/lib/AntiVir/
> [...]
> Pruefe Laufwerk/Pfad (cwd): /usr/local/antivir-server-2.0.9
>
>
> ----- Suchergebnisse -----
> Verzeichnisse: 1
> Dateien: 4
> Alarme: 0
> Benoetigte Zeit: 00:00:01
> --------------------------
> Vielen Dank fuer den Einsatz von AntiVir.
> ********
>
> ****eg2****
> # /usr/lib/MailScanner/antivir-wrapper /data4/doku/viren/*
> /usr/lib/MailScanner/antivir-wrapper: line 47:
> /data4/doku/viren/alte/antivir: Datei oder Verzeichnis nicht gefunden
> /usr/lib/MailScanner/antivir-wrapper: line 47: exec:
> /data4/doku/viren/alte/antivir: cannot execute: Datei oder Verzeichnis
> nicht gefunden
> ********
> ****eg3****
> # /usr/lib/MailScanner/antivir-wrapper /data4/doku/viren/
> /usr/lib/MailScanner/antivir-wrapper: line 47:
> /data4/doku/viren//antivir: Datei oder Verzeichnis nicht gefunden
> /usr/lib/MailScanner/antivir-wrapper: line 47: exec:
> /data4/doku/viren//antivir: cannot execute: Datei oder Verzeichnis nicht
> gefunden
> ********
> ****eg4****
> # /usr/lib/MailScanner/antivir-wrapper .
> /usr/lib/MailScanner/antivir-wrapper: line 47:
> /usr/local/antivir-server-2.0.9/antivir: Datei oder Verzeichnis nicht
> gefunden
> /usr/lib/MailScanner/antivir-wrapper: line 47: exec:
> /usr/local/antivir-server-2.0.9/antivir: cannot execute: Datei oder
> Verzeichnis nicht gefunden
> ********
>
As you can see, I don't have these errors. I have none, but also it
doesn't work :-(.
> --
> shrek-m
>
>
--
Med venlig hilsen - Best regards.
Erik Jakobsen - eja at urbakken.dk.
Licensed radioamateur with the callsign OZ4KK.
SuSE Linux 8.2 Proff.
Registered as user #319488 with the Linux Counter, http://counter.li.org.
More information about the MailScanner
mailing list