Outlook .dat files detected as DOS executable by Linux file binary

Valentin Laskov it at festa.bg
Mon Dec 23 13:57:59 UTC 2019


Try

/usr/bin/file --mime-type 240000.dat

If you like the result, you can make

File Command = /usr/local/bin/file-wrapper

#cat /usr/local/bin/file-wrapper

#!/bin/bash
#
#
/usr/bin/file --mime-type "$1"

Cheers! :)


На 23.12.2019 в 15:23, Tracy Greggs via MailScanner написа:
>
> Both Centos 7 and Ubuntu 18.04 LTS file commands return for example 
> 240000.dat: DOS executable (block device driver) on all Outlook 
> received emails with attachments.  The .dat file names differ with 
> each email, I never see winmail.dat but what I do see is that whatever 
> the .dat file is normally contains the attachment and the message.
>
> I hate to completely disable the feature:
>
> # Where the "file" command is installed.
>
> # This is used for checking the content type of files, regardless of their
>
> # filename.
>
> # To disable Filetype checking, set this value to blank.
>
> File Command = /usr/bin/file
>
> What is the current workaround for this issue, and what do you 
> recommend for TNEF settings in MailScanner.conf?
>
> Thanks and Happy Holidays everyone!
>
> Tracy Greggs
>
>
>
>

-- 
Поздрави!

Валентин Ласков
Системен администратор
"Феста Холдинг" АД
бул. "Вл. Варненчик" 48
9000 гр. Варна
тел.:   +359 52 669137
GSM: +359 888 669137
Fax:   +359 52 669110

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mailscanner.info/pipermail/mailscanner/attachments/20191223/33104d32/attachment.html>


More information about the MailScanner mailing list