<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Microsoft Word 14 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.hoenzb
        {mso-style-name:hoenzb;}
span.EmailStyle18
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri","sans-serif";
        mso-fareast-language:EN-US;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-GB" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">It’s also worth reminding people to use the TNEF.pm from the MailScanner git repo, if they’re not already.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">Cheers,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">Phil<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:#1F497D">--</span><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">
<o:p></o:p></span></p>
<p class="MsoNormal"><b><span style="font-size:11.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:black">Phil Randal<o:p></o:p></span></b></p>
<p class="MsoNormal"><b><span style="font-size:11.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:black">Infrastructure Engineer</span></b><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:black"><br>
</span><b><span style="font-size:11.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:#00829B">Hoople Ltd | Thorn Office Centre | Hereford HR2 6JT</span></b><span style="font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#00829B"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:#00829B">Tel: 01432 260415 | Email:
<a href="mailto:phil.randal@hoopleltd.co.uk">phil.randal@hoopleltd.co.uk</a><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><b><span lang="EN-US" style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;">From:</span></b><span lang="EN-US" style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;"> mailscanner-bounces@lists.mailscanner.info [mailto:mailscanner-bounces@lists.mailscanner.info]
<b>On Behalf Of </b>Martin Hepworth<br>
<b>Sent:</b> 06 June 2014 09:00<br>
<b>To:</b> MailScanner discussion<br>
<b>Subject:</b> Re: tnef madness<o:p></o:p></span></p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<div>
<p class="MsoNormal">you tried using the external tnef scanner at all?<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><br clear="all">
<o:p></o:p></p>
<div>
<p class="MsoNormal">-- <br>
Martin Hepworth, CISSP<br>
Oxford, UK<o:p></o:p></p>
</div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><o:p>&nbsp;</o:p></p>
<div>
<p class="MsoNormal">On 6 June 2014 00:28, Kevin Miller &lt;<a href="mailto:Kevin_Miller@ci.juneau.ak.us" target="_blank">Kevin_Miller@ci.juneau.ak.us</a>&gt; wrote:<o:p></o:p></p>
<p class="MsoNormal">I've been having trouble with tnef attachements from one person. &nbsp;Most get through OK, but this one is stumping me. &nbsp;The sender is not using rich text format. &nbsp;The mail administrator at her site sent me the following:<br>
<br>
&quot; I have deleted Anita's outlook profile and recreated it and have also checked the Exchange settings to see if it is enforcing rich-text format over the user's settings (it is not). &nbsp;Her email still gets bounced back when sent as HTML with or without an attachment.
 &nbsp;Her email is successful as plain text without an attachment, but fails with an attachment. &nbsp;The attachment is a PDF.&quot;<br>
<br>
It works for other users at this site - it's just her email that is acting oddly. &nbsp;She's using Outlook - I'm not sure what version or which version of Exchange they're on.<br>
<br>
Looking in the /var/spool/MailScanner/quarantine/20140605 I see a couple of odd directories:<br>
mxg:/var/spool/MailScanner/quarantine/20140605 # l<br>
total 145<br>
drwxrwx--- &nbsp;6 root www &nbsp; &nbsp;160 Jun &nbsp;5 13:05 ./<br>
drwxrwx--- 33 root www &nbsp; &nbsp;800 Jun &nbsp;5 09:47 ../<br>
drwxrwx--- &nbsp;2 root www 123760 Jun &nbsp;5 15:04 nonspam/<br>
drwxrwx--- &nbsp;2 root www &nbsp; &nbsp; 72 Jun &nbsp;5 12:22 s55K40Y6019591/<br>
drwxrwx--- &nbsp;2 root www &nbsp; &nbsp; 72 Jun &nbsp;5 13:05 s55Kkmnf026492/<br>
drwxrwx--- &nbsp;2 root www &nbsp;24240 Jun &nbsp;5 15:01 spam/<br>
<br>
Normally I just see nonspam and spam.<br>
Within s55K40Y6019591/ is a single file named message. &nbsp;Contents are at <a href="http://pastebin.com/kGrmSpN5" target="_blank">
http://pastebin.com/kGrmSpN5</a><br>
I munged the email addresses, and stripped out the middle of the attachment but all else is otherwise intact.<br>
<br>
TNEF settings in MailScanner.conf:<br>
<br>
Expand TNEF = yes<br>
Use TNEF Contents = replace<br>
Deliver Unparsable TNEF = no<br>
TNEF Expander &nbsp;= internal<br>
TNEF Timeout = 120<br>
<br>
In Mailwatch, I see this when looking at the message:<br>
message/rfc822 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;20140605/nonspam/s55Kkmnf026492<br>
message/rfc822\0117bit &nbsp;20140605/s55Kkmnf026492/message<br>
<br>
No idea what rfc822\0117bit indicates but suspect it's a clue...<br>
<br>
&nbsp;...Kevin<br>
--<br>
Kevin Miller<br>
Network/email Administrator, CBJ MIS Dept.<br>
155 South Seward Street<br>
Juneau, Alaska 99801<br>
Phone: (907) 586-0242, Fax: (907) 586-4500<br>
Registered Linux User No: 307357<br>
<span style="color:#888888"><br>
<br>
<span class="hoenzb">--</span><br>
<span class="hoenzb">MailScanner mailing list</span><br>
<span class="hoenzb"><a href="mailto:mailscanner@lists.mailscanner.info">mailscanner@lists.mailscanner.info</a></span><br>
<span class="hoenzb"><a href="http://lists.mailscanner.info/mailman/listinfo/mailscanner" target="_blank">http://lists.mailscanner.info/mailman/listinfo/mailscanner</a></span><br>
<br>
<span class="hoenzb">Before posting, read <a href="http://wiki.mailscanner.info/posting" target="_blank">
http://wiki.mailscanner.info/posting</a></span><br>
<br>
<span class="hoenzb">Support MailScanner development - buy the book off the website!</span></span><o:p></o:p></p>
</div>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
</div>
<font face="Arial, sans-serif" color="#00829b">Hoople Ltd, Registered in England and Wales No. 7556595<br>
Registered office: Plough Lane, Hereford, HR4 0LE<br>
<br>
<font face="Arial, sans-serif" color="black">&quot;Any opinion expressed in this e-mail or any attached files are those of the individual and not necessarily those of Hoople Ltd. You should be aware that Hoople Ltd. monitors its email service. This e-mail and any
 attached files are confidential and intended solely for the use of the addressee. This communication may contain material protected by law from being passed on. If you are not the intended recipient and have received this e-mail in error, you are advised that
 any use, dissemination, forwarding, printing or copying of this e-mail is strictly prohibited. If you have received this e-mail in error please contact the sender immediately and destroy all copies of it.&quot;</font></font>
</body>
</html>