Menu

#69 UTF-8 content in 7bit makes email invalid

v.7.5.4
closed-accepted
nobody
None
5
2020-08-16
2020-08-12
No

When Logwatch sends email it specifies the character encoding as UTF-8, but it also specifies "Content-Transfer-Encoding: 7bit" by default, which means that the message body can only contain ASCII characters. If any string copied from a logfile contains any non-ASCII characters, then the email message becomes invalid and may be rejected by a standards-enforcing mail server. "8bit" should be specified instead to allow the message body to contain UTF-8 text.

1 Attachments

Discussion

  • Bjorn

    Bjorn - 2020-08-16
    • status: open --> closed-accepted
     
  • Bjorn

    Bjorn - 2020-08-16

    Thanks for the patch.

     

Log in to post a comment.