]> source.dussan.org Git - rspamd.git/commitdiff
[Minor] dkim_signing - fix log messages 3318/head
authorCarsten Rosenberg <c.rosenberg@heinlein-support.de>
Fri, 3 Apr 2020 18:56:35 +0000 (20:56 +0200)
committerCarsten Rosenberg <c.rosenberg@heinlein-support.de>
Fri, 3 Apr 2020 18:56:35 +0000 (20:56 +0200)
src/plugins/lua/dkim_signing.lua

index 24dbd20d60502aa68dc43d82480ce4ab0cb69c7e..4dfcd3b812fcef8de91340c627d8330434b74cb5 100644 (file)
@@ -78,11 +78,11 @@ local function do_sign(task, p)
           p.pubkey = results[1]
           p.strict_pubkey_check = not settings.allow_pubkey_mismatch
         elseif not settings.allow_pubkey_mismatch then
-          rspamd_logger.errx('public key for domain %s/%s is not found: %s, skip signing',
+          rspamd_logger.infox(task, 'public key for domain %s/%s is not found: %s, skip signing',
               p.domain, p.selector, err)
           return
         else
-          rspamd_logger.infox('public key for domain %s/%s is not found: %s',
+          rspamd_logger.infox(task, 'public key for domain %s/%s is not found: %s',
               p.domain, p.selector, err)
         end