From: Vsevolod Stakhov Date: Tue, 3 Apr 2018 13:57:23 +0000 (+0100) Subject: [Fix] Add oversigning for the most important headers X-Git-Tag: 1.7.3~49 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e62f16303977a21fc13435840c2b95ff5dde52a3;p=thirdparty%2Frspamd.git [Fix] Add oversigning for the most important headers --- diff --git a/src/plugins/dkim_check.c b/src/plugins/dkim_check.c index 705b110d95..53be30aa88 100644 --- a/src/plugins/dkim_check.c +++ b/src/plugins/dkim_check.c @@ -50,10 +50,10 @@ #define DEFAULT_MAX_SIGS 5 static const gchar default_sign_headers[] = "" - "from:sender:reply-to:subject:date:message-id:" - "to:cc:mime-version:content-type:content-transfer-encoding:" + "(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:" "resent-to:resent-cc:resent-from:resent-sender:resent-message-id:" - "in-reply-to:references:list-id:list-owner:list-unsubscribe:" + "(o)in-reply-to:(o)references:list-id:list-owner:list-unsubscribe:" "list-subscribe:list-post"; struct dkim_ctx {