On 15 Nov 2016, at 23:35, Michael Fox wrote:
I've got some clients that are really simple and don't understand
various
message encoding types, such as quoted-printable, base64, possibly
others.
They understand plain text only. So, for users in specific domains,
I'd
like to convert quoted-printable, base64 and possibly other encoded
messages
to plain text.
Do you understand why QP, Base64, and other encodings exist?
It is because some messages cannot be represented as plain text, due to
the fact that "plain text" for email is a subset of the US-ASCII
character set. QP and Base64 exist to translate 8-bit characters and
arbitrary binary data into a stream of 8-bit characters that are in a
'mail safe' subset of US-ASCII.
I presume I need a content-filter to perform this work post-queue.
One actually should only do anything like this with client-side
software. You presumably intend to throw away information (such as the
difference between o, ô, and ö) and it is best to allow those choices
to remain with end users.
I looked here: http://www.postfix.org/addon.html
. but didn't see anything that addresses the issue. Any ideas would
be
helpful.
Or maybe not, as I'm entirely serious when I say that your best choice
is to not do this. Solve whatever problem you are trying to solve in
some other way.