> 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 /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 100: not a regular file<br>> Jul 4 00:00:06 ms03 postfix/showq[71821]: warning: hold/tnef6tMSaE: uid 100: not a regular file<br>> Jul 4 00:00:06 ms03 postfix/showq[71821]: warning: hold/tnefDVEwIz: uid 100: not a regular file<br>
> Jul 4 00:00:06 ms03 postfix/showq[71821]: warning: hold/tnef5rx4X7: uid 100: not a regular file<br>> Jul 4 00:00:06 ms03 postfix/showq[71821]: warning: hold/tnefATGL1A: uid 100: not a regular file<br>> Jul 4 00:00:06 ms03 postfix/showq[71821]: warning: hold/tnefas99Jg: uid 100: not a regular file<br>
> Jul 4 00:00:06 ms03 postfix/showq[71821]: warning: hold/tnefu8KzxG: uid 100: not a regular file<br>> Jul 4 00:00:06 ms03 postfix/showq[71821]: warning: hold/tnefbMU6hy: uid 100: not a regular file<br>> Jul 4 00:00:06 ms03 postfix/showq[71821]: warning: hold/tnef4IxytK: uid 100: not a regular file<br>
> Jul 4 00:00:06 ms03 postfix/showq[71821]: warning: hold/tnefzeaRuQ: uid 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 noticed the creation of these files in the Postfix hold directory. After 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. Two temporary directories are created there (one using 'tempdir', the other by 'mkdir'), but only one is deleted (the one created using 'mkdir'). It appears that the TNEF files are being unpacked into the '/var/spool/MailScanner/incoming' directory as specified.<br>
I suspect these temporary hold queue directories eventually get removed when the associated MailScanner process that created them is killed and restarted.<br><br>--<br>David<br><br>