On 2/7/25 17:32, Chris via Mailman-users wrote:
List has "filter content" set.
Filter Mime-Type []
Filter Extensions exe bat cmd com pif scr vbs cpl
Accept Mime Media Types
multipart
message/rfc822
text/plain
text/html
application/pdf
application/nappdf
application/x-pdf
application/rtf
application/vnd.oasis.opendocument.spreadsheet
application/vnd.openxmlformats-officedocument.spreadsheetml.sheet
application/vnd.ms-excel
application/vnd.oasis.opendocument.text
application/vnd.openxmlformats-officedocument.wordprocessingml.document
application/msword
Allow Extensions .zip .7z
Reduce Alternative No
Convert to Plain-Text No
Now I'm sending an Message from outlook (html) with Inline Images.
Content Filter off: Works fine
Conent Filter On,: All except the image ist fine. The image gets lost and only
a placeholder is shown
<img data-cid="image001.png@01D65210.566F56E0" height="51" id="Grafik_x0020_1"
src="../../attachment/view/tmai1738975737149948386/aW1hZ2UwMDEucG5nQDAxRDY1MjEwLjU2NkY1NkUw;jsessionid=03FDBB0F16AFB10F7439822AB2C59450-n4.bap20a"
style="width: 3.3437in;height: 0.5312in;" width="321">
This is removed because you don't have image/png in accept mime types.
If you want to accept images, you should probably add just the `image`
main type to accept mime types.
Even if MimeTypes filter is [] signature (p7s) gets filtered.
Any hint?
To accept these, add
application/x-pkcs7-signature
application/pkcs7-signature
and you may also want to add
application/pgp-signature
When accept mime types is non-empty, only those types will be accepted.
Filtering on extensions only applies to mime parts with a filename
parameter and again, if Allow Extensions is non-empty, only those
filename extensions will be accepted.
See
https://gitlab.com/mailman/mailman/-/blob/master/src/mailman/handlers/mime_delete.py?ref_type=heads#L262-294
--
Mark Sapiro <m...@msapiro.net> The highway is for gamblers,
San Francisco Bay Area, California better use your sense - B. Dylan
_______________________________________________
Mailman-users mailing list -- mailman-users@mailman3.org
To unsubscribe send an email to mailman-users-le...@mailman3.org
https://lists.mailman3.org/mailman3/lists/mailman-users.mailman3.org/
Archived at:
https://lists.mailman3.org/archives/list/mailman-users@mailman3.org/message/SJHPHNEVXY2PUGWMFFKYPL7XR4MFT2K2/
This message sent to arch...@mail-archive.com