[Mailman-Users] msg file as attachment gets striped out

rpschwar at knology.net rpschwar at knology.net
Thu Apr 7 22:36:22 CEST 2011


That worked for adding the attachment.  However, the From, To and Subject are removed.

Robert

On Thu 07/04/11  3:17 PM , Mark Sapiro mark at msapiro.net sent:
> rpschwar
> @knology.net wrote:
> >Trying to add a file of type .msg as a mail
> attachment.  Have added:>
> >application/vnd.ms-outlook
> >application/msoutlook
> >application/octet-stream
> >
> >to the content filtering: Remove message attachments
> that don't have a matching content type. Leave this field blank to skip
> this filter >test
> 
> 
> You really don't want to add application/octet-stream unless you want
> to accept all sorts of potentially nasyt stuff. Neither
> application/vnd.ms-outlook nor application/msoutlook are registered
> mime types at all. See
> http://www.iana.org/assignments/media-types/index.html>.
> The type you want for a message attachment is message/rfc822.
> 
> In general, if you are trying to find the mime type to allow for a
> particular message attachment, look at the raw source of a message
> containing the attachment and find the Content-Type: header of the
> part containing the attachment.
> 
> Note that even if you accept attached message/rfc822 parts, the
> sub-parts of that message are still subject to your content filtering
> rules.
> 
> E.g. putting
> 
> multipart
> message/rfc822
> text/plain
> 
> in pass_mime_types will filter all but the text/plain parts from
> multipart and attached messages.
> 
> -- 
> Mark Sapiro mark at msapiro
> .net>        The highway is for gamblers,San Francisco Bay Area, California    better use your sense - B. Dylan
> 
> 
> 
> 




More information about the Mailman-Users mailing list