commit 7d5502a: Update dmarc.lua

GitHub noreply at github.com
Sun Jan 27 21:35:03 UTC 2019


Author: analogic
Date: 2019-01-27 12:12:30 +0100
URL: https://github.com/rspamd/rspamd/commit/7d5502ada6f6ac93a41a580bf8e99401636d4dff (refs/pull/2732/head)

Update dmarc.lua

---
 src/plugins/lua/dmarc.lua | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/plugins/lua/dmarc.lua b/src/plugins/lua/dmarc.lua
index d7ee043b9..f05579d2d 100644
--- a/src/plugins/lua/dmarc.lua
+++ b/src/plugins/lua/dmarc.lua
@@ -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


More information about the Commits mailing list