]> source.dussan.org Git - rspamd.git/commitdiff
Update dmarc.lua 2732/head
authoranalogic <info@analogic.cz>
Sun, 27 Jan 2019 11:12:30 +0000 (12:12 +0100)
committerGitHub <noreply@github.com>
Sun, 27 Jan 2019 11:12:30 +0000 (12:12 +0100)
src/plugins/lua/dmarc.lua

index d7ee043b9163698696df420800cac21c2d89519f..f05579d2d5c6fd4d323a141acf891e66effee87e 100644 (file)
@@ -977,7 +977,7 @@ if opts['reporting'] == true then
                   report_start, report_end)
               conn:add_write(pre_quit_cb, {rhead,
                                            encoded,
-                                           report_footer,
+                                           report_footer:gsub("\n", "\r\n"),
                                            '\r\n.\r\n'})
             end
           end