Skip to content

Commit

Permalink
[Rspamd] check if footer.skip_replies is not 0
Browse files Browse the repository at this point in the history
  • Loading branch information
FreddleSpl0it committed Jan 17, 2024
1 parent cc3adbe commit 90a7cff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion data/conf/rspamd/lua/rspamd.local.lua
Original file line number Diff line number Diff line change
Expand Up @@ -567,7 +567,7 @@ rspamd_config:register_symbol({
if footer and type(footer) == "table" and (footer.html and footer.html ~= "" or footer.plain and footer.plain ~= "") then
rspamd_logger.infox(rspamd_config, "found domain wide footer for user %s: html=%s, plain=%s, vars=%s", uname, footer.html, footer.plain, footer.vars)

if footer.skip_replies then
if footer.skip_replies ~= 0 then
in_reply_to = task:get_header_raw('in-reply-to')
if in_reply_to then
rspamd_logger.infox(rspamd_config, "mail is a reply - skip footer")
Expand Down

0 comments on commit 90a7cff

Please sign in to comment.