[imp] IMP Attachment/MIME question

Jan Schneider jan at horde.org
Wed Oct 4 15:44:24 PDT 2006


Zitat von imp-archive at cloud9.net:

> Quoting Michael Slusarz:
>> Quoting imp-archive at cloud9.net:
>>
>>> I have two IMP/horde setups running on two different production
> machines.
>>> They're both running FreeBSD.  The one that is having the problem is
>>> running FreeBSD 5.4, the other one that is fine is running FreeBSD
>>> 6.1. Both are running the latest Apache 2.1.x and PHP 5.1.x as far
>>> as I can tell.
>>>
>>> One can send MS Publisher (.PUB) documents properly as the
>>> recipients can read the attached files with MS Publisher with no
>>> issue.
>>>
>>> The other sends MS Publisher (.PUB) documents that cannot be read by
>>> the recipients, the files are seen as corrupt.
>>>
>>> When attaching the files, the one that attaches the files that can
>>> be read successfully by recipients shows that the file is detected
>>> as an application/msword file in the IMP New Message window, but the
>>> other one that doesn't work shows that the file is attached as a
>>> plain text file.
>>
>> This is an issue with user #2's browser.  It apparently is reporting
>> these files as text/plain when uploading - thus, that is how we fill
>> in the Content-Type field.  Search the lists for multiple
>> conversations on this same topic (you can probably search the bugs
>> database also).
>>
>> michael
>>
>> ___________________________________
>> Michael Slusarz [slusarz at horde.org]
>
> There's no user #1 and user #2.  This is the same browser on the  
> same computer, in fact it's the same window, just different tabs.
>
> Is there anything else that I can check on the server side, in the  
> IMP config, in the web server config, in the OS config, that may be  
> causing this.  I greatly appreciate any advice on finding the cause  
> of this issue and resolving it.

In this case, the browser is sending the mime type  
application/octet-stream for both files, but the mime magic library on  
the server is detecting the wrong real mime type for them.

Jan.

-- 
Do you need professional PHP or Horde consulting?
http://horde.org/consulting/



More information about the imp mailing list