Package: file
Version: 5.04-5
Severity: normal

Hello,

I am using MailScanner to filter my mail, which in turn uses 'file' to identify 
attachement file type.

I had a .txt attachment stripped because file incorrectly identifies it as a 
binary file.
---
file msg-2372-29.txt 
msg-2372-29.txt: COM executable for DOS
---

The file is text in Windows-1251 encoding (generated by Windows Tunderbird 
e-mail client).

The first 8 bytes are:
---
od -N 8 msg-2372-29.txt 
0000000 142724 154320 142722 146711
0000010
---

This problem was first seen on a system running Debian Squeeze, but I have 
reproduced it on my Sid workstation.


Thanks,

George.


-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.37-1-686 (SMP w/2 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages file depends on:
ii  libc6                   2.11.2-11        Embedded GNU C Library: Shared lib
ii  libmagic1               5.04-5           File type determination library us
ii  zlib1g                  1:1.2.3.4.dfsg-3 compression library - runtime

file recommends no packages.

file suggests no packages.

-- no debconf information



-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to