<p>1. Set Virus Scanning to no,<br>
 to disable that part.</p>
<p>2. This will neither stop the installed scanners from being updated, nor exclude them from the lint tests. Jules designed it this way deliberately, and for good reason.</p>
<p>3. Clamav scanner is a wrapped up call to clamscan run as the user you run MS as. The clamd thing passes the job of scanning the batch to the clamd daemon, which pribably runs as the clamav user/group. Amend the permissions and ownerships so that it xan, but without fouling up things for MS as such... And you&#39;re good. There&#39;s at least one wiki page in the MS wiki to guide you, as well as numerous (but old-ish) posts in this ml... Go read them.</p>

<p>Cheers!<br>
-- <br>
-- Glenn</p>
<p><blockquote type="cite">Den 9 jun 2011 20.56, &quot;Sandro Dentella&quot; &lt;<a href="mailto:sandro.dentella@gmail.com">sandro.dentella@gmail.com</a>&gt; skrev:<br><br><br><br><div class="gmail_quote"><p><font color="#500050">2011/6/8 Ryan Ivey &lt;<a href="mailto:iveymr@gmail.com">iveymr@gmail.com</a>&gt;<br>
&gt;<br>&gt; On Wed, Jun 8, 2011 at 6:44 AM, Sandro Dentella &lt;sandro.de...</font></p><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>===========================================================================<p><font color="#500050"><br>Virus and Content Scanning: Starting</font></p>

===========================================================================<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> ===========================================================================<p>
<font color="#500050"><br>Virus and Content Scanning: Starting</font></p>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" target="_blank">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>
<br>--<br>
MailScanner mailing list<br>
<a href="mailto:mailscanner@lists.mailscanner.info">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>
<br></blockquote></p>