Filetype code BUG ?

Julian Field MailScanner at ecs.soton.ac.uk
Fri Jan 6 14:40:17 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. ]

-----BEGIN PGP SIGNED MESSAGE-----

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!

- -- 
Julian Field
www.MailScanner.info
Buy the MailScanner book at www.MailScanner.info/store
PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654


-----BEGIN PGP SIGNATURE-----
Version: PGP Desktop 9.0.3 (Build 2932)

iQEVAwUBQ76BU/w32o+k+q+hAQEKpgf/flzxnvz8WW0hPDagWUY/N55lsc38IPB1
UKppx93ykrkO+3t86DJNABC9yQOyR1+pq/eLiv0LzRTio9NhSKoPg79B164Q8Rcq
PGIU7jowFo0fsD01qvfxGOTcl1wdkDzr49X2l2xZULvKPvZW+3kkGDxTdjzFg99A
jz4ZbLYENZax60F76Sf7NEsWCczs158zYMk9+DZhvnfdMh5Pd5PjjH+mVcG9XfPD
EcBLRRspjZMfsw17o3ba6udb4LOomG/iyyP0Athc6JANc8agkpmvI2AvedOoiTQ9
yMOkSGDaqiSipEHDTo7Ggl0iWquM3dFfjRltFLyWETb/7sS3DqhkOw==
=QS9P
-----END PGP SIGNATURE-----

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

------------------------ 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