[pacman-dev] Mime-type filtering?

Dan McGee dpmcgee at gmail.com
Mon Mar 23 18:18:16 EDT 2009

On Mon, Mar 23, 2009 at 5:14 PM, Aaron Griffin <aaronmgriffin at gmail.com> wrote:
> On Mon, Mar 23, 2009 at 5:11 PM, Dan McGee <dpmcgee at gmail.com> wrote:
>> 2009/3/23 Samed Beyribey <ras0ir at eventualis.org>:
>>> Well i just noticed that, (probably) mailman rejects my attachment (it
>>> was 9.5k)
>>> so i've put it on my web site:
>>> http://eventualis.org/pacman/0001-fixed-typos-and-alignment-problem-in-Turkish-transla.patch.gz
>>> This is my last mail about this patch, again, i feel so sorry.
>> This isn't your fault.
>> Aaron, do we not allow gzipped and bzipped files through?
> I guess not. What's the mime-type for these? Considering mailman uses
> a whitelist, would anyone be able to construct a decent list that
> covers pretty much all attachment types we'd want?

Thanks for changing the subject, btw. Here is a simple look at that
patch, gzipped and additionally unzipped and converted to bzip2.

dmcgee at galway /tmp
$ file --mime-type patch.gz
patch.gz: application/x-gzip

dmcgee at galway /tmp
$ file --mime-type patch.bz2
patch.bz2: application/x-bzip2

More information about the pacman-dev mailing list