Hi Jason,<br><br><b><i>Jason Ede &lt;J.Ede@birchenallhowden.co.uk&gt;</i></b> wrote:<blockquote class="replbq" style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;">  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"><meta content="MSHTML 6.00.2800.1601" name="GENERATOR">  <style title="owaParaStyle">P {  MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px } </style>  <div id="divRpF465128" style="direction: ltr;">Umm... Is the file being sent by Outlook/exchange? If so then it could be in a winmail.dat attachment rather than as a .wmv file. If so its probably worth using the tnef expander to expand it out although I'm not  sure if thats done before or after the filetype checking...</div> </blockquote><div style="direction: ltr;">I have sent the file attachments from hotmail, yahoo, gmail, which don't do the winmail.dat encoding.<br><br>I also have the tnef installed but because I have tried different extensions (wmv, lnk, swf) from
 different freemail providers, it wouldn't be because of tnef.<br><br>This problem has stumped me but I do need it to work so am hoping someone on the list has an idea as to what I can try or what cases it wouldn't work under.<br><br>Thanks.<br><br>Michael. <br></div><blockquote class="replbq" style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;"> <div style="direction: ltr;"><font face="times new roman">Jason</font></div> <div style="direction: ltr;">&nbsp;</div> <div style="direction: ltr;"> <hr tabindex="-1"> <font face="Tahoma" size="2"><b>From:</b> mailscanner-bounces@lists.mailscanner.info [mailscanner-bounces@lists.mailscanner.info] On Behalf Of Michael Mansour [micoots@yahoo.com]<br> <b>Sent:</b> 28 November 2007 14:59<br> <b>To:</b> MailScanner discussion<br> <b>Subject:</b> Re: Can't block wmv files<br> </font><br> </div> <div></div> <div>Hi Julian,<br> <br> <b><i>Julian Field &lt;MailScanner@ecs.soton.ac.uk&gt;</i></b> wrote:
 <blockquote class="replbq" style="border-left: 2px solid rgb(16, 16, 255); padding-left: 5px; margin-left: 5px;"> -----BEGIN PGP SIGNED MESSAGE-----<br> Hash: SHA1<br> <br> <br> <br> shuttlebox wrote:<br> &gt; On Nov 27, 2007 3:08 PM, Michael Mansour wrote:<br> &gt; <br> &gt;&gt; %etc-dir%/example.com.filename.rules:<br> &gt;&gt;<br> &gt;&gt; and %etc-dir%/example.com.filetype.rules:<br> &gt;&gt; <br> &gt;<br> &gt; Those filenames don't match what you have in your rulesets, note the<br> &gt; missing .conf at the end:<br> &gt;<br> &gt; <br> &gt;&gt; FromOrTo: *@example.com<br> &gt;&gt; /etc/MailScanner/example.com.filename.rules.conf<br> &gt;&gt; FromOrTo: default /etc/MailScanner/filename.rules.conf<br> &gt;&gt;<br> &gt;&gt; FromOrTo: *@example.com<br> &gt;&gt; /etc/MailScanner/example.com.filetype.rules.conf<br> &gt;&gt; FromOrTo: default /etc/MailScanner/filetype.rules.conf<br> &gt;&gt; <br> &gt;<br> &gt; Also, you do have tabs as whitespace in both files and no
 strange<br> &gt; end-of-lines, common if you edit the files in Windows?<br> &gt; <br> The only places you need tabs instead of spaces are in the <br> example.com.filetype/name.rules.conf and filetype/name.rules.conf files.<br> You can use any whitespace in *.rules files.<br> </blockquote> I'm using:<br> <br> mailscanner-4.65.3-1.noarch<br> <br> I've spent the last 5 hours trouble-shooting this problem (in addition to the 2 hours I spent last night) and I believe MS is broken with this filename/filetype blocking now.<br> <br> What I did was globally set the /etc/MailScanner/filename.rules.conf and /etc/MailScanner/filetype.conf to deny (I also did deny+delete) all movie files and tested for the swf extension too.<br> <br> Movie files were still let through even when this was a global setting.<br> <br> I then tried simply attaching something I knew 100% would fail, a web link (.lnk file), and it passed through fine.<br> <br> What sort of thing / setting in MS would allow
 this to happen? ie. allowing anything through?<br> <br> Thanks.<br> <br> Michael.<br> <br> <div></div> <hr size="1"> Make the switch to the world's best email. <a href="http://au.rd.yahoo.com/mail/taglines/default_all/mail/spankey/*http://au.yahoo.com/worldsbestmail/spankey/" target="_blank"> Get the new Yahoo!7 Mail now</a>. </div> -- <br>MailScanner mailing list<br>mailscanner@lists.mailscanner.info<br>http://lists.mailscanner.info/mailman/listinfo/mailscanner<br><br>Before posting, read http://wiki.mailscanner.info/posting<br><br>Support MailScanner development - buy the book off the website! <br></blockquote><br><p>&#32;


      <hr size=1>
Make the switch to the world's best email. <a href="http://au.rd.yahoo.com/mail/taglines/default_all/mail/spankey/*http://au.yahoo.com/worldsbestmail/spankey/" target=_blank>Get the new Yahoo!7 Mail now</a>.