[Mailman-Developers] Headers and footers for MIME messages

Brian Edmonds bedmonds@antarcti.ca
Fri, 30 Mar 2001 14:32:00 -0800 (PST)


barry@digicool.com (Barry A. Warsaw) writes:
> 4. A message comes in that is multipart/* but not multipart/mixed.
>    What to do here?

Wrap the whole thing as a multipart/mixed:

1) text/plain: header
2) multipart/blah: original message
3) text/plain: footer

Of course, I'm demiming all my lists anyway, so it would probably have
gotten bounced before this point.  Speaking of demime, and offtopic for
this list, I just worked out a simple yet wonderful procmail recipe:

:0 fw
* ^Content-Type:.*(multipart/alternative|text/html)
| /news/local/demime - | formail -a 'From '

Brian.