Score:0

Add Subject Encoding in Postfix

br flag

How can I use postfix to encode subjects with special characters?

I am using a proprietary software which does not encode the e-mail subject header. If the header contains a special character (for example german umlaut: öäüß) it causes problems on the receiver side.

The software runs on Linux and uses to local postfix daemon to send the e-mails. Can I somehow add the encoding in postfix?

Score:0
fr flag
anx

If you are just looking to (regex-)replace a fixed number of possible header values, header_checks will suffice.

If you need to convert arbitrary headers values to RFC2047, you will want an additional script, which can be plugged into postfix using interfaces such as milter or filter. Bindings are available for all popular languages, calling the actual header replacement will likely take less time than setting it all up.

The simple case - converting an SMTPUTF8-received valid mail into a non-SMTPUTF8 deliverable still valid mail has may or may not at one point become a postfix feature (see WISHLIST in postfix tarball).

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.