tnef question

Mark Nienberg gmane at
Thu Nov 30 23:39:27 GMT 2006

In "MailScanner.conf", if I have

Use TNEF Contents = replace

does MailScanner log the fact that it replaced a winmail.dat with the individual 
attachments?  I'm trying to troubleshoot a problem with attachments in messages we 
receive from an Outlook/Exchange user.  How can I tell if the original message had a 
winmail.dat or if it always had separate attachments?

The problem is that although the recipient can open and save the attachments, the 
attachments disappear if the recipient forwards the message.

# MailScanner -v
Running on
Linux 2.6.17-1.2139_FC5 #1 Fri Jun 23 12:40:16 EDT 2006 i686 
athlon i386 GNU/Linux
This is Fedora Core release 5 (Bordeaux)
This is Perl version 5.008008 (5.8.8)

This is MailScanner version 4.56.8

We use the external tnef decoder v 1.4.3

Here are the headers from a bad message.  Note the strange line concerning mail 
reader not understanding MIME.

Received: from ( [])
	by (8.13.7/8.13.7) with ESMTP id kAU00Dl2014806
	for <linda at>; Wed, 29 Nov 2006 16:00:17 -0800
Received: from ([]) by with Microsoft SMTPSVC(6.0.3790.1830);
  Wed, 29 Nov 2006 19:00:10 -0500
Received: by with Internet Mail Service (5.5.2653.19)
  id <VYD8H8NY>; Wed, 29 Nov 2006 16:00:08 -0800
From: Jennifer <someone at>
To: "'us'" <linda at>
Message-ID: <4AC4264EA86E3041A0909E6944D790CDB720 at>
Subject: FW: DRAFT: Ameda Quals
Date: Wed, 29 Nov 2006 15:59:39 -0800
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2653.19)
Content-Type: multipart/related;
X-OriginalArrivalTime: 30 Nov 2006 00:00:10.0566 (UTC) FILETIME=[80C43E60:01C71412]
X-tma-MailScanner: Found to be clean
X-tma-MailScanner-SpamCheck: not spam, SpamAssassin (not cached, score=0.591,
	required 5.5, BAYES_00 -0.50, EXTRA_MPART_TYPE 1.09,

This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

Content-Type: multipart/alternative;

Content-Type: text/plain


More information about the MailScanner mailing list