]> source.dussan.org Git - rspamd.git/commitdiff
[Fix] Change default template to deal with non-ASCII characters
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Fri, 10 Mar 2017 12:42:20 +0000 (12:42 +0000)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Fri, 10 Mar 2017 12:42:40 +0000 (12:42 +0000)
src/plugins/lua/metadata_exporter.lua

index 22fb887bdf935768f87b80bc04a2a1b17d4869b7..8be2ecb45f3fc88f3e9351ae4fb840cf2336afab 100644 (file)
@@ -41,7 +41,8 @@ Subject: Spam alert
 Date: $date
 MIME-Version: 1.0
 Message-ID: <$our_message_id>
-Content-type: text/plain; charset=us-ascii
+Content-type: text/plain; charset=utf-8
+Content-Transfer-Encoding: 8bit
 
 Authenticated username: $user
 IP: $ip