diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2022-01-24 19:04:26 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2022-01-24 19:04:26 +0000 |
commit | 19bfd5e302954bf2ce1f892dc46ba1bb08c15aa8 (patch) | |
tree | e313a5356d64b095960bca6ccd569a99180ae5b2 /src/plugins/dkim_check.c | |
parent | 22db618165cfb1ee0f3ff808fd27603c55cf9234 (diff) | |
download | rspamd-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.c | 2 |
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"); |