[PATCH] add MIME-aware footers

From: Gerd v. Egidy <lists_at_invalid.domain>
Date: Tue, 26 Jan 2010 16:17:05 +0100

Hi,

this patch has already been sent in dec 2008 to this ml but was not yet
applied. I guess it was forgotten.

The patch allows adding footers to different MIME-types. It uses altermime to
add the footers before giving the mail to the regular mlmmj-functions. Mlmmj
itself doesn't need to be changed to use this.

How to use it:

- install altermime to /usr/bin/altermime
- copy the mlmmj-amime-receive from the contrib-dir into /usr/bin
- put the footer-text for the different MIME-types into
control/amime-footer-text
control/amime-footer-html
control/amime-footer-base64
- replace mlmmj-recieve with mlmmj-amime-receive in /etc/aliases, e.g.
myml: "|/usr/bin/mlmmj-amime-receive -L /var/spool/mlmmj/myml/"
watch out for recieve vs. receive...
- newaliases

If this patch is not acceptable in its current form or missing something
please speak up.

Kind regards,

Gerd

-- 
Address (better: trap) for people I really don't want to get mail from:
jonas_at_cactusamerica.com

Received on Tue Jan 26 2010 - 17:17:05 EET