Both mailing and apache use this file to determine the file type for download etc. According to the comment in this file, the version is from 2008. I think at least a few common file extensions for openoffice or MS products should be added.
CC: (none) => doktor5000, fundawang, pterjanKeywords: (none) => Triaged
Normally this mailcap file should not be used, programs should use the defaults from shared-mime-info. You may want to check https://bugs.mageia.org/show_bug.cgi?id=2027
I think it is a good idea of having only one database at a time. but the current situation is, that apache & postfix or php don't search any shared-mime-info but only one simple file. Since I don't know how quick all programs are patched to use shared-mime-info, wouldn't it be best to get a more recent list of mime-types and integrate them or maybe just generate the list out of the shared-mime-types? But concerning shared-mime-types: are mimetypes of not installed applications (e.g. libreoffice) are available? or do I have to install libreoffice on every webserver just to have these mime-types available to apache to make it show the correct header information on download?
Yes, the idea is to have only shared-mime-info. And yes you only need to have shared-mime-info installed. Please read up on it.
sorry to bother you again, but I don't see how to tell this apache directive to use a shared mime info. http://httpd.apache.org/docs/current/mod/mod_mime.html#typesconfig
this problem still exists. The provided file is from 2008. Since apache still uses this file, it should be updated, either automatic generated from shared-mime-info or just provide a more up-to-date file.
just checked fedora, even they have a newer file, e.g. xltm, docx are listed.
Blocks: (none) => 2027
Yep, and they killed mailcap.vga more then 10 years ago. Although we should be aware about related security issues, e.g.: https://bugzilla.redhat.com/show_bug.cgi?id=479010 https://bugs.freedesktop.org/show_bug.cgi?id=19377 Will try to update mailcap
Please check with latest mailcap-2.1.42-1.mga5 from cauldron. As this is quite an invasive change, will probably not be backported to Mageia 3 or 4.
Source RPM: mailcap-2.0.4-29.mga3.src.rpm => mailcapSummary: Update /etc/mime.types to know e.g. vnd.openxmlformats-* => Update mailcap (/etc/mime.types) to know e.g. vnd.openxmlformats-*Status: NEW => ASSIGNEDAssignee: bugsquad => doktor5000
thanks. I've installed it, but I don't expect any sideeffects, since it's only a file for determining the mime-type by extension. For me it's more important a newer file gets shipped in future versions than to patch an old version.
Then closing this one. @Luigi: Do you want this documented somewhere, as I'd only add a few words about this in release notes.
Status: ASSIGNED => RESOLVEDCC: (none) => luigiwalserResolution: (none) => FIXED
Only needs to be documented if the update causes users/sysadmins to need any intervention to handle the update.
Version: 3 => Cauldron