Alex, Thanks for the reply and the test case. I verified that it seems to do the right thing when fed your mimehtml test case or one of my test messages at the shell prompt. I will have to check into things deeper to see what's going on w/ mailman. -- Skip Montanaro (skip at pobox.com - http://www.mojam.com/)