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

David Lee dlee.aus at gmail.com
Wed Jul 18 07:41:56 IST 2012


On Wed, Jul 18, 2012 at 2:56 PM, Stephen Cox <stephencoxmail at gmail.com>wrote:

> 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
>
>
Done.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.mailscanner.info/pipermail/mailscanner/attachments/20120718/12a615bc/attachment.html 


More information about the MailScanner mailing list