<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=us-ascii"><meta name=Generator content="Microsoft Word 14 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Cambria;
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@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:11.0pt;
        font-family:"Calibri","sans-serif";
        mso-fareast-language:EN-US;}
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;}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
        {mso-style-priority:99;
        mso-style-link:"Balloon Text Char";
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:8.0pt;
        font-family:"Tahoma","sans-serif";
        mso-fareast-language:EN-US;}
span.apple-style-span
        {mso-style-name:apple-style-span;}
span.EmailStyle18
        {mso-style-type:personal;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
span.BalloonTextChar
        {mso-style-name:"Balloon Text Char";
        mso-style-priority:99;
        mso-style-link:"Balloon Text";
        font-family:"Tahoma","sans-serif";
        mso-fareast-language:EN-US;}
span.EmailStyle21
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:70.85pt 70.85pt 70.85pt 70.85pt;}
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=NL link=blue vlink=purple><div class=WordSection1><p class=MsoNormal><span lang=EN-US style='color:#1F497D'>Jeremy,<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US style='color:#1F497D'>The perms are 755, owner is root and group is clamav.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='color:#1F497D'>But the incoming/* directories are created by MailScanner, so setting correct perms should be done by MailScanner.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='color:#1F497D'>Also the same setup worked fine with version 4.83.5.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='color:#1F497D'>If I replace ‘lib/MailScanner/TNEF.pm’ with the corresponding file from version 4.83.5, then everything works fine again.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US style='color:#1F497D'>Adri.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US style='color:#1F497D'><o:p> </o:p></span></p><div><div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm'><p class=MsoNormal><b><span lang=EN-US style='font-size:10.0pt;font-family:"Tahoma","sans-serif";mso-fareast-language:NL'>From:</span></b><span lang=EN-US style='font-size:10.0pt;font-family:"Tahoma","sans-serif";mso-fareast-language:NL'> mailscanner-bounces@lists.mailscanner.info [mailto:mailscanner-bounces@lists.mailscanner.info] <b>On Behalf Of </b>Jeremy McSpadden<br><b>Sent:</b> dinsdag 13 maart 2012 13:54<br><b>To:</b> MailScanner discussion<br><b>Subject:</b> Re: Error expanding TNEF attachments in new 4.84.5-2<o:p></o:p></span></p></div></div><p class=MsoNormal><o:p> </o:p></p><div><div><div><p class=MsoNormal><span class=apple-style-span><span style='font-size:11.5pt;color:black'>could not create subdirectory q2DCDfuq022124//tnefdDM1SB</span></span><span style='font-size:10.5pt;font-family:"Cambria","serif";color:black'><o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-size:10.5pt;font-family:"Cambria","serif";color:black'><o:p> </o:p></span></p></div><div><p class=MsoNormal><span class=apple-style-span><span style='font-size:11.5pt;color:black'>Check perms</span></span><span style='font-size:10.5pt;font-family:"Cambria","serif";color:black'><o:p></o:p></span></p></div><div><div><div><div><p class=MsoNormal><span style='font-size:10.0pt;color:black'>--</span><span style='font-size:12.0pt;font-family:"Times New Roman","serif";color:black'><o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-size:10.0pt;color:black'>Jeremy McSpadden</span><span style='color:black'><o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-size:10.0pt;color:black'>Flux Labs, Inc</span><span style='color:black'><o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-size:10.0pt;color:#1F497D'><a href="http://www.fluxlabs.net/"><span style='color:#1F497D'>http://www.fluxlabs.net</span></a><br>Endless Solutions</span><span style='color:black'><o:p></o:p></span></p></div><div><p class=MsoNormal><b><span style='font-size:10.0pt;color:#7D7D7D'>Office</span></b><span style='font-size:10.0pt;color:#7D7D7D'> : 850-588-4626</span><span style='color:black'><o:p></o:p></span></p></div><div><p class=MsoNormal><b><span style='font-size:10.0pt;color:#7D7D7D'>Cell</span></b><span style='font-size:10.0pt;color:#7D7D7D'> : 850-890-2543<br><b>Fax</b> : 850-254-2955</span><span style='color:black'><o:p></o:p></span></p></div></div></div></div></div></div><div><p class=MsoNormal><span style='font-size:10.5pt;font-family:"Cambria","serif";color:black'><o:p> </o:p></span></p></div><div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm'><p class=MsoNormal><b><span style='color:black'>From: </span></b><span style='color:black'>Adri Koppes <<a href="mailto:adrik@salesmanager.nl">adrik@salesmanager.nl</a>><br><b>Reply-To: </b>MailScanner discussion <<a href="mailto:mailscanner@lists.mailscanner.info">mailscanner@lists.mailscanner.info</a>><br><b>Date: </b>Tue, 13 Mar 2012 13:44:55 +0100<br><b>To: </b>MailScanner discussion <<a href="mailto:mailscanner@lists.mailscanner.info">mailscanner@lists.mailscanner.info</a>><br><b>Subject: </b>Error expanding TNEF attachments in new 4.84.5-2<o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-size:10.5pt;font-family:"Cambria","serif";color:black'><o:p> </o:p></span></p></div><div><div><p class=MsoNormal><span lang=EN-US style='color:black'>Julian,</span><span style='color:black'><o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='color:black'> </span><span style='color:black'><o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='color:black'>I just updated to the last version 4.84.5-2 and noticed a bug with the new ’mktemp’ fixes.</span><span style='color:black'><o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='color:black'>When I receive a message having a tnef attachment I get the following messages in syslog:</span><span style='color:black'><o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='color:black'> </span><span style='color:black'><o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='color:black'>Mar 13 13:13:45 mail MailScanner[17323]: New Batch: Scanning 1 messages, 32172 bytes</span><span style='color:black'><o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='color:black'>Mar 13 13:13:45 mail MailScanner[17323]: Expanding TNEF archive at /usr/local/etc/MailScanner/incoming/17323/q2DCDfuq022124/winmail.dat</span><span style='color:black'><o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='color:black'>Mar 13 13:13:45 mail MailScanner[17323]: Trying to unpack nwinmail.dat in message q2DCDfuq022124, could not create subdirectory q2DCDfuq022124//tnefdDM1SB, failed to unpack TNEF message</span><span style='color:black'><o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='color:black'>Mar 13 13:13:45 mail MailScanner[17323]: Corrupt TNEF winmail.dat that cannot be analysed in message q2DCDfuq022124</span><span style='color:black'><o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='color:black'> </span><span style='color:black'><o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='color:black'>This is using the external tnef decoder setting in MailScanner.conf</span><span style='color:black'><o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='color:black'>The message is not sent to the recipients, instead an ‘Other Bad Content Detected’ report and notice is generated.</span><span style='color:black'><o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='color:black'> </span><span style='color:black'><o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='color:black'>Best regards,</span><span style='color:black'><o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='color:black'> </span><span style='color:black'><o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='color:black'>Adri.</span><span style='color:black'><o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='color:black'> </span><span style='color:black'><o:p></o:p></span></p></div></div><p class=MsoNormal><span style='font-size:10.5pt;font-family:"Cambria","serif";color:black;mso-fareast-language:NL'>-- MailScanner mailing list <a href="mailto:mailscanner@lists.mailscanner.info">mailscanner@lists.mailscanner.info</a> <a href="http://lists.mailscanner.info/mailman/listinfo/mailscanner">http://lists.mailscanner.info/mailman/listinfo/mailscanner</a> Before posting, read <a href="http://wiki.mailscanner.info/posting">http://wiki.mailscanner.info/posting</a> Support MailScanner development - buy the book off the website! <o:p></o:p></span></p></div></body></html>