Adding a customised Footer & Header to mailman.

Hi All,
I have a request from management to find out if I can add a footer and possibly a header to all outgoing list messages. (Might be easiest to do this via sendmail, but anyway).
I can see mailman adds some text onto each email, can this be set to do something more comprehensive? Like fancy company logos and such got from another location (database, mount point or something)?
Before you all flame me with retorts about html, bloat etc don't bother, I don't want it myself but the business wants it, so it happens or I have to replace Mailman with Exchange, and I really, really don't want that.....
Regards
Steven

Steven Jones wrote:
I can see mailman adds some text onto each email, can this be set to do something more comprehensive? Like fancy company logos and such got from another location (database, mount point or something)?
Unless you are willing to modify code or create your own custom handler to do this, the answer is no. There are ways (see <http://www.python.org/cgi-bin/faqw-mm.py?req=show&file=faq03.052.htp>) to imbed things which 'look like' HTML into message and digest headers and footers, but these things wind up in text/plain message parts, so they will never be rendered as HTML.
See <http://www.python.org/cgi-bin/faqw-mm.py?req=show&file=faq04.067.htp> for some generic information about custom handlers.
-- Mark Sapiro <msapiro@value.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan

Mark Sapiro wrote:
Steven Jones wrote:
I can see mailman adds some text onto each email, can this be set to do something more comprehensive? Like fancy company logos and such got from another location (database, mount point or something)?
Unless you are willing to modify code or create your own custom handler to do this, the answer is no. There are ways (see <http://www.python.org/cgi-bin/faqw-mm.py?req=show&file=faq03.052.htp>) to imbed things which 'look like' HTML into message and digest headers and footers, but these things wind up in text/plain message parts, so they will never be rendered as HTML.
One thing you can do is put a uuencoded .jpg, .gif, .png, etc. image in, for example, msg_header. What happens then is highly dependent on the MUA used to read the mail. Since the OP mentioned 'exchange', we might be talking 'lookout', er, I mean 'outlook' which might just render such a thing inline and make management happy, at least until clients/customers with real MUAs started complaining about all the unintelligible garbage at the start of the email. (Forgive the sarcasm please, my biases are showing.)
Note that you'd still have to use the methods of FAQ 3.52 to set the uuencoded data in the headers/footers, as uuencoded data contains characters that will be HTML escaped if added via the web interface.
-- Mark Sapiro <msapiro@value.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
participants (2)
-
Mark Sapiro
-
Steven Jones