7 messages in net.sourceforge.lists.courier-usersRe: [courier-users] Re: couriermlm: A...
FromSent OnAttachments
Adam ShermanMar 14, 2001 11:12 am 
Sam VarshavchikMar 14, 2001 2:41 pm 
Adam ShermanMar 14, 2001 5:32 pm 
Sam VarshavchikMar 14, 2001 6:29 pm 
John SturgeonMar 14, 2001 7:06 pm 
Adam ShermanMar 15, 2001 11:30 am 
Sam VarshavchikMar 15, 2001 2:35 pm 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:Re: [courier-users] Re: couriermlm: Adding a footerActions...
From:Adam Sherman (ad@tritus.ca)
Date:Mar 15, 2001 11:30:44 am
List:net.sourceforge.lists.courier-users

Adam Sherman writes:

You could try appending the footer before passing an inbound message to couriermlm. In .courier-listname you would have something like:

| /bin/cat - $footerfilename | /usr/lib/courier/bin/couriermlm msg directory

However, note that this is not going to work if the inbound message is a multipart MIME message, or if the message uses a different character set.

Ah, so I will have to figure out a script.

More than just a script. Inserting a footer into a multipart MIME message is an adventure in of itself.

The only thing I can think of, which will work all the time, is to create a new multipart/mixed MIME message. The first part would be the entire original message, except for its top-level non-MIME headers, and the second part would be an inline text/plain section. The headers of the new message would be the non-MIME headers of the original message (plus Mime-Version and the multipart/mixed Content-Type header).

Hmmm, I guess all the other mlms are ignoring the problem and appending the footer to the bottom of the messages.

I wonder how much mail is actually going to cause a problem...

Thanks,

A.