From: Vsevolod Stakhov Date: Fri, 10 May 2019 14:43:36 +0000 (+0100) Subject: [Fix] Change the default oversigning headers to a more sane list X-Git-Tag: 1.9.3~8 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e0d31efc8573ad2b6c5b262c22801b5709945893;p=thirdparty%2Frspamd.git [Fix] Change the default oversigning headers to a more sane list Issue: #2887 --- diff --git a/src/plugins/dkim_check.c b/src/plugins/dkim_check.c index 1b822ccab4..7a3dcac4ce 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;