Re: Strange error

"Chris Berry" <[email protected]> Mon, 01 Apr 2013 09:27:09 -0700
Newsgroups gmane.mail.qmail.scanner
Message-ID <[email protected]>
This is a MIME message. If you are reading this text, you may want to 
consider changing to a mail reader or gateway that understands how to 
properly handle MIME multipart messages.

--===============4929394674576389101==
Content-Type: multipart/alternative; boundary="=__Part98A89D4D.0__="

This is a MIME message. If you are reading this text, you may want to 
consider changing to a mail reader or gateway that understands how to 
properly handle MIME multipart messages.

--=__Part98A89D4D.0__=
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: quoted-printable


That was likely the problem.  We ended up reconfiguring without MHR since =
it's for non-commercial use anyways.  Leaving MHR out fixed the issue for =
our use case.  Thanks for the feedback.


Chris Berry
Linux Systems Administrator
Davis Tool
x521

>>> Salvatore Toribio <[email protected]> 3/30/2013 2:08 AM >>>
Hi

Maybe the problem is with mhr and zip attachments... There was an
error there that has been fixed in version 2.11, but Jason forgot to
mention it in the changes...

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

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


So updating to 2.11 should fix your problem.

ST

At 18:54 +1300 30-03-2013, Jason Haar wrote:
>On 30/03/13 09:41, Chris Berry wrote:
>>
>>  Fri, 29 Mar 2013 10:13:39 PDT:24830: mhr: starting scan of directory
>>  "/var/spool/qscan/tmp/relay136457719958624830"...
>>
>>  Fri, 29 Mar 2013 10:13:39 PDT:24830: error_condition:
>>  X-Qmail-Scanner-2.10: Requeuing: Read failed: Is a directory at
>>  /var/qmail/bin/qmail-scanner-queue.pl line 2761
>>
>>
>
>As each Q-S install is different, you will need to look at line 2761 in
>qmail-scanner-queue.pl to see what it was trying to do. Looks like it
>wanted to open a file but found a directory instead
>
>>  relay:/var/spool/qscan # cat /var/qmail/bin/qmail-scanner-queue.pl |
>>  grep @scanner_array=3D
>>
>>  my @scanner_array=3D("clamdscan_scanner","mhr_scanner","spamassassin");=

>>
>>
>>  I don't remember turning that on, but I see from the 2.10 change log
>>  notes that perhaps it's a new default?  Since it's failing near there
>>  I'm wondering if that might be the problem.  Any thoughts?
>>
>>
>
>You must have installed is as "automatic" - so it just enabled all the
>AVs it discovered. You can explicitly tell the ./configure script you
>only want clamdscan and SA and get rid of MHR if you wish
>
>--
>Cheers
>

---------------------------------------------------------------------------=
---
Own the Future-Intel(R) Level Up Game Demo Contest 2013
Rise to greatness in Intel's independent game demo contest. Compete
for recognition, cash, and the chance to get your game on Steam.
$5K grand prize plus 10 genre and skill prizes. Submit your demo
by 6/6/13. http://altfarm.mediaplex.com/ad/ck/12124-176961-30367-2
_______________________________________________
Qmail-scanner-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qmail-scanner-general

--=__Part98A89D4D.0__=
Content-Type: text/html; charset=US-ASCII
Content-Transfer-Encoding: quoted-printable
Content-Description: HTML

<html>=0A  <head>=0A=0A  </head>=0A  <body style=3D"font-size: 12pt; =
margin-left: 4px; margin-top: 4px; margin-right: 4px; font-style: normal; =
line-height: normal; font-weight: normal; font-variant: normal; font-family=
: Times New Roman; margin-bottom: 1px">=0A    <p style=3D"margin-top: 0; =
margin-bottom: 0">=0A      <font face=3D"Times New Roman" size=3D"3">That =
was likely the problem. &nbsp;We ended up reconfiguring without MHR since =
it&#39;s for non-commercial use anyways. &nbsp;Leaving MHR out fixed the =
issue for our use case. &nbsp;Thanks for the feedback.</font><br><br><font =
face=3D"Times New Roman" STYLE=3D"font-size: 12pt"><br>Chris Berry&#13;<BR>=
Linux Systems Administrator&#13;<BR>Davis Tool&#13;<BR>x521<br><br></font>&=
gt;&gt;&gt; Salvatore Toribio &lt;[email protected]&gt; 3/30/2013 2:08 AM =
&gt;&gt;&gt;<br>Hi<br><br>Maybe the problem is with mhr and zip attachments=
... There was an<br>error there that has been fixed in version 2.11&#44; =
but Jason forgot to<br>mention it in the changes...<br><br>v2.10<br>&#160;&=
#160;&#160;&#32;if&#40;&#36;file eq &quot;.&quot;&#32;&#124;&#124;&#32;&#36=
;file eq &quot;..&quot;&#32;&#124;&#124;&#32;&#36;file &#61;&#126;<br>/&#94=
;&#91;0-9&#93;&#43;&#92;.&#91;0-9&#93;&#43;&#92;-&#91;0-9&#93;&#43;&#92;.&#=
36;hostname&#124;&#94;&#40;orig&#92;-&#124;&#41;&#36;file_id&#124;&#94;text=
file&#91;0-9&#93;&#43;/&#41;&#123;<br><br>v2.11<br>&#160;&#160;&#160;&#32;i=
f&#40;-d &#36;file&#32;&#124;&#124;&#32;&#36;file eq &quot;.&quot;&#32;&#12=
4;&#124;&#32;&#36;file eq &quot;..&quot;&#32;&#124;&#124;&#32;&#36;file =
&#61;&#126;<br>/&#94;&#91;0-9&#93;&#43;&#92;.&#91;0-9&#93;&#43;&#92;-&#91;0=
-9&#93;&#43;&#92;.&#36;hostname&#124;&#94;&#40;orig&#92;-&#124;&#41;&#36;fi=
le_id&#124;&#94;textfile&#91;0-9&#93;&#43;/&#41;&#123;<br><br><br>So =
updating to 2.11 should fix your problem.<br><br>ST<br><br>At 18:54 =
&#43;1300 30-03-2013&#44; Jason Haar wrote:<br>&gt;On 30/03/13 09:41&#44; =
Chris Berry wrote:<br>&gt;&gt;<br>&gt;&gt;&#160;&#32;Fri&#44; 29 Mar 2013 =
10:13:39 PDT:24830: mhr: starting scan of directory<br>&gt;&gt;&#160;&#32;&=
quot;/var/spool/qscan/tmp/relay136457719958624830&quot;...<br>&gt;&gt;<br>&=
gt;&gt;&#160;&#32;Fri&#44; 29 Mar 2013 10:13:39 PDT:24830: error_condition:=
<br>&gt;&gt;&#160;&#32;X-Qmail-Scanner-2.10: Requeuing: Read failed: Is a =
directory at<br>&gt;&gt;&#160;&#32;/var/qmail/bin/qmail-scanner-queue.pl =
line 2761<br>&gt;&gt;<br>&gt;&gt;<br>&gt;<br>&gt;As each Q-S install is =
different&#44; you will need to look at line 2761 in<br>&gt;qmail-scanner-q=
ueue.pl to see what it was trying to do. Looks like it<br>&gt;wanted to =
open a file but found a directory instead<br>&gt;<br>&gt;&gt;&#160;&#32;rel=
ay:/var/spool/qscan &#35; cat /var/qmail/bin/qmail-scanner-queue.pl&#32;&#1=
24;<br>&gt;&gt;&#160;&#32;grep @scanner_array&#61;<br>&gt;&gt;<br>&gt;&gt;&=
#160;&#32;my @scanner_array&#61;&#40;&quot;clamdscan_scanner&quot;&#44;&quo=
t;mhr_scanner&quot;&#44;&quot;spamassassin&quot;&#41;&#59;<br>&gt;&gt;<br>&=
gt;&gt;<br>&gt;&gt;&#160;&#32;I don&#39;t remember turning that on&#44; =
but I see from the 2.10 change log<br>&gt;&gt;&#160;&#32;notes that =
perhaps it&#39;s a new default&#63;&#160;&#32;Since it&#39;s failing near =
there<br>&gt;&gt;&#160;&#32;I&#39;m wondering if that might be the =
problem.&#160;&#32;Any thoughts&#63;<br>&gt;&gt;<br>&gt;&gt;<br>&gt;<br>&gt=
;You must have installed is as &quot;automatic&quot; - so it just enabled =
all the<br>&gt;AVs it discovered. You can explicitly tell the ./configure =
script you<br>&gt;only want clamdscan and SA and get rid of MHR if you =
wish<br>&gt;<br>&gt;--<br>&gt;Cheers<br>&gt;<br><br>-----------------------=
-------------------------------------------------------<br>Own the =
Future-Intel&#40;R&#41; Level Up Game Demo Contest 2013<br>Rise to =
greatness in Intel&#39;s independent game demo contest. Compete<br>for =
recognition&#44; cash&#44; and the chance to get your game on Steam.<br>&#3=
6;5K grand prize plus 10 genre and skill prizes. Submit your demo<br>by =
6/6/13. <a href=3D"http://altfarm.mediaplex.com/ad/ck/12124-176961-30367-2"=
>http://altfarm.mediaplex.com/ad/ck/12124-176961-30367-2</a><br>___________=
____________________________________<br>Qmail-scanner-general mailing =
list<br>[email protected]<br><a href=3D"https://l=
ists.sourceforge.net/lists/listinfo/qmail-scanner-general">https://lists.so=
urceforge.net/lists/listinfo/qmail-scanner-general</a><br>=0A    </p>=0A  =
</body>=0A</html>=0A

--=__Part98A89D4D.0__=--


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

------------------------------------------------------------------------------
Own the Future-Intel&reg; Level Up Game Demo Contest 2013
Rise to greatness in Intel's independent game demo contest.
Compete for recognition, cash, and the chance to get your game 
on Steam. $5K grand prize plus 10 genre and skill prizes. 
Submit your demo by 6/6/13. http://p.sf.net/sfu/intel_levelupd2d
--===============4929394674576389101==
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

--===============4929394674576389101==--