<br><br><div class="gmail_quote">On Wed, Jul 18, 2012 at 2:56 PM, Stephen Cox <span dir="ltr">&lt;<a href="mailto:stephencoxmail@gmail.com" target="_blank">stephencoxmail@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div class="HOEnZb"><div class="h5">On Wed, Jul 18, 2012 at 2:22 AM, David Lee &lt;<a href="mailto:dlee.aus@gmail.com">dlee.aus@gmail.com</a>&gt; wrote:<br>
&gt;&gt; Hello all.<br>
&gt;&gt; My system seems to unpack the tnef files in the hold dir from postfix.<br>
&gt;&gt;<br>
&gt;&gt; Is there a way i can tell the system to do it in<br>
&gt;&gt; /var/spool/MailScanner/incoming.<br>
&gt;&gt; I have all these messages.<br>
&gt;&gt;<br>
&gt;&gt; Jul  4 00:00:06 ms03 postfix/showq[71821]: warning: hold/tnefzUwzPu: uid<br>
&gt;&gt; 100: not a regular file<br>
&gt;&gt; Jul  4 00:00:06 ms03 postfix/showq[71821]: warning: hold/tnef6tMSaE: uid<br>
&gt;&gt; 100: not a regular file<br>
&gt;&gt; Jul  4 00:00:06 ms03 postfix/showq[71821]: warning: hold/tnefDVEwIz: uid<br>
&gt;&gt; 100: not a regular file<br>
&gt;&gt; Jul  4 00:00:06 ms03 postfix/showq[71821]: warning: hold/tnef5rx4X7: uid<br>
&gt;&gt; 100: not a regular file<br>
&gt;&gt; Jul  4 00:00:06 ms03 postfix/showq[71821]: warning: hold/tnefATGL1A: uid<br>
&gt;&gt; 100: not a regular file<br>
&gt;&gt; Jul  4 00:00:06 ms03 postfix/showq[71821]: warning: hold/tnefas99Jg: uid<br>
&gt;&gt; 100: not a regular file<br>
&gt;&gt; Jul  4 00:00:06 ms03 postfix/showq[71821]: warning: hold/tnefu8KzxG: uid<br>
&gt;&gt; 100: not a regular file<br>
&gt;&gt; Jul  4 00:00:06 ms03 postfix/showq[71821]: warning: hold/tnefbMU6hy: uid<br>
&gt;&gt; 100: not a regular file<br>
&gt;&gt; Jul  4 00:00:06 ms03 postfix/showq[71821]: warning: hold/tnef4IxytK: uid<br>
&gt;&gt; 100: not a regular file<br>
&gt;&gt; Jul  4 00:00:06 ms03 postfix/showq[71821]: warning: hold/tnefzeaRuQ: uid<br>
&gt;&gt; 100: not a regular file<br>
&gt;&gt;<br>
&gt;&gt; Thank you for your time<br>
&gt;&gt;<br>
&gt;&gt; Regards<br>
&gt;&gt; Johan Hendriks<br>
&gt;<br>
&gt; I&#39;ve just built a new Mailscanner server on a Red Hat 6.3 system and also<br>
&gt; noticed the creation of these files in the Postfix hold directory. After<br>
&gt; having a bit of a look at the code, I think I have found the problem.<br>
&gt; The problem lies in the &#39;ExternalDecoder&#39; subroutine of the TNEF.pm module.<br>
&gt; Two temporary directories are created there (one using &#39;tempdir&#39;, the other<br>
&gt; by &#39;mkdir&#39;), but only one is deleted (the one created using &#39;mkdir&#39;). It<br>
&gt; appears that the TNEF files are being unpacked into the<br>
&gt; &#39;/var/spool/MailScanner/incoming&#39; directory as specified.<br>
&gt; I suspect these temporary hold queue directories eventually get removed when<br>
&gt; the associated MailScanner process that created them is killed and<br>
&gt; restarted.<br>
<br>
</div></div>David,<br>
<br>
Can you please report the issue at<br>
<a href="https://github.com/MailScanner/MailScanner/issues?state=open" target="_blank">https://github.com/MailScanner/MailScanner/issues?state=open</a><br>
<br>
Stephen<br>
<br></blockquote></div><br>Done.<br>