From: Vsevolod Stakhov Date: Fri, 28 Oct 2022 14:31:02 +0000 (+0100) Subject: [Rules] Do not insert ONCE_RECEIVED_STRICT on RDNS missing X-Git-Tag: 3.4~11 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9fb5afd475d564bea97d08a092be61ce77bba8b5;p=thirdparty%2Frspamd.git [Rules] Do not insert ONCE_RECEIVED_STRICT on RDNS missing Suggested by: @moisseev --- diff --git a/src/plugins/lua/once_received.lua b/src/plugins/lua/once_received.lua index aa17315ef8..def82ebb8d 100644 --- a/src/plugins/lua/once_received.lua +++ b/src/plugins/lua/once_received.lua @@ -56,7 +56,10 @@ local function check_quantity_received (task) if not results then if nreceived <= 1 then task:insert_result(symbol, 1) - task:insert_result(symbol_strict, 1) + -- Avoid strict symbol inserting as the remaining symbols have already + -- quote a significant weight, so a message could be rejected by just + -- this property. + --task:insert_result(symbol_strict, 1) -- Check for MUAs local ua = task:get_header('User-Agent') local xm = task:get_header('X-Mailer')