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

Petr Zeman zeman at JULI.CZ
Fri Jun 15 10:20:01 IST 2007


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



More information about the MailScanner mailing list