Mailman 2.1.9.cp1 duplicates imbedded images in message

Mark Sapiro

Registered
Dec 12, 2006
1
0
151
The owner of a Mailman 2.1.9.cp1 list recently posted to [email protected] that posts received from her list contained extra, duplicate images that weren't in the original post.

After working with her to try to diagnose the cause of the problem, I have come up with the following analysis.

The message she sends to the list from Mac Mail has the following structure

multipart/alternative
....text/plain
....multipart/related
........text/html (html has one or more image tags referencing images)
........image/jpeg (image referenced by html)
........additional images if any

The list does no content filtering.

The message in the list's archives has the original image(s) only

The message received from the list has the same structure as the original, but the image/jpeg part(s) are followed by a second (set of) identical except for Content-Id: part(s) and the html part has appended to it immediately prior to the </body> tag, image tag(s) referencing the duplicate image part(s) followed by the list footer.

Thus it appears to me that cPanel has attempted to 'fix' the issue of the FAQ (4.39) at http://wiki.list.org/x/84A9 (possibly with the patch at https://sourceforge.net/tracker/index.php?func=detail&aid=1121257&group_id=103&atid=300103) and whatever 'fix' has been applied is responsible for the duplication.
 
Last edited: