<p><br>
Den 3 okt 2011 15:57 skrev &quot;Johan Hendriks&quot; &lt;<a href="mailto:Johan@double-l.nl">Johan@double-l.nl</a>&gt;:<br>
&gt;<br>
&gt; &gt;Hi guys<br>
&gt; &gt;<br>
&gt; &gt;I&#39;m having problems with text being detected as MPEG files.<br>
&gt; &gt;The error I&#39;m getting from MS is:<br>
&gt; &gt;<br>
&gt; &gt;The following e-mails were found to have: Bad Filename Detected<br>
&gt; &gt;<br>
&gt; &gt;    Sender: <a href="mailto:xxxxx@example.com">xxxxx@example.com</a><br>
&gt; &gt;IP Address: 192.168.0.210<br>
&gt; &gt; Recipient: yyyyy@example.&gt;org<br>
&gt; &gt;   Subject: RE: Statistik<br>
&gt; &gt; MessageID: p937N5Zx000344<br>
&gt; &gt;Quarantine: /var/spool/MailScanner/quarantine/20111003/p937N5Zx000344<br>
&gt; &gt;    Report: MailScanner: No MPEG movies allowed (msg-2048-10.txt)<br>
&gt; &gt;<br>
&gt; &gt;This has been up before, but can&#39;t seem to find the solution.<br>
&gt; &gt;<br>
&gt; &gt;Any clues on how to handle this?<br>
&gt; &gt;<br>
&gt; &gt;The first couple of lines in the file is ( ? = danish character ć ):<br>
&gt; &gt;<br>
&gt; &gt;V?rsgo<br>
&gt; &gt;<br>
&gt; &gt;Glostrup Pakke blev ikke solgt i denne periode...<br>
&gt; &gt;<br>
&gt; &gt;The first 8 bytes of &#39;msg-2048-10.txt&#39; in HEX are:<br>
&gt; &gt;<br>
&gt; &gt;00000000 56 E6 72 73 ¦ 67 6F 0A 20<br>
&gt; &gt;<br>
&gt; &gt;Using the file command, i get:<br>
&gt; &gt;<br>
&gt; &gt;# file msg-2048-10.txt<br>
&gt; &gt;msg-2048-10.txt: MPEG-4 LOAS<br>
&gt; &gt;<br>
&gt; &gt;Adding an -i parameter give:<br>
&gt; &gt;<br>
&gt; &gt;# file -i msg-2048-10.txt<br>
&gt; &gt;msg-2048-10.txt: audio/x-mp4a-latm; charset=iso-8859-1<br>
&gt; &gt;<br>
&gt; &gt;# MailScanner -V<br>
&gt; &gt;Running on<br>
&gt; &gt;Linux gphgw 2.6.30.5 #1 SMP PREEMPT Mon Sep 14 11:49:43 CEST 2009<br>
&gt; &gt;i686 Intel(R) Core(TM)2 Duo CPU E7400 @ 2.80GHz GenuineIntel GNU/Linux<br>
&gt; &gt;<br>
&gt; &gt;This is Perl version 5.010001 (5.10.1)<br>
&gt; &gt;This is MailScanner version 4.82.6<br>
&gt; &gt;SpamAssassin 3.3.1<br>
&gt; &gt;<br>
&gt; &gt;All perl modules are up to date.<br>
&gt; &gt;<br>
&gt; &gt;--<br>
&gt; &gt;Later<br>
&gt; &gt;<br>
&gt; &gt;Mogens Melander<br>
&gt;<br>
&gt; As far as i know, it is not clamav that Marks this as a non deliverable mail but Mailscanner itself.</p>
<p>Mogens (and possibly your) problem is not caused by clam itself, but is a side effect of presenting clam with the message text as a separate file/attachment. Doing that means that all filters (including the file command) will be run on that file... Fine for the anglophones, less good for greek, danish, swedish etc, since common phrases will trigger ... naive ... magic strings. So you can attack the problem two ways:<br>

- tell MS not to store the message text for scanning, or<br>
- change the magic strings to be less naive.</p>
<p>In the case of microsoft com executables, the magic is real bad, often consisting of a singel byte of data, so there I&#39;d recommend the latter approach... Or turn off and be done using clam for spam, more or less;-) </p>

<p>Cheers<br>
-- <br>
-- Glenn</p>
<p>&gt; I have the same problem, but on my systems (FreeBSD) these file manifest themselves as .com aka executeables.<br>
&gt;<br>
&gt;    Sender: <a href="mailto:xxxx@yyyy.com">xxxx@yyyy.com</a><br>
&gt; IP Address: 85.233.160.19<br>
&gt;  Recipient: <a href="mailto:aaaaaa@bbbbbbb.com">aaaaaa@bbbbbbb.com</a><br>
&gt;   Subject: ??: {Filename?} ??: ??? ????<br>
&gt;  MessageID: 6CE3ED46417.AFAF9<br>
&gt; Quarantine: /var/spool/MailScanner/quarantine/20110929/6CE3ED46417.AFAF9<br>
&gt;    Report: MailScanner: No programs allowed (msg-85973-48.txt)<br>
&gt;<br>
&gt; I still have not find a way to let them pass without allowing executeables for the domains that send them.<br>
&gt;<br>
&gt; Regards<br>
&gt; Johan Hendriks<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<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">http://lists.mailscanner.info/mailman/listinfo/mailscanner</a><br>
&gt;<br>
&gt; Before posting, read <a href="http://wiki.mailscanner.info/posting">http://wiki.mailscanner.info/posting</a><br>
&gt;<br>
&gt; Support MailScanner development - buy the book off the website!<br>
</p>