erlug
[Top] [All Lists]

[Erlug] pop3vscan+clamav

To: "Erlug" <erlug@xxxxxxxxxxxxxx>
Subject: [Erlug] pop3vscan+clamav
From: "Vito Pascali" <mailing-list@xxxxxxxxxxxxx>
Date: Mon, 2 Feb 2004 14:21:21 +0100
Ok siccome sono in fase "testing" ,stò provando anche la configurazione con
clamav (dopo quella con karsprsky aveserver)

Finora ho seguito codesti passi:
1)inserito le seguenti righe nel pop3vscan.conf (come diceva la faq di
clamav);
 virusregexp = .*: (.*) FOUND
 scanner = /usr/bin/clamdscan --disable-summary -i
 scannertype = basic

2)Installato clamav 0.65 (un emerge semplice e skietto);

3)Fatta la prova mandandomi una mail con in allegato un file testo con su
scritto:
"X5O!P%@AP[4\PZX54(P^)7CC)7}$EICAR-STANDARD-ANTIVIRUS-TEST-FILE!$H+H*"
che tutti gli antivirus del mondo prendono per virus :)

E quì vengono i problemi.
Il mio caro pop3vscan mi dice che il return code di clamav non è quello
giusto:

Feb  2 12:26:11 PC_Vito pop3vscan[26784]: WARNING: Your scanner returned
neither 0 nor viruscode (1), but 2
Feb  2 12:26:11 PC_Vito pop3vscan[26784]: We can't say if it is a virus! So
we have to give the client the mail! You should check your
configuration/system
Feb  2 12:26:11 PC_Vito pop3vscan[26784]: Session done (Clean Exit). Mails:
1 Bytes: 1757

Ora il return code che lui si aspetta è 1 giustamente.
Ma da man clamavscan:

RETURN CODES

       0 : No virus found.

       1 : Virus(es) found.

e quindi non mi raccapezzo piu'.
Sapreste indicarmi come fare una ulteriore prova?
Un clamavscan a mano sul file in questione lo bekka, quindi perke' azz non
passa un bell 1 a pop3vscan?
tnx in advance
Vito

http://www.lnksystem.com
Tel 051/3140537
Fax 051/3140489


<Prev in Thread] Current Thread [Next in Thread>