<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
</head>
<body dir="auto">
<div>Show us your rules file.&nbsp;<br>
<br>
<span style="background-color: rgba(255, 255, 255, 0);">--<br>
Jeremy McSpadden<br>
Flux Labs |&nbsp;<a href="http://www.fluxlabs.net/">http://www.fluxlabs.net</a>&nbsp;| Endless Solutions<br>
Office :&nbsp;<a href="tel:850-250-5590;501">850-250-5590x501</a>&nbsp;| Cell :&nbsp;<a href="tel:850-890-2543">850-890-2543</a>&nbsp;| Fax :&nbsp;<a href="tel:850-254-2955">850-254-2955</a></span></div>
<div><br>
On Feb 13, 2015, at 2:45 PM, James Nelson &lt;<a href="mailto:James.Nelson@vgt.net">James.Nelson@vgt.net</a>&gt; wrote:<br>
<br>
</div>
<blockquote type="cite">
<div>
<meta name="Generator" content="Microsoft Word 15 (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:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:#0563C1;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:#954F72;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri",sans-serif;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
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]-->
<div class="WordSection1">
<p class="MsoNormal">Hello,<o:p></o:p></p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<p class="MsoNormal">I am having an issue where none of my filetype rules seem to be working.&nbsp; I can send a test message with something as clearly dangerous as a .bat or .scr file, and MailScanner allows it through regardless.&nbsp; My filetype.rules.conf and filename.rules.conf
 (and their archive counterparts) are in their default state, and my Mail.conf points to the rules files in %rules-dir% appropriate for each section.&nbsp; The rules files are tabbed properly, with a simple:<o:p></o:p></p>
<p class="MsoNormal">FromOrTo:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; default /etc/MailScanner/filename.rules.conf<o:p></o:p></p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<p class="MsoNormal">No matter what I&#8217;ve tried, MailScanner still allows everything through, even if I explicitly deny a file type in Mail.conf (without using a ruleset).<o:p></o:p></p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<p class="MsoNormal">Any suggestions?<o:p></o:p></p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
</div>
</blockquote>
<blockquote type="cite">
<div><span>-- </span><br>
<span>MailScanner mailing list</span><br>
<span><a href="mailto:mailscanner@lists.mailscanner.info">mailscanner@lists.mailscanner.info</a></span><br>
<span><a href="http://lists.mailscanner.info/mailman/listinfo/mailscanner">http://lists.mailscanner.info/mailman/listinfo/mailscanner</a></span><br>
<span></span><br>
<span>Before posting, read <a href="http://wiki.mailscanner.info/posting">http://wiki.mailscanner.info/posting</a></span><br>
<span></span><br>
<span>Support MailScanner development - buy the book off the website! </span><br>
</div>
</blockquote>
</body>
</html>