[Mailman-Users] Removal of attachments causes problems

Ralf Hildebrandt Ralf.Hildebrandt at charite.de
Wed Jan 6 16:45:18 CET 2010


* Ralf Hildebrandt <Ralf.Hildebrandt at charite.de>:

> > > adding "image/pjpeg" to /etc/mime.types fixed that:
> > > 
> > > image/jpeg                                      jpeg jpg jpe
> > > image/pjpeg                                     jpeg jpg jpe
> > 
> > This is because Mailman uses Python's mimetypes module to generate the
> > file name, and I believe that consults /etc/mime.types where available.
> > Since before you edit Python didn't know anythig about image/pjpeg, it
> > assumed it was random binary data, hence the .bin suffix.
> 
> I'll file a bug report with Debian/Ubuntu

https://bugs.launchpad.net/ubuntu/+source/mime-support/+bug/503849


More information about the Mailman-Users mailing list