DirectAdmin System E-mail: Only encode subject/to/from/reply-to if they're 8-bit

Version 1.59

Bugfix
Finished

Relating to: utf8_encode_subject=1 utf8_encode_from_to=1 When they're set to 1, they will now only base64 encode the subject/from/to if those given values actually contain 8-bit characters. Encoding 7-bit-only strings can actually be detrimental to spam scoring, eg: REPLYTO_EXCESS_BASE64 Reply-To that contains encoded characters while base 64 is not needed as all symbols are 7bit (1.5) FROM_EXCESS_BASE64 From that contains encoded characters while base 64 is not needed as all symbols are 7bit (1.5) So the 1 settings for both of these commands will now only encode when needed (8-bit chars). If you want to force base64 bit encoding all the time, just set these values to 2, eg: utf8_encode_subject=2 utf8_encode_from_to=2 To clarify, an 8-bit character is any with a ascii decimal number higher than 255.

Interested to try DirectAdmin? Get a 30-day Free Trial!