tnef leftovers in /var/spool/postfix/hold.

Stephen Cox stephencoxmail at gmail.com
Wed Jul 18 06:26:48 IST 2012


On Wed, Jul 18, 2012 at 2:22 AM, David Lee <dlee.aus at gmail.com> wrote:
>> Hello all.
>> My system seems to unpack the tnef files in the hold dir from postfix.
>>
>> Is there a way i can tell the system to do it in
>> /var/spool/MailScanner/incoming.
>> I have all these messages.
>>
>> Jul  4 00:00:06 ms03 postfix/showq[71821]: warning: hold/tnefzUwzPu: uid
>> 100: not a regular file
>> Jul  4 00:00:06 ms03 postfix/showq[71821]: warning: hold/tnef6tMSaE: uid
>> 100: not a regular file
>> Jul  4 00:00:06 ms03 postfix/showq[71821]: warning: hold/tnefDVEwIz: uid
>> 100: not a regular file
>> Jul  4 00:00:06 ms03 postfix/showq[71821]: warning: hold/tnef5rx4X7: uid
>> 100: not a regular file
>> Jul  4 00:00:06 ms03 postfix/showq[71821]: warning: hold/tnefATGL1A: uid
>> 100: not a regular file
>> Jul  4 00:00:06 ms03 postfix/showq[71821]: warning: hold/tnefas99Jg: uid
>> 100: not a regular file
>> Jul  4 00:00:06 ms03 postfix/showq[71821]: warning: hold/tnefu8KzxG: uid
>> 100: not a regular file
>> Jul  4 00:00:06 ms03 postfix/showq[71821]: warning: hold/tnefbMU6hy: uid
>> 100: not a regular file
>> Jul  4 00:00:06 ms03 postfix/showq[71821]: warning: hold/tnef4IxytK: uid
>> 100: not a regular file
>> Jul  4 00:00:06 ms03 postfix/showq[71821]: warning: hold/tnefzeaRuQ: uid
>> 100: not a regular file
>>
>> Thank you for your time
>>
>> Regards
>> Johan Hendriks
>
> 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.
> 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.
> I suspect these temporary hold queue directories eventually get removed when
> the associated MailScanner process that created them is killed and
> restarted.

David,

Can you please report the issue at
https://github.com/MailScanner/MailScanner/issues?state=open

Stephen

>
> --
> David
>
>
> --
> MailScanner mailing list
> mailscanner at lists.mailscanner.info
> http://lists.mailscanner.info/mailman/listinfo/mailscanner
>
> Before posting, read http://wiki.mailscanner.info/posting
>
> Support MailScanner development - buy the book off the website!
>


More information about the MailScanner mailing list