From: sergey.kitov Date: Thu, 15 Jun 2023 09:22:05 +0000 (+0300) Subject: lib-smtp: Do not log AUTH input from client. X-Git-Tag: 2.4.0~2669 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dc7f39fb5f925d0c8e750c49782248941207116a;p=thirdparty%2Fdovecot%2Fcore.git lib-smtp: Do not log AUTH input from client. This could happen when debug logging is enabled. --- diff --git a/src/lib-smtp/smtp-server-cmd-auth.c b/src/lib-smtp/smtp-server-cmd-auth.c index 5d79b7675d..ed934e94e7 100644 --- a/src/lib-smtp/smtp-server-cmd-auth.c +++ b/src/lib-smtp/smtp-server-cmd-auth.c @@ -107,7 +107,7 @@ static void cmd_auth_input(struct smtp_server_cmd_ctx *cmd) return; } - e_debug(conn->event, "Received AUTH response: %s", auth_response); + e_debug(conn->event, "Received AUTH response: "); smtp_server_command_input_lock(cmd);