Steve<br>Double check nothing has altered any of the permissions further up the tree and the clamd user can access the files<br><br>Martin<br><br>On Friday, 18 November 2011, Steve Campbell &lt;<a href="mailto:campbell@cnpapers.com">campbell@cnpapers.com</a>&gt; wrote:<br>
&gt; I&#39;m pretty certain I looked through there. The settings are spread out all across the config file, so I might have missed one (or four). I just don&#39;t understand why I&#39;m seeing this now (just one email) without having changed anything.<br>
&gt;<br>&gt; Thanks for all the help from everyone.<br>&gt;<br>&gt; steve<br>&gt;<br>&gt; On 11/18/2011 11:07 AM, Martin Hepworth wrote:<br>&gt;<br>&gt; yes you need to look carefully at the mailscanner.conf settings for permssions etc. Theres good documentation in the file about running clamdd and the things you need to setup<br>
&gt; --<br>&gt; Martin Hepworth<br>&gt; Oxford, UK<br>&gt;<br>&gt;<br>&gt; On 18 November 2011 14:53, Milenko Letic &lt;<a href="mailto:mikoletic@gmail.com">mikoletic@gmail.com</a>&gt; wrote:<br>&gt;&gt;<br>&gt;&gt; this is mod in my MailScanner.conf :<br>
&gt;&gt; Incoming Work Permissions = 0644<br>&gt;&gt; maybe , maybe not help, but wish you luck <br>&gt;&gt; On Fri, Nov 18, 2011 at 3:43 PM, Steve Campbell &lt;<a href="mailto:campbell@cnpapers.com">campbell@cnpapers.com</a>&gt; wrote:<br>
&gt;&gt;&gt;<br>&gt;&gt;&gt; I&#39;m getting the following error in my logs:<br>&gt;&gt;&gt;<br>&gt;&gt;&gt; Clamd::ERROR:: lstat() failed: Permission denied. ERRORClamd::ERROR:: lstat() failed: Permission denied......<br>
&gt;&gt;&gt;<br>&gt;&gt;&gt; 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>
&gt;&gt;&gt;<br>&gt;&gt;&gt; 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>&gt;&gt;&gt;<br>&gt;&gt;&gt; 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>
&gt;&gt;&gt;<br>&gt;&gt;&gt; steve campbell<br>&gt;&gt;&gt;<br>&gt;&gt;&gt; --<br>&gt;&gt;&gt; MailScanner mailing list<br>&gt;&gt;&gt; <a href="mailto:mailscanner@lists.mailscanner.info">mailscanner@lists.mailscanner.info</a><br>
&gt;&gt;&gt; <a href="http://lists.mailscanner.info/mailman/listinfo/mailscanner">http://lists.mailscanner.info/mailman/listinfo/mailscanner</a><br>&gt;&gt;&gt;<br>&gt;&gt;&gt; Before posting, read <a href="http://wiki.mailscanner.info/posting">http://wiki.mailscanner.info/posting</a><br>
&gt;&gt;&gt;<br>&gt;&gt;&gt; Support MailScanner development - buy the book off the website!<br>&gt;&gt;<br>&gt;&gt; --<br>&gt;&gt; MailScanner mailing list<br>&gt;&gt; <a href="mailto:mailscanner@lists.mailscanner.info">mailscanner@lists.mailscanner.info</a><br>
&gt;&gt; <a href="http://lists.mailscanner.info/mailman/listinfo/mailscanner">http://lists.mailscanner.info/mailman/listinfo/mailscanner</a><br>&gt;&gt;<br>&gt;&gt; Before posting, read <a href="http://wiki.mailscanner.info/posting">http://wiki.mailscanner.info/posting</a><br>
&gt;&gt;<br>&gt;&gt; Support MailScanner development - buy the book off the website!<br>&gt;&gt;<br>&gt;<br>&gt;<br>&gt;<br>&gt;<br><br>-- <br>-- <br>Martin Hepworth<br>Oxford, UK<br>