Ok, this is a bug that is also present in the original qmail-scanner-2.10. It is only triggered if the email has a zip attachment and you enabled the redundant scanning. I fixed it last March without changing the data of the version.

To fix it you can download again qs-2.10st and reinstall it, or edit the script and add '-d $file ||' at the start of the 'if' like below:

if(-d $file || $file eq "." || $file eq ".." || $file =~ /^[0-9]+\.[0-9]+\-[0-9]+\.$hostname|^(orig\-|)$file_id|^textfile[0-9]+/){

Kind regards

Salvatore

At 11:23 +0200 7-11-2012, Adrian Bulgariu wrote:
from the file:

  my $sha = Digest::SHA1->new;
  foreach $file (@dirContents) {
if($file eq "." || $file eq ".." || $file =~ /^[0-9]+\.[0-9]+\-[0-9]+\.$hostname|^(orig\-|)$file_id|^textfile[0-9]+/){
     next;
   }
   open(OFILE,$file) || &error_condition("mhr: cannot open file - '$file'");
   $sha->addfile(*OFILE);
   my $digest = $sha->hexdigest;
   debug("mhr: digest of $file is $digest",5);
   $result=&MHRviaDNS($digest);
   close(OFILE);
   last if ($result);
  }


line 3540 is : $sha->addfile(*OFILE);


On 07/11/2012 09:49 AM, Salvatore Toribio wrote:

Re: [Qmail-scanner-general] qmail-scanner-2.10 problem for
Hi Adrian

Line 3540 must be ad antivirus routine. So your antivirus couldn't read the file.

What antivirus are you using at line 3540?

Try to increase the memory assigned to qmail-smtpd, just a guess.

ST

At 18:18 +0200 6-11-2012, Adrian Bulgariu wrote:

hi

i recently discovered those error messages in the logs

can someone help me with this. As I understand is a problem that in the subject there is a "+" caracter ?

thanks

Tue, 06 Nov 2012 18:13:50 EET:15398: ------ Process 15398 finished. Total of 0.430018 secs Tue, 06 Nov 2012 18:14:55 EET:15443: +++ starting debugging for process 15443 (ppid=15442) by uid=89 Tue, 06 Nov 2012 18:14:55 EET:15443: g_e_h: return-path='f<mailto:r...@from.com>r...@from.com', recips='<mailto:t...@to.com>t...@to.com' Tue, 06 Nov 2012 18:14:55 EET:15443: from='f<mailto:r...@from.com>r...@from.com>', subj='FW: acte necesare prelungire linie de credit Cucu+plafon factoring', via SMTP from mail2.from.com

Tue, 06 Nov 2012 18:14:55 EET:15443: error_condition: X-Qmail-Scanner-2.10st: Requeuing: Reading from filehandle failed at /var/qmail/bin/qmail-scanner-queue.pl line 3540.

------------------------------------------------------------------------------
LogMeIn Central: Instant, anywhere, Remote PC access and management.
Stay in control, update software, and manage PCs from one command center
Diagnose problems and improve visibility into emerging IT issues
Automate, monitor and manage. Do more in less time with Central
http://p.sf.net/sfu/logmein12331_d2d
_______________________________________________
Qmail-scanner-general mailing list
Qmail-scanner-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qmail-scanner-general

Reply via email to