commit e0d31ef: [Fix] Change the default oversigning headers to a more sane list

Vsevolod Stakhov vsevolod at highsecure.ru
Fri May 10 14:49:04 UTC 2019


Author: Vsevolod Stakhov
Date: 2019-05-10 15:43:36 +0100
URL: https://github.com/rspamd/rspamd/commit/e0d31efc8573ad2b6c5b262c22801b5709945893

[Fix] Change the default oversigning headers to a more sane list
Issue: #2887

---
 src/plugins/dkim_check.c | 16 ++++++++--------
 1 file 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;


More information about the Commits mailing list