Salvatore Toribio writes:

Hi Enrico

In what log do you have that error, in the message or in qmail-queue.log?


From syslog.
I posted later the messages coming from qmail-queue.log.


F-Secure is call with this argoments:

$fsecure_verbose --archive --auto --dumb diretory_name

Have you tried from the command line with this argoments?

Yes and it works fine. I also extract from the qmail-scanner-queue.pl program the lines that execute fsav and I put its in another file like the following and if I execute this file, it works fine !?!?!??!

#Fsecure scanner
$ENV="/var/spool/qmailscan/working/new/alpha.cerm.unifi.it106569810742630271 ";
&debug("fsecure: starting scan of directory \"$ENV\"...");
$fsecure_verbose="--list";
$fsecure_binary="/usr/bin/fsav";
&debug("run $fsecure_binary $fsecure_verbose --archive --auto --dumb $ENV 2>&1");
$DD=`$fsecure_binary $fsecure_verbose --archive --auto --dumb $ENV 2>&1`;
$fsecure_status=($? >> 8);
&debug("--output of fsecure was:\n$DD--");
if ( $fsecure_status !~ /^(0|9)$/ ) {
if ($DD =~ /(infection|infected):(.*)$/im) {
#$quarantine_description=$2;
&debug("There be a virus! ($quarantine_description)");
#($quarantine_event=$quarantine_description)=~s/\s/_/g;
#$quarantine_event="FSEC:".substr($quarantine_event,0,$QE_LEN);
$description .= "\n---fsecure results ---\n$DD";
print $description;
} else {
#This implies a corrupt set of DAT files or resource problems...
&debug("corrupt or unknown Fsecure scanner error or memory/resource/perms problem - e
xit status $fsecure_status");
}
}
sub debug {
print ":$$: ",@_,"\n";
}





ST

Enrico Morelli said:
Shai writes:

Enrico Morelli said:
Dear all,

I have a dangerous problem using qmail-scanner and F-Secure (versions
4.50
and 4.51) antivirus for linux.


In the log I have:
corrupt or unknown Fsecure scanner error or memory/resource/perms
problem
-
exit status 1


I tried to install the lastest version of qmail-scanner.1.20rc4, but I
have
the same problem.


Can someone help me?? Otherwise my boss kill me :-|
Thanks a lot.
Enrico Morelli





Sounds to me like its a problem with FSecure and not qmailscanner.
You should check your logs and see.


Shai



Thanks for your answer.
But the F-Secure works fine at the command line.
Seems that the qmail-scanner doesn't recognize the status returned
after the f-secure scans.


I'm going crazy....

> ENrico Morelli

Enrico,
Please try to post some of your logs and the errors you find in them.


Shai



------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Qmail-scanner-general mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/qmail-scanner-general

Reply via email to