]> source.dussan.org Git - rspamd.git/commitdiff
[Conf] oversign openpgp and autocrypt headers 2851/head
authorheraklit256 <heraklit256@users.noreply.github.com>
Mon, 15 Apr 2019 18:28:39 +0000 (20:28 +0200)
committerheraklit256 <heraklit256@users.noreply.github.com>
Mon, 15 Apr 2019 18:28:39 +0000 (20:28 +0200)
lualib/lua_ffi/dkim.lua
src/plugins/dkim_check.c

index 00724f005f820361693f1b64f52c55b0141d6ff2..8735d8709c0bd85c939f57b0b37f9b2d0d8d072f 100644 (file)
@@ -81,7 +81,7 @@ local default_dkim_headers =
 "(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:" ..
 "(o)in-reply-to:(o)references:list-id:list-owner:list-unsubscribe:" ..
-"list-subscribe:list-post"
+"list-subscribe:list-post:(o)openpgp:(o)autocrypt"
 
 local function create_sign_context(task, privkey, dkim_headers, sign_type)
   if not task or not privkey then
@@ -137,4 +137,4 @@ return {
   load_sign_key = load_sign_key,
   create_sign_context = create_sign_context,
   do_sign = do_sign
-}
\ No newline at end of file
+}
index 9861d1eb7e66f3993a8a2efd8d0f4c4378dfa52d..8964d99ba6336fab7ae457c746d73bc57d0eb1ca 100644 (file)
@@ -58,13 +58,13 @@ static const gchar default_sign_headers[] = ""
                "(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:"
                "(o)in-reply-to:(o)references:list-id:list-owner:list-unsubscribe:"
-               "list-subscribe:list-post";
+               "list-subscribe:list-post:(o)openpgp:(o)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:"
                "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";
+               "list-subscribe:list-post:dkim-signature:(o)openpgp:(o)autocrypt";
 
 struct dkim_ctx {
        struct module_ctx ctx;