diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2019-05-10 15:43:36 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2019-05-10 15:43:36 +0100 |
commit | e0d31efc8573ad2b6c5b262c22801b5709945893 (patch) | |
tree | 9d6955a6c124ed3fbb33f2495fa49357e4f8cf08 | |
parent | 128a0bbe9d54cb9350641062a7125b39327fb87d (diff) | |
download | rspamd-e0d31efc8573ad2b6c5b262c22801b5709945893.tar.gz rspamd-e0d31efc8573ad2b6c5b262c22801b5709945893.zip |
[Fix] Change the default oversigning headers to a more sane list
Issue: #2887
-rw-r--r-- | src/plugins/dkim_check.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/plugins/dkim_check.c b/src/plugins/dkim_check.c index 1b822ccab..7a3dcac4c 100644 --- a/src/plugins/dkim_check.c +++ b/src/plugins/dkim_check.c @@ -54,17 +54,17 @@ 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; |