I saw in the changelogs that an update of Mailscanner can solve the problem but an update of Ubuntu 9 &gt; 10 and with that updated perl and clamd solved the problem for me.<br><br><div class="gmail_quote">On 18 November 2011 15:43, Steve Campbell <span dir="ltr">&lt;<a href="mailto:campbell@cnpapers.com">campbell@cnpapers.com</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">I&#39;m getting the following error in my logs:<br>
<br>
Clamd::ERROR:: lstat() failed: Permission denied. ERRORClamd::ERROR:: lstat() failed: Permission denied......<br>
<br>
Looking back, I found a thread suggesting I should switch to the internal tnef expander, which I am trying now, and to ensure the &quot;incoming&quot; directory is accessible by the clam user (clamav). I&#39;ve followed the suggestions in the MailScanner.conf file for the situation I am running under. The temp folders under the incoming directory, along with the incoming folder itself, where the winmail.dat is expanded IS owned by clamav.<br>


<br>
So I&#39;m wondering if the 0640 mod on the folders is the proper mod. Should there be any sticky bits or anything set?<br>
<br>
Just curious, since this seems to be the first time I&#39;ve run into this and I&#39;ve been using MS for years.<br>
<br>
steve campbell<br><font color="#888888">
<br>
-- <br>
MailScanner mailing list<br>
<a href="mailto:mailscanner@lists.mailscanner.info" target="_blank">mailscanner@lists.mailscanner.<u></u>info</a><br>
<a href="http://lists.mailscanner.info/mailman/listinfo/mailscanner" target="_blank">http://lists.mailscanner.info/<u></u>mailman/listinfo/mailscanner</a><br>
<br>
Before posting, read <a href="http://wiki.mailscanner.info/posting" target="_blank">http://wiki.mailscanner.info/<u></u>posting</a><br>
<br>
Support MailScanner development - buy the book off the website! </font></blockquote></div><br>