[Mailman-Users] Removal of attachments causes problems

Ralf Hildebrandt Ralf.Hildebrandt at charite.de
Wed Jan 6 16:31:15 CET 2010


* Barry Warsaw <barry at python.org>:

> > 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

-- 
Ralf Hildebrandt
  Geschäftsbereich IT | Abteilung Netzwerk
  Charité - Universitätsmedizin Berlin
  Campus Benjamin Franklin
  Hindenburgdamm 30 | D-12203 Berlin
  Tel. +49 30 450 570 155 | Fax: +49 30 450 570 962
  ralf.hildebrandt at charite.de | http://www.charite.de
	    


More information about the Mailman-Users mailing list