<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=utf-8">
<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:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman",serif;}
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
        {mso-style-priority:99;
        mso-margin-top-alt:auto;
        margin-right:0cm;
        mso-margin-bottom-alt:auto;
        margin-left:0cm;
        font-size:12.0pt;
        font-family:"Times New Roman",serif;}
span.EmailStyle18
        {mso-style-type:personal-reply;
        font-family:"Calibri",sans-serif;
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri",sans-serif;
        mso-fareast-language:EN-US;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
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="EN-GB" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif;color:#1F497D;mso-fareast-language:EN-US">Shouldn’t&nbsp; MailScanner –lint pick up permission problems such as that? I thought it still ran that as the correct user.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif;color:#1F497D;mso-fareast-language:EN-US"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif;color:#1F497D;mso-fareast-language:EN-US">Jason<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif;color:#1F497D;mso-fareast-language:EN-US"><o:p>&nbsp;</o:p></span></p>
<div style="border:none;border-left:solid blue 1.5pt;padding:0cm 0cm 0cm 4.0pt">
<div>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span lang="EN-US" style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif">From:</span></b><span lang="EN-US" style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif"> mailscanner-bounces@lists.mailscanner.info [mailto:mailscanner-bounces@lists.mailscanner.info]
<b>On Behalf Of </b>Glenn Steen<br>
<b>Sent:</b> 24 February 2015 09:18<br>
<b>To:</b> MailScanner discussion<br>
<b>Subject:</b> RE: Filename Restrictions Not working<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<p>I see you have run as user/group set to postfix/apache...&nbsp; When you've done your lint and debug runs, did you do them as postfix user or root?<br>
My guess is that the rule file for filenames might not be readable to the postfix user.<o:p></o:p></p>
<p>Cheers!<br>
-- <br>
-- Glenn <o:p></o:p></p>
<div>
<p class="MsoNormal">Den 23 feb 2015 22:09 skrev &quot;James Nelson&quot; &lt;<a href="mailto:James.Nelson@vgt.net">James.Nelson@vgt.net</a>&gt;:<o:p></o:p></p>
<blockquote style="border:none;border-left:solid #CCCCCC 1.0pt;padding:0cm 0cm 0cm 6.0pt;margin-left:4.8pt;margin-right:0cm">
<p class="MsoNormal"><br>
Sorry about that, I thought I set it to public. Try again :).<br>
<br>
Jerry, I'm building a Mailborder server now to test.<br>
<br>
<br>
“a rockpile ceases to be a rockpile the moment a single man contemplates it, bearing within him the image of a cathedral.”<br>
<br>
<br>
-----Original Message-----<br>
From: <a href="mailto:mailscanner-bounces@lists.mailscanner.info">mailscanner-bounces@lists.mailscanner.info</a> [mailto:<a href="mailto:mailscanner-bounces@lists.mailscanner.info">mailscanner-bounces@lists.mailscanner.info</a>] On Behalf Of Kevin Miller<br>
Sent: Monday, February 23, 2015 2:20 PM<br>
To: 'MailScanner discussion'<br>
Subject: RE: Filename Restrictions Not working<br>
<br>
It said this &quot;This is a private paste. If you created this paste, please login to view it.&quot;&nbsp; I couldn't see it.<br>
<br>
If there's anything that needs to be munged (like your watermark), just edit that before posting and make it a public post.<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: <a href="tel:%28907%29%20586-0242">(907) 586-0242</a>, Fax: <a href="tel:%28907%29%20586-4500">
(907) 586-4500</a> Registered Linux User No: 307357<br>
<br>
<br>
&gt; -----Original Message-----<br>
&gt; From: <a href="mailto:mailscanner-bounces@lists.mailscanner.info">mailscanner-bounces@lists.mailscanner.info</a> [mailto:<a href="mailto:mailscanner-">mailscanner-</a><br>
&gt; <a href="mailto:bounces@lists.mailscanner.info">bounces@lists.mailscanner.info</a>] On Behalf Of James Nelson<br>
&gt; Sent: Monday, February 23, 2015 10:52 AM<br>
&gt; To: MailScanner discussion<br>
&gt; Subject: RE: Filename Restrictions Not working<br>
&gt;<br>
&gt; Kevin,<br>
&gt;<br>
&gt; Here's my complete MailScanner.conf:<br>
&gt;<br>
&gt; <a href="http://pastebin.com/ci9dz8iL" target="_blank">http://pastebin.com/ci9dz8iL</a><br>
&gt;<br>
&gt; Jerry:<br>
&gt;<br>
&gt; I changed default to *@* this morning in the course of my, &quot;did that<br>
&gt; work? No, okay, how about this,&quot; but the result was the same regardless.<br>
&gt;<br>
&gt; I'm not applying any configuration via conf.d at the moment...if I<br>
&gt; were to do that, would it supersede anything in MailScanner.conf?<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; “a rockpile ceases to be a rockpile the moment a single man<br>
&gt; contemplates it, bearing within him the image of a cathedral.”<br>
&gt;<br>
&gt;<br>
&gt; -----Original Message-----<br>
&gt; From: <a href="mailto:mailscanner-bounces@lists.mailscanner.info">mailscanner-bounces@lists.mailscanner.info</a> [mailto:<a href="mailto:mailscanner-">mailscanner-</a><br>
&gt; <a href="mailto:bounces@lists.mailscanner.info">bounces@lists.mailscanner.info</a>] On Behalf Of Kevin Miller<br>
&gt; Sent: Monday, February 23, 2015 12:50 PM<br>
&gt; To: 'MailScanner discussion'<br>
&gt; Subject: RE: Filename Restrictions Not working<br>
&gt;<br>
&gt; Maybe you could post your MailScanner.conf to pastebin.&nbsp; I'm guessing<br>
&gt; something in there is wonky.<br>
&gt;<br>
&gt; ...Kevin<br>
&gt; --<br>
&gt; Kevin Miller<br>
&gt; Network/email Administrator, CBJ MIS Dept.<br>
&gt; 155 South Seward Street<br>
&gt; Juneau, Alaska 99801<br>
&gt; Phone: <a href="tel:%28907%29%20586-0242">(907) 586-0242</a>, Fax: <a href="tel:%28907%29%20586-4500">
(907) 586-4500</a> Registered Linux User No:<br>
&gt; 307357<br>
&gt;<br>
&gt;<br>
&gt; &gt; -----Original Message-----<br>
&gt; &gt; From: <a href="mailto:mailscanner-bounces@lists.mailscanner.info">mailscanner-bounces@lists.mailscanner.info</a><br>
&gt; &gt; [mailto:<a href="mailto:mailscanner-">mailscanner-</a> <a href="mailto:bounces@lists.mailscanner.info">
bounces@lists.mailscanner.info</a>] On Behalf Of<br>
&gt; &gt; James Nelson<br>
&gt; &gt; Sent: Monday, February 23, 2015 9:26 AM<br>
&gt; &gt; To: MailScanner discussion<br>
&gt; &gt; Subject: RE: Filename Restrictions Not working<br>
&gt; &gt;<br>
&gt; &gt; Well, an interesting update...<br>
&gt; &gt;<br>
&gt; &gt; I changed up my approach, and pointed the Deny Filenames = in<br>
&gt; &gt; MailScanner.conf to %rules-dir%/filename_deny.rules , which is as<br>
&gt; &gt; follows:<br>
&gt; &gt;<br>
&gt; &gt; To: *@*&nbsp; &nbsp; &nbsp;\.ico$ \.ani \.cur$ \.hlp$ \.zip$ \.ceo$ \.cab$ \.reg$ \.chm$<br>
&gt; &gt; \.cnf$ \.hta$ \.ins$ \.jse?$ \.job$ \.lnk$ \.mat$ \.pif$ \.scf$<br>
&gt; &gt; \.sct$ \.shs$ \.shb$ \.vb[es]$ \.ws[cfh]$ \.xnk$ \.cer$ \.its$<br>
&gt; &gt; \.mau$ \.md[az]$ \.prf$ \.pst$ \.tmp$ \.vsmacros$ \.vs[stw]$ \.ws$<br>
&gt; &gt; \.com$ \.exe$ \.scr$ \.bat$ \.cmd$ \.cpl$ \.mhtml$ \.s{10,}<br>
&gt; &gt; \.[a-z][a-z0-9]{2,3}\s*\.[a-z0- 9]{3}$<br>
&gt; &gt;<br>
&gt; &gt; When running MailScanner --lint now, it DOES detect <a href="http://eicar.com" target="_blank">
eicar.com</a> as a<br>
&gt; &gt; blocked filetype.&nbsp; However, it's still allowing blocked filetypes<br>
&gt; &gt; through ?<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; “a rockpile ceases to be a rockpile the moment a single man<br>
&gt; &gt; contemplates it, bearing within him the image of a cathedral.”<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; -----Original Message-----<br>
&gt; &gt; From: <a href="mailto:mailscanner-bounces@lists.mailscanner.info">mailscanner-bounces@lists.mailscanner.info</a><br>
&gt; &gt; [mailto:<a href="mailto:mailscanner-">mailscanner-</a> <a href="mailto:bounces@lists.mailscanner.info">
bounces@lists.mailscanner.info</a>] On Behalf Of<br>
&gt; &gt; Jerry Benton<br>
&gt; &gt; Sent: Sunday, February 22, 2015 4:11 PM<br>
&gt; &gt; To: MailScanner discussion<br>
&gt; &gt; Subject: Re: Filename Restrictions Not working<br>
&gt; &gt;<br>
&gt; &gt; Its not beta anymore. (The RPM package.)<br>
&gt; &gt;<br>
&gt; &gt; -<br>
&gt; &gt; Jerry Benton<br>
&gt; &gt; <a href="http://www.mailborder.com" target="_blank">www.mailborder.com</a><br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; &gt; On Feb 22, 2015, at 4:33 PM, James Nelson &lt;<a href="mailto:James.Nelson@vgt.net">James.Nelson@vgt.net</a>&gt;<br>
&gt; &gt; wrote:<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; I will try that tomorrow...i'm about out of other ideas.<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; I suppose I could also try the new MS beta, just to throw<br>
&gt; &gt; &gt; something<br>
&gt; &gt; else at the wall...<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; “a rockpile ceases to be a rockpile the moment a single man<br>
&gt; &gt; contemplates it, bearing within him the image of a cathedral.”<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; -----Original Message-----<br>
&gt; &gt; &gt; From: <a href="mailto:mailscanner-bounces@lists.mailscanner.info">mailscanner-bounces@lists.mailscanner.info</a><br>
&gt; &gt; &gt; [mailto:<a href="mailto:mailscanner-">mailscanner-</a><br>
&gt; &gt; <a href="mailto:bounces@lists.mailscanner.info">bounces@lists.mailscanner.info</a>] On Behalf Of Jerry Benton<br>
&gt; &gt; &gt; Sent: Saturday, February 21, 2015 5:54 AM<br>
&gt; &gt; &gt; To: MailScanner discussion<br>
&gt; &gt; &gt; Subject: Re: Filename Restrictions Not working<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; I’m not pimping my product, but I would suggest you install a<br>
&gt; &gt; Mailborder server for a comparison test. Check to see if it is<br>
&gt; &gt; working correctly (the Mailborder server) and compare the configs on<br>
&gt; &gt; the Mailborder server to yours. This will at least eliminate the<br>
&gt; &gt; Mailscanner configuration variable from the equation.<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; -<br>
&gt; &gt; &gt; Jerry Benton<br>
&gt; &gt; &gt; <a href="http://www.mailborder.com" target="_blank">www.mailborder.com</a><br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt;&gt; On Feb 21, 2015, at 2:29 AM, James Nelson &lt;<a href="mailto:James.Nelson@vgt.net">James.Nelson@vgt.net</a>&gt;<br>
&gt; &gt; wrote:<br>
&gt; &gt; &gt;&gt;<br>
&gt; &gt; &gt;&gt; Sigh, built a brand new MailScanner box from scratch...once<br>
&gt; &gt; &gt;&gt; again,<br>
&gt; &gt; everything works except filename checking. The only thing I changed<br>
&gt; &gt; was to disallow zip files(just changed allow to deny in<br>
&gt; &gt; filenames.rules.conf) and it still lets it all through.<br>
&gt; &gt; &gt;&gt;<br>
&gt; &gt; &gt;&gt; It just doesn't seem to want to work, with no errors to shed any<br>
&gt; &gt; light.<br>
&gt; &gt; &gt;&gt; --<br>
&gt; &gt; &gt;&gt; MailScanner mailing list<br>
&gt; &gt; &gt;&gt; <a href="mailto:mailscanner@lists.mailscanner.info">mailscanner@lists.mailscanner.info</a><br>
&gt; &gt; &gt;&gt; <a href="http://lists.mailscanner.info/mailman/listinfo/mailscanner" target="_blank">
http://lists.mailscanner.info/mailman/listinfo/mailscanner</a><br>
&gt; &gt; &gt;&gt;<br>
&gt; &gt; &gt;&gt; Before posting, read <a href="http://wiki.mailscanner.info/posting" target="_blank">
http://wiki.mailscanner.info/posting</a><br>
&gt; &gt; &gt;&gt;<br>
&gt; &gt; &gt;&gt; Support MailScanner development - buy the book off the website!<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; --<br>
&gt; &gt; &gt; MailScanner mailing list<br>
&gt; &gt; &gt; <a href="mailto:mailscanner@lists.mailscanner.info">mailscanner@lists.mailscanner.info</a><br>
&gt; &gt; &gt; <a href="http://lists.mailscanner.info/mailman/listinfo/mailscanner" target="_blank">
http://lists.mailscanner.info/mailman/listinfo/mailscanner</a><br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; Before posting, read <a href="http://wiki.mailscanner.info/posting" target="_blank">
http://wiki.mailscanner.info/posting</a><br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; Support MailScanner development - buy the book off the website!<br>
&gt; &gt; &gt; --<br>
&gt; &gt; &gt; MailScanner mailing list<br>
&gt; &gt; &gt; <a href="mailto:mailscanner@lists.mailscanner.info">mailscanner@lists.mailscanner.info</a><br>
&gt; &gt; &gt; <a href="http://lists.mailscanner.info/mailman/listinfo/mailscanner" target="_blank">
http://lists.mailscanner.info/mailman/listinfo/mailscanner</a><br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; Before posting, read <a href="http://wiki.mailscanner.info/posting" target="_blank">
http://wiki.mailscanner.info/posting</a><br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; Support MailScanner development - buy the book off the website!<br>
&gt; &gt;<br>
&gt; &gt; --<br>
&gt; &gt; MailScanner mailing list<br>
&gt; &gt; <a href="mailto:mailscanner@lists.mailscanner.info">mailscanner@lists.mailscanner.info</a><br>
&gt; &gt; <a href="http://lists.mailscanner.info/mailman/listinfo/mailscanner" target="_blank">
http://lists.mailscanner.info/mailman/listinfo/mailscanner</a><br>
&gt; &gt;<br>
&gt; &gt; Before posting, read <a href="http://wiki.mailscanner.info/posting" target="_blank">
http://wiki.mailscanner.info/posting</a><br>
&gt; &gt;<br>
&gt; &gt; Support MailScanner development - buy the book off the website!<br>
&gt; &gt; --<br>
&gt; &gt; MailScanner mailing list<br>
&gt; &gt; <a href="mailto:mailscanner@lists.mailscanner.info">mailscanner@lists.mailscanner.info</a><br>
&gt; &gt; <a href="http://lists.mailscanner.info/mailman/listinfo/mailscanner" target="_blank">
http://lists.mailscanner.info/mailman/listinfo/mailscanner</a><br>
&gt; &gt;<br>
&gt; &gt; Before posting, read <a href="http://wiki.mailscanner.info/posting" target="_blank">
http://wiki.mailscanner.info/posting</a><br>
&gt; &gt;<br>
&gt; &gt; Support MailScanner development - buy the book off the website!<br>
&gt; --<br>
&gt; MailScanner mailing list<br>
&gt; <a href="mailto:mailscanner@lists.mailscanner.info">mailscanner@lists.mailscanner.info</a><br>
&gt; <a href="http://lists.mailscanner.info/mailman/listinfo/mailscanner" target="_blank">
http://lists.mailscanner.info/mailman/listinfo/mailscanner</a><br>
&gt;<br>
&gt; Before posting, read <a href="http://wiki.mailscanner.info/posting" target="_blank">
http://wiki.mailscanner.info/posting</a><br>
&gt;<br>
&gt; Support MailScanner development - buy the book off the website!<br>
&gt; --<br>
&gt; MailScanner mailing list<br>
&gt; <a href="mailto:mailscanner@lists.mailscanner.info">mailscanner@lists.mailscanner.info</a><br>
&gt; <a href="http://lists.mailscanner.info/mailman/listinfo/mailscanner" target="_blank">
http://lists.mailscanner.info/mailman/listinfo/mailscanner</a><br>
&gt;<br>
&gt; Before posting, read <a href="http://wiki.mailscanner.info/posting" target="_blank">
http://wiki.mailscanner.info/posting</a><br>
&gt;<br>
&gt; Support MailScanner development - buy the book off the website!<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>
--<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!<o:p></o:p></p>
</blockquote>
</div>
</div>
</div>
</body>
</html>