Add feedback-id as dkim signed header

This commit is contained in:
danwin1210 committed 2026-10-13 20:26:00 +02:00
1 parent 83d20f22ed
commit 3dcefaa63f
2 files changed
+4

No files matched your search

+1
View File
@@ -4,6 +4,7 @@ use_domain_sign_local = "header";
allow_username_mismatch = true;
allow_hdrfrom_mismatch = true;
try_fallback = false;
sign_headers = "(o)from:(x)sender:(o)reply-to:(o)subject:(x)date:(x)message-id:(o)to:(o)cc:(x)mime-version:(x)content-type:(x)content-transfer-encoding:resent-to:resent-cc:resent-from:resent-sender:resent-message-id:(x)in-reply-to:(x)references:list-id:list-help:list-owner:list-unsubscribe:list-unsubscribe-post:list-subscribe:list-post:(x)openpgp:(x)autocrypt:feedback-id";
domain {
danwin1210.de {
selectors [
@@ -25,6 +25,7 @@ rspamd_config:register_symbol{
type = 'prefilter',
priority = lua_util.symbols_priorities.top,
flags = 'empty,nostat',
score = 0.0,
callback = function(task)
local user = task:get_user()
if not user then
@@ -53,3 +54,5 @@ rspamd_config:register_symbol{
})
end,
}
rspamd_config:register_dependency('DKIM_SIGNED', 'GOOGLE_FEEDBACK_ID')