]> source.dussan.org Git - rspamd.git/commitdiff
[Fix] Change the default oversigning headers to a more sane list
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Fri, 10 May 2019 14:43:36 +0000 (15:43 +0100)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Fri, 10 May 2019 14:43:36 +0000 (15:43 +0100)
Issue: #2887

src/plugins/dkim_check.c

index 1b822ccab482cf3a1bebf0d35987841bbd2ce01d..7a3dcac4ce6a09a712b3aa0fda676fed4e5fa249 100644 (file)
 static const gchar *M = "rspamd dkim plugin";
 
 static const gchar default_sign_headers[] = ""
-               "(o)from:(o)sender:(o)reply-to:(o)subject:(o)date:(o)message-id:"
-               "(o)to:(o)cc:(o)mime-version:(o)content-type:(o)content-transfer-encoding:"
+               "(o)from:(x)sender:(x)reply-to:(x)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:"
-               "(o)in-reply-to:(o)references:list-id:list-owner:list-unsubscribe:"
-               "list-subscribe:list-post:(o)openpgp:(o)autocrypt";
+               "(x)in-reply-to:(x)references:list-id:list-owner:list-unsubscribe:"
+               "list-subscribe:list-post:(x)openpgp:(x)autocrypt";
 static const gchar default_arc_sign_headers[] = ""
-               "(o)from:(o)sender:(o)reply-to:(o)subject:(o)date:(o)message-id:"
-               "(o)to:(o)cc:(o)mime-version:(o)content-type:(o)content-transfer-encoding:"
+               "(o)from:(x)sender:(x)reply-to:(x)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:"
-               "(o)in-reply-to:(o)references:list-id:list-owner:list-unsubscribe:"
-               "list-subscribe:list-post:dkim-signature:(o)openpgp:(o)autocrypt";
+               "(x)in-reply-to:(x)references:list-id:list-owner:list-unsubscribe:"
+               "list-subscribe:list-post:dkim-signature:(x)openpgp:(x)autocrypt";
 
 struct dkim_ctx {
        struct module_ctx ctx;