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.