Discussion:
[Mimedefang] prepend boilerplate ?
Mike Grau
2017-07-13 14:46:40 UTC
Permalink
Hello all,

Has anybody had a requirement to prepend boilerplate to e-mails? Perhaps
similar to append_text_boilerplate and append_html_boilerplate except
prepending instead of appending?

I'm loathe to monkey with mimedefang.pl myself even if if could, which I
doubt. Or is somebody doing this within mimedefang-filter?

-- Mike G
_______________________________________________
NOTE: If there is a disclaimer or other legal boilerplate in the above
message, it is NULL AND VOID. You may ignore it.

Visit http://www.mimedefang.org and http://www.roaringpenguin.com
MIMEDefang mailing list ***@lists.roaringpenguin.com
http://lists.roaringpenguin.com/mailman/listinfo/mimedef
Joseph Brennan
2017-07-13 16:40:01 UTC
Permalink
If all email was still plain text, nothing to it!

You're proposing either to parse HTML code and rewrite it
appropriately, or to rebuild the MIME structure with new parts at the
beginning. Either of those would be an "interesting" exercise in
mimedefang filter coding given the many possibilities you could
encounter.

If this is for outbound, in an ideal world I think the software
creating the message has the job of inserting the boilerplate, and the
software filtering the message has the job of verifying that the
boilerplate is there and rejecting if not.

Joseph Brennan
Columbia University

_______________________________________________
NOTE: If there is a disclaimer or other legal boilerplate in the above
message, it is NULL AND VOID. You may ignore it.

Visit http://www.mimedefang.org and http://www.roaringpenguin.com
MIMEDefang mailing list ***@lists.roaringpenguin.com
http://lists.roa
Kris Deugau
2017-07-13 16:51:53 UTC
Permalink
Post by Mike Grau
Hello all,
Has anybody had a requirement to prepend boilerplate to e-mails? Perhaps
similar to append_text_boilerplate and append_html_boilerplate except
prepending instead of appending?
Check the list archives; someone just asked almost exactly the same
question about three weeks ago.

Short recap: Push back against doing this, and if you get the customer
insisting anyway, you'll have to deconstruct append_text_boilerplate etc
for your own use.

-kgd
_______________________________________________
NOTE: If there is a disclaimer or other legal boilerplate in the above
message, it is NULL AND VOID. You may ignore it.

Visit http://www.mimedefang.org and http://www.roaringpenguin.com
MIMEDefang mailing list ***@lists.roaringpenguin.com
http://lists.
Mike Grau
2017-07-13 17:03:22 UTC
Permalink
Post by Kris Deugau
Short recap: Push back against doing this, and if you get the customer
insisting anyway, you'll have to deconstruct append_text_boilerplate etc
for your own use.
-kgd
Okay, thanks! -- Mike
_______________________________________________
NOTE: If there is a disclaimer or other legal boilerplate in the above
message, it is NULL AND VOID. You may ignore it.

Visit http://www.mimedefang.org and http://www.roaringpenguin.com
MIMEDefang mailing list ***@lists.roaringpenguin.com
http://lis

Loading...