From 19bfd5e302954bf2ce1f892dc46ba1bb08c15aa8 Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Mon, 24 Jan 2022 19:04:26 +0000 Subject: [Minor] Fix a name and the description of bogus `user` field in the task --- src/plugins/dkim_check.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/plugins/dkim_check.c') diff --git a/src/plugins/dkim_check.c b/src/plugins/dkim_check.c index ab5d6ec43..039cdf718 100644 --- a/src/plugins/dkim_check.c +++ b/src/plugins/dkim_check.c @@ -1154,7 +1154,7 @@ dkim_symbol_callback (struct rspamd_task *task, } /* First check if plugin should be enabled */ - if ((!dkim_module_ctx->check_authed && task->user != NULL) + if ((!dkim_module_ctx->check_authed && task->auth_user != NULL) || (!dkim_module_ctx->check_local && rspamd_ip_is_local_cfg (task->cfg, task->from_addr))) { msg_info_task ("skip DKIM checks for local networks and authorized users"); -- cgit v1.2.3