lstat() failed on: /mnt/ramdisk/... (Martin Hepworth)

Dave Jones davejones70 at
Tue Aug 4 17:47:36 IST 2009

>try changing the type of tnef scanner, if the external binary change it to
>the internal one and/or vice versa

I changed it from external to internal and the problem is resolved.
Thanks for your help Martin.

Now the problem I have is some messages (one or two per hour out of
roughly 10 thousand) are now killing MailScanner so I am getting user
complaints about receiving that notification instead of the email
that was sent.  I have disabled TNEF for now until I can figure out
what is wrong with these emails.  I will search the archives for any
ideas and to become more familiar with this new DOS detection

>From what I can tell so far, I think the problem is coming from older
Outlook clients.

>Martin Hepworth
>Oxford, UK

>2009/8/1 Dave Jones <davejones70 at>

>> >From June 24th:
>> >> lstat() failed on: /mnt/ramdisk/31166/n5NC95S6028227/tnef.31166
>> >
>> >Which version of MailScanner are you running? If you're using a version
>> >< 4.76.24, and you only have tnef.* in your lstat errors, this is a
>> >known bug. Upgrading to the latest MailScanner release will fix it (or
>> >at least >= 4.76.24), as the tnef processing has been updated to correct
>> >the permission errors.
>> >
>> >(see for
>> >reference, and "16 Fixed permissions and ownership problems with data
>> >extracted from TNEF winmail.dat attachments." under fixes of 4.76.24-3
>> >from
>> >
>> > Cheers,
>> >-Joshua
>> I upgraded MailScanner to version 4.77.10-1 a few weeks ago and still
>> have thousands of these errors in the maillog.

Dave Jones

More information about the MailScanner mailing list