Filetype code BUG ?

Radislav Vrnata radislav.vrnata at PORCELA.CZ
Sat Jan 7 11:33:26 GMT 2006


    [ The following text is in the "windows-1252" character set. ]
    [ Your display is set for the "US-ASCII" character set.  ]
    [ Some characters may be displayed incorrectly. ]

Yes.
Fedora Core 3, 4 (file ver. 4.10 - 4.16(author latest)) have this bug...
Fedora Core 2 (file ver. 4.07) is O.K.

Radislav.


Julian Field napsal(a):
> This is a bug in the "file" command. Please report it to the authors.
> 
> On 6 Jan 2006, at 13:10, Radislav Vrnata wrote:
> 
>>> Hi all,
>>>
>>> I have big problem with regular detecting of MPEG attachments based on
>>> Filetype rules.
>>>
>>> When I sent "PLAIN TEXT" e-mail with ISO-8859-2 encoding and first two
>>> characters of body are "Vá" e.g. in Czech "Vá~ený" (in English  
>>> "Dear"),
>>> then MS recognize him as "MPEG movie" !!! (log says "Filetype  
>>> Checks: No
>>> MPEG movies (42C121B907CA.60823 msg-24637-201.txt)").
>>> If I write "space character" before "Vá", then everything is all  
>>> right...
>>>
>>> Any suggestions ?
>>>
>>> Regards,
>>>
>>> 		Radislav.
>>>
>>>
>>> Postfix 2.1.5
>>> Cyrus IMAP 2.2.12
>>> This is Fedora Core release 3 (Heidelberg)
>>> This is Perl version 5.008005 (5.8.5)
>>> This is MailScanner version 4.49.7
>>> Module versions are:
>>> 1.00    AnyDBM_File
>>> 1.14    Archive::Zip
>>> 1.03    Carp
>>> 1.119   Convert::BinHex
>>> 1.00    DirHandle
>>> 1.05    Fcntl
>>> 2.73    File::Basename
>>> 2.08    File::Copy
>>> 2.01    FileHandle
>>> 1.06    File::Path
>>> 0.16    File::Temp
>>> 1.29    HTML::Entities
>>> 3.45    HTML::Parser
>>> 2.30    HTML::TokeParser
>>> 1.21    IO
>>> 1.10    IO::File
>>> 1.123   IO::Pipe
>>> 1.67    Mail::Header
>>> 3.05    MIME::Base64
>>> 5.417   MIME::Decoder
>>> 5.417   MIME::Decoder::UU
>>> 5.417   MIME::Head
>>> 5.417   MIME::Parser
>>> 3.03    MIME::QuotedPrint
>>> 5.417   MIME::Tools
>>> 0.10    Net::CIDR
>>> 1.08    POSIX
>>> 1.77    Socket
>>> 0.08    Sys::Syslog
>>> 1.02    Time::localtime
>>>
>>> Optional module versions are:
>>> 0.17    Convert::TNEF
>>> 1.814   DB_File
>>> 1.08    Digest
>>> 1.01    Digest::HMAC
>>> 2.36    Digest::MD5
>>> 2.10    Digest::SHA1
>>> 0.44    Inline
>>> 0.17    Mail::ClamAV
>>> 3.000004        Mail::SpamAssassin
>>> 1.997   Mail::SPF::Query
>>> 0.18    Net::CIDR::Lite
>>> 0.55    Net::DNS
>>> 0.31    Net::LDAP
>>> 1.94    Parse::RecDescent
>>> missing SAVI
>>> 1.4     Sys::Hostname::Long
>>> 2.56    Test::Harness
>>> 0.62    Test::Simple
>>> 1.95    Text::Balanced
>>> 1.35    URI
>>>
>>> ------------------------ MailScanner list ------------------------
>>> To unsubscribe, email jiscmail at jiscmail.ac.uk with the words:
>>> 'leave mailscanner' in the body of the email.
>>> Before posting, read the Wiki (http://wiki.mailscanner.info/) and
>>> the archives (http://www.jiscmail.ac.uk/lists/mailscanner.html).
>>>
>>> Support MailScanner development - buy the book off the website!
> 

------------------------ MailScanner list ------------------------
To unsubscribe, email jiscmail at jiscmail.ac.uk with the words:
'leave mailscanner' in the body of the email.
Before posting, read the Wiki (http://wiki.mailscanner.info/) and
the archives (http://www.jiscmail.ac.uk/lists/mailscanner.html).

Support MailScanner development - buy the book off the website!



More information about the MailScanner mailing list