Wrong MPEG movie detection (for e-mails written in czech language)

Scott Silva ssilva at sgvwater.com
Fri Jun 15 17:50:19 IST 2007


Petr Zeman spake the following on 6/15/2007 2:20 AM:
> shuttlebox napsal(a):
>> On 6/15/07, Petr Zeman <zeman at juli.cz> wrote:
>>> Hello,
>>>
>>> after MailScanner upgrade from old old version to 4.61.2 have problem. I
>>> found too much e-mails marked as "MailScanner: No MPEG movies allowed".
>>> After "little" analysis i found this: when e-mail begin with "V�en�
>>> pane" (english equivalent "Dear Sir") in ISO-8859-2 encoding, is
>>> detected as MPEG video. Is possibe to make in the future better MPEG
>>> detection ?
>>
>> File type detection is made by the "file" command, not MailScanner
>> itself. Read the manual page for file if you want to know how to
>> adjust it yourself.
>>
> 
> 
> thnx for help,
> 
> "file" detects it as MPEG-4 LOAS.  Only first 2 letters is enough for
> "txt file" detection as "MPEG-4 stream". Something wrong in "file" utility.
> 
> 
> Petr
> 
The problem is that those strings are the most common "magic" to detect an
mpeg. It is not the file commands problem, the designers of that format
neglected to add a better magic into their file format.

-- 

MailScanner is like deodorant...
You hope everybody uses it, and
you notice quickly if they don't!!!!



More information about the MailScanner mailing list