]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
auth: penalty - Log a warning if auth process is restarted due to anvil not connected
authorTimo Sirainen <timo.sirainen@open-xchange.com>
Thu, 19 Feb 2026 17:29:26 +0000 (19:29 +0200)
committerTimo Sirainen <timo.sirainen@open-xchange.com>
Mon, 23 Feb 2026 09:28:30 +0000 (11:28 +0200)
src/auth/auth-penalty.c

index 25a93a983e484e58f1838b4f08b1aff21608dd6f..cece769736aa7786eb6c4e3d15707225d25a5cbb 100644 (file)
@@ -77,6 +77,8 @@ auth_penalty_anvil_callback(const struct anvil_reply *reply,
                if (!anvil_client_is_connected(request->client)) {
                        /* we probably didn't have permissions to reconnect
                           back to anvil. need to restart ourself. */
+                       e_warning(request->event,
+                               "Anvil not connected - restarting auth process");
                        master_service_stop(master_service);
                }
        } else if (sscanf(reply->reply, "%u %lu", &penalty, &last_penalty) != 2) {