MailScanner 除了使用 antivirus engine 來檢查郵件 attachment 有沒有病毒外,也會根據 FileType Check 來檢查 attachment 是那類檔案,它是使用 file command 來測試。但假如 attachment 是一個中文(其它語言也有可能出現)文字檔,file command 的magic string test 可能會誤判附件為 DOS/EXE 檔。故提議更改 MailScanner.conf 內 File Command 為
File Command = /usr/bin/file -i