[imp] Binary attachments given mime type text/plain. why?

Michael M Slusarz slusarz at bigworm.colorado.edu
Mon Nov 10 13:08:36 PST 2003


Quoting Ahmed <ashihab at alcahest.com>:

| that did nothing which meant that the php mime_magic was being used to
| evaluate the file type.
|
| I've disabled the mime_magic support in PHP (now 4.3.4 release) and the
| files are correctly assigned the type.
|
| Any ideas there? it obviously there is something wrong with the PHP
| support.
| How did you configure the mime_magic in your php?

Or, for whatever reason, the "magic" value for the file you are attaching
matches the signature for "text/plain" messages.  MIME magic determination
is not 100% accurate, so maybe this is a case where a certain file is
confusing the normal signature detection.

michael

______________________________________________
Michael Slusarz [slusarz at bigworm.colorado.edu]
The University of Colorado at Boulder


More information about the imp mailing list