<br><br><div class="gmail_quote">2011/6/8 Ryan Ivey <span dir="ltr">&lt;<a href="mailto:iveymr@gmail.com">iveymr@gmail.com</a>&gt;</span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div class="gmail_quote"><div><div></div><div class="h5">On Wed, Jun 8, 2011 at 6:44 AM, Sandro Dentella <span dir="ltr">&lt;<a href="mailto:sandro.dentella@gmail.com" target="_blank">sandro.dentella@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

Hi,<br><br>I&#39;m currently having problems with my postfix+mailscanner installation that has worked fine up to yesterday. As I think probelms are in the antivirus I wanted to get rid of it momentarily so I set<br><br>  Virus Scanning = no <br>

</blockquote></div></div><blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204, 204, 204);padding-left:1ex"><div><div></div><div class="h5">

<br>and restarted Mailserver. I still fine in the log:<br><br>Jun  8 12:40:22 mail MailScanner[4343]: Virus and Content Scanning: Starting<br>Jun  8 12:40:24 mail MailScanner[4343]: Requeue: 188BE246072.ABE45 to B81D22460E7<br>



Jun  8 12:40:24 mail postfix/qmgr[27742]: B81D22460E7: from=&lt;<a href="mailto:sandro@e-den.it" target="_blank">sandro@e-den.it</a>&gt;, size=618, nrcpt=1 (queue active)<br>Jun  8 12:40:24 mail MailScanner[4343]: Uninfected: Delivered 1 messages<br>



<br>So, how should I do to really disable virus scanning (even thought now it seems it&#39;s working correctly...)<br><br>TIA<br><br>sandro<br>*:-)<br>
<br></div></div>--<br>
MailScanner mailing list<br>
<a href="mailto:mailscanner@lists.mailscanner.info" target="_blank">mailscanner@lists.mailscanner.info</a><br>
<a href="http://lists.mailscanner.info/mailman/listinfo/mailscanner" target="_blank">http://lists.mailscanner.info/mailman/listinfo/mailscanner</a><br>
<br>
Before posting, read <a href="http://wiki.mailscanner.info/posting" target="_blank">http://wiki.mailscanner.info/posting</a><br>
<br>
Support MailScanner development - buy the book off the website!<br></blockquote><div><br><br><br>What&#39;s the output of MailScanner --lint?   You should be able to set it &#39;no&#39; and check w/out restarting MailScanner.  With it set to &#39;no&#39;  --lint will produce output without the &#39;infected&#39; message on the test file (eicar) because it won&#39;t call your virus scanner.  Get in the habit of lint&#39;ing after every change to your config before restarting, it&#39;ll save you some headaches.<br>

<br></div></div></blockquote><div>Thanks for the hint Ryan! I wasn&#39;t aware of --lint option. I could fix a couplpe of errors. In fact I see that setting to &#39;no&#39; turns out the EICAR infected message but does not stop the message:<br>
<br>MailScanner.conf says &quot;Virus Scanners = clamav&quot;<br>Found these virus scanners installed: clamd<br>===========================================================================<br>Virus and Content Scanning: Starting<br>
===========================================================================<br><br>If any of your virus scanners (clamd)<br>are not listed there, you should check that they are installed correctly<br>and that MailScanner is finding them correctly via its virus.scanners.conf.<br>
<br><br>that I find misleading if  the meaning is that virus scanning is disabled!<br><br>A last question: I had problems setting the permission. Using Virus Scanenr = clamd raise an error:<br><br> ===========================================================================<br>
Virus and Content Scanning: Starting<br>Clamd::ERROR:: UNKNOWN CLAMD RETURN ./MSlintPTFbzv/lstat() failed: Permission denied. ERROR :: /var/spool/MailScanner/incoming/22945<br>Clamd::INFECTED:: Eicar-Test-Signature :: ./1/<a href="http://eicar.com">eicar.com</a><br>
Virus Scanning: Clamd found 2 infections<br>Infected message 1 came from 10.1.1.1<br>Virus Scanning: Found 2 viruses<br>===========================================================================<br><br><br>that I don&#39;t have if I set Virus Scanners = clamav<br>
<br>user and Group definition in MailScanner.conf are:<br><br>  Run As User = postfix<br>  Incoming Work User = <br>  Quarantine User = <br>  Incoming Work Group = clamav<br>  Quarantine Group =<br>  Run As Group = www-data<br>
  Incoming Work Group = clamav<br><br>and postfix also belongs to clamav group. <br><br>I don&#39;t really know ho to interpret the error. Since the virus scanner is clamd, it means that clamd user should be able to create /var/spool/MailScanner/incoming/22945, correct? clamd *is* able to do that...<br>
<br>Any help is appreciated<br><br>sandro<br>*:-)<br><br></div><br></div>