1
0
mirror of https://github.com/mailcow/mailcow-dockerized.git synced 2024-12-25 02:29:32 +02:00

[Rspamd] check if footer.skip_replies is not 0

This commit is contained in:
FreddleSpl0it 2024-01-17 12:05:51 +01:00
parent cc3adbe78c
commit 90a7cff2c9
No known key found for this signature in database
GPG Key ID: 00E14E7634F4BEC5

View File

@ -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")