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

Ahmed ashihab at alcahest.com
Mon Nov 10 14:21:08 PST 2003


I've tried several files include some windows .exe's. I'm happy with the
solution using the Horde mime type determination but I don't like things
that stop working suddenly.

Thanks for your help

Ahmed...


Quoting Michael M Slusarz sent on Mon 10 Nov 2003 21:08:36 GMT

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


More information about the imp mailing list