]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
submission-login: Remove direct access of auth_debug
authorKarl Fleischmann <karl.fleischmann@open-xchange.com>
Fri, 1 Apr 2022 08:49:10 +0000 (10:49 +0200)
committeraki.tuomi <aki.tuomi@open-xchange.com>
Tue, 5 Apr 2022 05:50:32 +0000 (05:50 +0000)
SMTP debugging is not related to authentication so using auth_debug has
been wrong to use in the first place.

src/submission-login/client.c

index 75643e7429ee805e8b50d23249430dbc97f0534a..c98cdddf95f7137e506caa5bf328f766eeca960d 100644 (file)
@@ -114,7 +114,7 @@ static void submission_client_create(struct client *client,
        smtp_set.xclient_extensions = xclient_extensions;
        smtp_set.command_limits.max_parameters_size = LOGIN_MAX_INBUF_SIZE;
        smtp_set.command_limits.max_auth_size = LOGIN_MAX_AUTH_BUF_SIZE;
-       smtp_set.debug = client->set->auth_debug;
+       smtp_set.debug = event_want_debug(client->event);
 
        subm_client->conn = smtp_server_connection_create_from_streams(
                smtp_server, client->input, client->output,