<div dir="ltr">you tried using the external tnef scanner at all?<br></div><div class="gmail_extra"><br clear="all"><div>-- <br>Martin Hepworth, CISSP<br>Oxford, UK</div>
<br><br><div class="gmail_quote">On 6 June 2014 00:28, Kevin Miller <span dir="ltr">&lt;<a href="mailto:Kevin_Miller@ci.juneau.ak.us" target="_blank">Kevin_Miller@ci.juneau.ak.us</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I&#39;ve been having trouble with tnef attachements from one person.  Most get through OK, but this one is stumping me.  The sender is not using rich text format.  The mail administrator at her site sent me the following:<br>

<br>
&quot; I have deleted Anita&#39;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&#39;s settings (it is not).  Her email still gets bounced back when sent as HTML with or without an attachment.  Her email is successful as plain text without an attachment, but fails with an attachment.  The attachment is a PDF.&quot;<br>

<br>
It works for other users at this site - it&#39;s just her email that is acting oddly.  She&#39;s using Outlook - I&#39;m not sure what version or which version of Exchange they&#39;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---  6 root www    160 Jun  5 13:05 ./<br>
drwxrwx--- 33 root www    800 Jun  5 09:47 ../<br>
drwxrwx---  2 root www 123760 Jun  5 15:04 nonspam/<br>
drwxrwx---  2 root www     72 Jun  5 12:22 s55K40Y6019591/<br>
drwxrwx---  2 root www     72 Jun  5 13:05 s55Kkmnf026492/<br>
drwxrwx---  2 root www  24240 Jun  5 15:01 spam/<br>
<br>
Normally I just see nonspam and spam.<br>
Within s55K40Y6019591/ is a single file named message.  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  = internal<br>
TNEF Timeout = 120<br>
<br>
In Mailwatch, I see this when looking at the message:<br>
message/rfc822                  20140605/nonspam/s55Kkmnf026492<br>
message/rfc822\0117bit  20140605/s55Kkmnf026492/message<br>
<br>
No idea what rfc822\0117bit indicates but suspect it&#39;s a clue...<br>
<br>
 ...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 class="HOEnZb"><font color="#888888"><br>
<br>
--<br>
MailScanner mailing list<br>
<a href="mailto:mailscanner@lists.mailscanner.info">mailscanner@lists.mailscanner.info</a><br>
<a href="http://lists.mailscanner.info/mailman/listinfo/mailscanner" target="_blank">http://lists.mailscanner.info/mailman/listinfo/mailscanner</a><br>
<br>
Before posting, read <a href="http://wiki.mailscanner.info/posting" target="_blank">http://wiki.mailscanner.info/posting</a><br>
<br>
Support MailScanner development - buy the book off the website!<br>
</font></span></blockquote></div><br></div>