Incoming Work Group = clamav<br>
Incoming Work Permissions = 0660<br><br>Also check the ownership and group ownership on /usr/local/spool/MailScanner/incoming and check the permissions it has already.  Should be 660 so the clamav group can write to it.<br>
<br><div class="gmail_quote">On Thu, Apr 14, 2011 at 9:21 AM, sachin <span dir="ltr">&lt;<a href="mailto:sachin.murudkar@netcore.co.in">sachin.murudkar@netcore.co.in</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">






<div text="#000000" bgcolor="#ffffff">
Hi All<br>
<br>
I am trying to configure Mailscanner with clamd but it is giving me the
below mentioned error and delivering the virus mail to users inbox
without quarantine infected mails.<br>
<br>
I have mentioed my details below for your reference ... Please help me
to resolve this.<br>
<br>
clamd version - 0.97<br>
MailScanner version - 4.70<br>
clamav version - 0.97<br>
<br>
<b><u>Configuration</u>:-</b><br>
clamd.conf<br>
LocalSocket = /tmp/clamd<br>
Virus Scanners = clamd<br>
Clamd Socket = /tmp/clamd<br>
<br>
<b><u>Mailscanner.conf</u></b><br>
Virus Scanning = yes <br>
Virus Scanners = clamd<br>
Deliver Disinfected Files = no<br>
Silent Viruses = HTML-IFrame HTML-Codebase All-Viruses<br>
Still Deliver Silent Viruses = no<br>
Non-Forging Viruses = Joke/ OF97/ WM97/ W97M/<br>
Quarantine Infections = yes<br>
Quarantine Silent Viruses = yes<br>
Quarantine Modified Body = no<br>
Quarantine Whole Message = yes<br>
Quarantine Whole Messages As Queue Files = yes<br>
Deliver Cleaned Messages = yes<br>
Notify Senders = no<br>
Notify Senders Of Viruses = no<br>
Warning Is Attachment = yes<br>
Send Notices = no<br>
Incoming Work User = clamav<br>
Incoming Work Group =<br>
Incoming Work Permissions = 0640<br>
Quarantine User =<br>
Quarantine Group =<br>
Quarantine Permissions = 0600<br>
<br>
<u><b>ERROR</b></u><br>
Clamd::ERROR:: UNKNOWN CLAMD RETURN ./lstat() failed: Permission
denied. ERROR :: /usr/local/spool/MailScanner/incoming/19529 <br>
<br>
<br>
Please help to resolve this issue ...<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></div><br><br clear="all"><br>-- <br>Landon Stewart &lt;<a href="mailto:LStewart@SUPERB.NET" target="_blank">LStewart@SUPERB.NET</a>&gt;<br>SuperbHosting.Net by Superb Internet Corp.<br>Toll Free (US/Canada): 888-354-6128 x 4199<br>
Direct: 206-438-5879<br>Web hosting and more &quot;Ahead of the Rest&quot;: <a href="http://www.superbhosting.net" target="_blank">http://www.superbhosting.net</a><br>