From: Timo Sirainen Date: Thu, 19 Feb 2026 17:29:26 +0000 (+0200) Subject: auth: penalty - Log a warning if auth process is restarted due to anvil not connected X-Git-Tag: 2.4.3~158 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d4b740faf330c2058ca6cbd0db4b952fe5aa674b;p=thirdparty%2Fdovecot%2Fcore.git auth: penalty - Log a warning if auth process is restarted due to anvil not connected --- diff --git a/src/auth/auth-penalty.c b/src/auth/auth-penalty.c index 25a93a983e..cece769736 100644 --- a/src/auth/auth-penalty.c +++ b/src/auth/auth-penalty.c @@ -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) {