<br><br><div class="gmail_quote">On Wed, Jul 18, 2012 at 2:56 PM, Stephen Cox <span dir="ltr"><<a href="mailto:stephencoxmail@gmail.com" target="_blank">stephencoxmail@gmail.com</a>></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 <<a href="mailto:dlee.aus@gmail.com">dlee.aus@gmail.com</a>> wrote:<br>
>> Hello all.<br>
>> My system seems to unpack the tnef files in the hold dir from postfix.<br>
>><br>
>> Is there a way i can tell the system to do it in<br>
>> /var/spool/MailScanner/incoming.<br>
>> I have all these messages.<br>
>><br>
>> Jul 4 00:00:06 ms03 postfix/showq[71821]: warning: hold/tnefzUwzPu: uid<br>
>> 100: not a regular file<br>
>> Jul 4 00:00:06 ms03 postfix/showq[71821]: warning: hold/tnef6tMSaE: uid<br>
>> 100: not a regular file<br>
>> Jul 4 00:00:06 ms03 postfix/showq[71821]: warning: hold/tnefDVEwIz: uid<br>
>> 100: not a regular file<br>
>> Jul 4 00:00:06 ms03 postfix/showq[71821]: warning: hold/tnef5rx4X7: uid<br>
>> 100: not a regular file<br>
>> Jul 4 00:00:06 ms03 postfix/showq[71821]: warning: hold/tnefATGL1A: uid<br>
>> 100: not a regular file<br>
>> Jul 4 00:00:06 ms03 postfix/showq[71821]: warning: hold/tnefas99Jg: uid<br>
>> 100: not a regular file<br>
>> Jul 4 00:00:06 ms03 postfix/showq[71821]: warning: hold/tnefu8KzxG: uid<br>
>> 100: not a regular file<br>
>> Jul 4 00:00:06 ms03 postfix/showq[71821]: warning: hold/tnefbMU6hy: uid<br>
>> 100: not a regular file<br>
>> Jul 4 00:00:06 ms03 postfix/showq[71821]: warning: hold/tnef4IxytK: uid<br>
>> 100: not a regular file<br>
>> Jul 4 00:00:06 ms03 postfix/showq[71821]: warning: hold/tnefzeaRuQ: uid<br>
>> 100: not a regular file<br>
>><br>
>> Thank you for your time<br>
>><br>
>> Regards<br>
>> Johan Hendriks<br>
><br>
> I've just built a new Mailscanner server on a Red Hat 6.3 system and also<br>
> noticed the creation of these files in the Postfix hold directory. After<br>
> having a bit of a look at the code, I think I have found the problem.<br>
> The problem lies in the 'ExternalDecoder' subroutine of the TNEF.pm module.<br>
> Two temporary directories are created there (one using 'tempdir', the other<br>
> by 'mkdir'), but only one is deleted (the one created using 'mkdir'). It<br>
> appears that the TNEF files are being unpacked into the<br>
> '/var/spool/MailScanner/incoming' directory as specified.<br>
> I suspect these temporary hold queue directories eventually get removed when<br>
> the associated MailScanner process that created them is killed and<br>
> 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>