filetype rule false positive

Julian Field MailScanner at ecs.soton.ac.uk
Wed Feb 23 13:34:23 GMT 2005


    [ The following text is in the "ISO-8859-1" character set. ]
    [ Your display is set for the "US-ASCII" character set.  ]
    [ Some characters may be displayed incorrectly. ]

Peter Peters wrote:

> Julian Field wrote on 22-2-2005 18:14:
>
>>> This isn't really a MailScanner issue. This is a problem with the
>>> "file"
>>> command and how it attempts to detect the mime content of messages.
>>> I've run
>>> into similar problems with certain text being picked up as AVI's. If it
>>> happens quite frequently, your best bet is to disable the file content
>>> detection.
>>>
>> Fortunately the users can easily work around it, just by adding a space
>> or a blank line at the start of their message.
>
>
> This sound like Microsoft telling people not to use the word begin at
> the beginning of a line. The recipients have the "problem" and the
> senders have to take action. It's not something my users like.

Yes, true. Sorry.
The best thing you can do is either tweak filetype.rules.conf to allow
windows executables, or improve the executable-detection in your "magic"
file (read "man magic"). There isn't much I can do about this as I
relying on "file" to do the hard work for me.

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

------------------------ 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 MAQ (http://www.mailscanner.biz/maq/) 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