TNEF still a problem?

Julian Field MailScanner at
Thu Aug 11 20:20:45 IST 2005

    [ The following text is in the "ISO-8859-1" character set. ]
    [ Your display is set for the "US-ASCII" character set.  ]
    [ Some characters may be displayed incorrectly. ]

Bill McGonigle wrote:

> On Aug 8, 2005, at 05:34, Nigel kendrick wrote:
>> I just noticed that the same 9 emails were getting processed 
>> (archived and
>> blacklist checked) by MailScanner (4.44.6) in a loop without actually 
>> being
>> submitted for virus scanning and further processing/delivery.
>> I also saw the list messages here about issues with TNEF and, lo, one 
>> of the
>> MailScanner messages in the 'loop' referred to expanding a TNEF file. 
>> I set
>> 'Expand TNEF = yes' to 'no' and things got moving again (with some very
>> hefty 'delay=' values - i.e.: delay=22295!!!)
>> Other mail was being delivered during this period but obviously this 
>> needs a
>> fix. I notice Julian posted a TNEF patch - has this been tried by anyone
>> else yet and (noob hat on...) how do I apply it??
> FWIW, I switched to the external tnef processor on a troubled machine 
> and 30 messages blazed by that were chewing up the CPU previously. 

That's interesting. Maybe there's a new TNEF version out there that the 
module doesn't support properly. Has anyone checked the Changelog of the 
Convert::TNEF module? Am I a long way from the most recent version?

As for applying a patch:

Say for example that the patch is stored in /tmp/tnef.patch, then do
cd /usr/lib/MailScanner/MailScanner
patch -p0 < /tmp/tnef.patch

It should say that it has successfully applied the hunks of the patch.

Julian Field
Buy the MailScanner book at
Professional Support Services at
MailScanner thanks transtec Computers for their support

PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654

------------------------ MailScanner list ------------------------
To unsubscribe, email jiscmail at with the words:
'leave mailscanner' in the body of the email.
Before posting, read the Wiki ( and
the archives (

Support MailScanner development - buy the book off the website!

More information about the MailScanner mailing list