Re: qmail-scanner-2.10 problem for some mails

Adrian Bulgariu <[email protected]> Wed, 07 Nov 2012 11:23:59 +0200
Newsgroups gmane.mail.qmail.scanner
Message-ID <[email protected]>
This is a multi-part message in MIME format.
--===============7804113756806930123==
Content-Type: multipart/alternative;
	boundary="------------040801040100090803000805"

This is a multi-part message in MIME format.
--------------040801040100090803000805
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit

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='[email protected] <mailto:[email protected]>', recips='[email protected] 
>> <mailto:[email protected]>'
>> Tue, 06 Nov 2012 18:14:55 EET:15443: from='[email protected] 
>> <mailto:[email protected]>>', 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.
>


--------------040801040100090803000805
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit

<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <font size="-1">f<font size="-1">rom the file:<br>
        <br>
        <font size="-1">&nbsp; my $sha = Digest::SHA1-&gt;new;<br>
          &nbsp; foreach $file (@dirContents) {<br>
          &nbsp;&nbsp; if($file eq "." || $file eq ".." || $file =~
/^[0-9]+\.[0-9]+\-[0-9]+\.$hostname|^(orig\-|)$file_id|^textfile[0-9]+/){<br>
          &nbsp;&nbsp;&nbsp;&nbsp; next;<br>
          &nbsp;&nbsp; }<br>
          &nbsp;&nbsp; open(OFILE,$file) || &amp;error_condition("mhr: cannot open
          file - '$file'");<br>
          &nbsp;&nbsp; $sha-&gt;addfile(*OFILE);<br>
          &nbsp;&nbsp; my $digest = $sha-&gt;hexdigest;<br>
          &nbsp;&nbsp; debug("mhr: digest of $file is $digest",5);<br>
          &nbsp;&nbsp; $result=&amp;MHRviaDNS($digest);<br>
          &nbsp;&nbsp; close(OFILE);<br>
          &nbsp;&nbsp; last if ($result);<br>
          &nbsp; }<br>
          <br>
          <br>
          <font size="-1">line 3540 is : </font></font></font></font><font
      size="-1"><font size="-1"><font size="-1"><font size="-1"><font
              size="-1"><font size="-1"><font size="-1">$sha-&gt;addfile(*OFILE);<br>
                  <br>
                  <br>
                  <br>
                </font></font></font></font></font></font></font>
    <div class="moz-cite-prefix">On 07/11/2012 09:49 AM, Salvatore
      Toribio wrote:<br>
    </div>
    <blockquote cite="mid:a06240800ccbfc1f92093@%5B10.10.82.254%5D"
      type="cite">
      <style type="text/css"><!--
blockquote, dl, ul, ol, li { padding-top: 0 ; padding-bottom: 0 }
 --></style>
      <title>Re: [Qmail-scanner-general] qmail-scanner-2.10
        problem for</title>
      <div>Hi Adrian</div>
      <div><br>
      </div>
      <div>Line 3540 must be ad antivirus routine. So your antivirus
        couldn't read the file.</div>
      <div><br>
      </div>
      <div>What antivirus are you using at line 3540?</div>
      <div><br>
      </div>
      <div>Try to increase the memory assigned to qmail-smtpd, just a
        guess.</div>
      <div><br>
      </div>
      <div>ST</div>
      <div><br>
      </div>
      <div>At 18:18 +0200 6-11-2012, Adrian Bulgariu wrote:</div>
      <blockquote type="cite" cite="">hi<br>
        <br>
        i recently discovered those error messages in the logs<br>
        <br>
        can someone help me with this. As I understand is a problem that
        in
        the subject there is a "+" caracter ?<br>
        <br>
        thanks<br>
        <br>
        Tue, 06 Nov 2012 18:13:50 EET:15398: ------ Process 15398
        finished.
        Total of 0.430018 secs<br>
        Tue, 06 Nov 2012 18:14:55 EET:15443: +++ starting debugging for
        process 15443 (ppid=15442) by uid=89<br>
        Tue, 06 Nov 2012 18:14:55 EET:15443: g_e_h: return-path='f<a
          moz-do-not-send="true" href="mailto:[email protected]">[email protected]</a>',
        recips='<a moz-do-not-send="true" href="mailto:[email protected]">[email protected]</a>'<br>
        Tue, 06 Nov 2012 18:14:55 EET:15443: from='f<a
          moz-do-not-send="true" href="mailto:[email protected]">[email protected]</a>&gt;',
        subj='FW: acte
        necesare prelungire linie de credit Cucu+plafon factoring', via
        SMTP
        from mail2.from.com</blockquote>
      <blockquote type="cite" cite="">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.<br>
      </blockquote>
      <div><br>
      </div>
    </blockquote>
    <br>
  </body>
</html>

--------------040801040100090803000805--


--===============7804113756806930123==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

------------------------------------------------------------------------------
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
--===============7804113756806930123==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Qmail-scanner-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qmail-scanner-general

--===============7804113756806930123==--