<html dir="ltr"><head>
<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>
</head>
<body ocsi="x">
<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>
<div style="DIRECTION: ltr"><font face="times new roman"></font>&nbsp;</div>
<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="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: rgb(16,16,255) 2px solid">
-----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&#43;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>
<p></p>
<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>
</body>
</html>