Linux file command identifies text-file as DOS executable (COM)

Jerry Benton jerry.benton at mailborder.com
Mon Nov 2 15:33:05 UTC 2015


There is no issue between the file command and MailScanner. MailScanner essentially asks file what MIME type it is and gets an answer. How that answer is derived has nothing to do with MailScanner. 

-
Jerry Benton
www.mailborder.com



> On Nov 2, 2015, at 10:16 AM, Heino Backhaus <heino.backhaus at fink-computer.de> wrote:
> 
> A funny thing came a cross my eyes...
> 
> if your using file v5.14 to detect executeables and you put this "锘"
> chinese charakter at the beginning of a text-file it will be detected as DOS-Executeable (COM). I'm wondering if i schould upgrade to file 5.24.
> 
> Are there known issues with file v5.24 and Mailscanner?
> 
> # file msg-17333-4.txt
> msg-17333-4.txt: DOS executable (COM)
> 
> # file --version
> file-5.14
> 
> Greetings
> -Heino
> 
> "In retrospect it becomes clear that hindsight is definitely overrated!"
> 
>  -Alfred E. Neumann
> 
> 
> -- 
> MailScanner mailing list
> mailscanner at lists.mailscanner.info
> http://lists.mailscanner.info/listinfo/mailscanner
> 



More information about the MailScanner mailing list