[Mailman-Users] Preserving S/MIME-Encoded Mail

Grant Taylor gtaylor at riverviewtech.net
Tue Jan 20 05:28:08 CET 2009

On 01/16/2009 08:40 PM, Mark Sapiro wrote:
> Note that just sticking the header and footer as additional parts 
> into an original multipart, not_mixed message can't be arbitrarily 
> done. Clearly, if the original is multipart/alternative, this won't 
> work and if it is multipart/signed, it would probably break the 
> signature anyway.

I completely agree.

> In any case, the only multipart structure we know for sure we can 
> safely insert extra parts into is multipart/mixed, so we only do it 
> if the original is multi-part mixed. If you think this is wrong, I 
> suggest continuing this thread on Mailman-Developers at python.org.

As nice as it would be to possibly do something else, I think that 
Mailman (or at least the above logic) is very sound.  I would love to 
see another option, possibly like some alteration of text/plain and / or 
text/html in side of a multipart/alternative block, but then again, that 
is a lot of work, some of which may be extremely futile and possibly 
break the html code in the text/html part to a point that it completely 
messes up the message.  Further, you should not alter one 
multipart/alternative and not others, so this effectively means that you 
don't alter any of them.

Grant. . . .

More information about the Mailman-Users mailing list