aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/dkim_check.c
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2022-01-24 19:04:26 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2022-01-24 19:04:26 +0000
commit19bfd5e302954bf2ce1f892dc46ba1bb08c15aa8 (patch)
treee313a5356d64b095960bca6ccd569a99180ae5b2 /src/plugins/dkim_check.c
parent22db618165cfb1ee0f3ff808fd27603c55cf9234 (diff)
downloadrspamd-19bfd5e302954bf2ce1f892dc46ba1bb08c15aa8.tar.gz
rspamd-19bfd5e302954bf2ce1f892dc46ba1bb08c15aa8.zip
[Minor] Fix a name and the description of bogus `user` field in the task
Diffstat (limited to 'src/plugins/dkim_check.c')
-rw-r--r--src/plugins/dkim_check.c2
1 files changed, 1 insertions, 1 deletions
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");