[Mimedefang] Determine mime type

Lucas Albers admin at cs.montana.edu
Fri Sep 12 17:23:01 EDT 2003


Questions.
How can you determine the mime type of a file in mimedefang?
rtm? obvious?
Suppose you wanted to block all .doc files that were actually word perfect
files based on file results on the file.
As you are aware their is a MS word exploit.

The Microsoft Word "WordPerfect" document converter included in Microsoft
Word has a buffer overflow bug. If the WordPerfect document converter is
installed (by default it is in Office 2000) and a malicious .doc file is
opened, there exists the ability for an attacker to execute arbitrary
code.

I was trying to figure out how to block this.

A more generalized block would be thus:
If a doc file is not an office document file, then block it?

--Luke




More information about the MIMEDefang mailing list