]> source.dussan.org Git - rspamd.git/commitdiff
Add more diagnostic for getting keys errors
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Sun, 14 Feb 2016 20:04:36 +0000 (20:04 +0000)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Sun, 14 Feb 2016 20:04:36 +0000 (20:04 +0000)
src/plugins/dkim_check.c

index 24f08e9b1b17ccdc2876df4846942f5760ba41d6..a30a52e6eea559e82adf4fcaf313c0a334be4695 100644 (file)
@@ -532,7 +532,8 @@ dkim_module_key_handler (rspamd_dkim_key_t *key,
        }
        else {
                /* Insert tempfail symbol */
-               msg_info ("cannot get key for domain %s", ctx->dns_key);
+               msg_info ("cannot get key for domain %s: %e", ctx->dns_key, err);
+
                if (err != NULL) {
                        res->res = DKIM_TRYAGAIN;
                }