aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2019-01-27 21:30:52 +0000
committerGitHub <noreply@github.com>2019-01-27 21:30:52 +0000
commitb443d8260a1200e3b9ff7de5a0812a79fb83dafe (patch)
tree23d017d7f476da0bb9a37ad50a13f8690dffd9f2
parentf97078913a7a45adc1f1640d31e032ff7f232e48 (diff)
parent7d5502ada6f6ac93a41a580bf8e99401636d4dff (diff)
downloadrspamd-b443d8260a1200e3b9ff7de5a0812a79fb83dafe.tar.gz
rspamd-b443d8260a1200e3b9ff7de5a0812a79fb83dafe.zip
Merge pull request #2732 from analogic/patch-2
Another LF to CRLF transform in DMARC report
-rw-r--r--src/plugins/lua/dmarc.lua2
1 files changed, 1 insertions, 1 deletions
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