<br><br><div class="gmail_quote">2011/6/8 Ryan Ivey <span dir="ltr"><<a href="mailto:iveymr@gmail.com">iveymr@gmail.com</a>></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"><<a href="mailto:sandro.dentella@gmail.com" target="_blank">sandro.dentella@gmail.com</a>></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'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=<<a href="mailto:sandro@e-den.it" target="_blank">sandro@e-den.it</a>>, 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'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's the output of MailScanner --lint? You should be able to set it 'no' and check w/out restarting MailScanner. With it set to 'no' --lint will produce output without the 'infected' message on the test file (eicar) because it won't call your virus scanner. Get in the habit of lint'ing after every change to your config before restarting, it'll save you some headaches.<br>
<br></div></div></blockquote><div>Thanks for the hint Ryan! I wasn't aware of --lint option. I could fix a couplpe of errors. In fact I see that setting to 'no' turns out the EICAR infected message but does not stop the message:<br>
<br>MailScanner.conf says "Virus Scanners = clamav"<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'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'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>