[CentOS] semi-OT: t-bird mime type on .pdf attachment is wrong

Valeri Galtsev galtsev at kicp.uchicago.edu
Thu Apr 23 15:17:46 UTC 2015


On Thu, April 23, 2015 9:47 am, m.roth at 5-cent.us wrote:
> Tris Hoar wrote:
>> On 22/04/2015 19:25, m.roth at 5-cent.us wrote:
>>> I was sending my manager a copy of a form, and attached it (not
>>> inline),
>>> using -t-bird, and he complains it didn't want to open. Looking at the
>>> message source, t-bird had decided that the mime type was all/allfiles,
>>> though the name ended in .pdf. I've searched via the config editor, and
>>> I've been googling, and not finding anything. (I just *adore* the
>>> current google: I have +"all/allfiles" in the search terms, and in the
> para it
>>> displays on a hit I see "all somethingorother", with the word "all"
>>> bolded....)
>>>
>>> Anyone got ideas? I've looked in
>>> .thunderbird/<blah>.default/mime_types.rdf, and everything looks good
>>> in
>>> there.
>>
>> Did you check the mime type of the file? just because it says PDF does
>> not make that true.
>> You can use file to check it.
>>
> file docs/*.pdf, and all come back saying that they're PDF document,
> version 1.4
>
> I believe this is a t-bird issue (another one, since they broke it six
> months or so ago).
>

I'm sure you are right. To the best of my knowledge neither of browsers,
and neither of mail applications on Linux or Unix is using file utility to
determine file type. (not to mention other OSes that don't even have file
utility...)

Valeri

++++++++++++++++++++++++++++++++++++++++
Valeri Galtsev
Sr System Administrator
Department of Astronomy and Astrophysics
Kavli Institute for Cosmological Physics
University of Chicago
Phone: 773-702-4247
++++++++++++++++++++++++++++++++++++++++



More information about the CentOS mailing list