]> source.dussan.org Git - rspamd.git/commitdiff
Update dmarc.lua 2730/head
authoranalogic <info@analogic.cz>
Thu, 24 Jan 2019 14:56:05 +0000 (15:56 +0100)
committerGitHub <noreply@github.com>
Thu, 24 Jan 2019 14:56:05 +0000 (15:56 +0100)
src/plugins/lua/dmarc.lua

index 4638ef0acc3339ee5889fad8ba34920e123996a8..d7ee043b9163698696df420800cac21c2d89519f 100644 (file)
@@ -962,7 +962,7 @@ if opts['reporting'] == true then
                 table.insert(atmp, k)
               end
               local addr_string = table.concat(atmp, ', ')
-              local rhead = string.format(report_template,
+              local rhead = string.format(report_template:gsub("\n", "\r\n"),
                  report_settings.from_name,
                   report_settings.email,
                   addr_string,