From: Timo Sirainen Date: Tue, 28 Jun 2022 09:53:26 +0000 (+0300) Subject: login-proxy: Increase LOGIN_PROXY_TTL from 5 to 7 X-Git-Tag: 2.4.0~3769 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6267dbbc3d64073c95ca710b6458cb38dbc76564;p=thirdparty%2Fdovecot%2Fcore.git login-proxy: Increase LOGIN_PROXY_TTL from 5 to 7 5 is a bit too much on the low side in case there are several redirects. It shouldn't be too high either, since it'll increase how long it takes to detect a proxying loop. --- diff --git a/src/login-common/login-proxy.h b/src/login-common/login-proxy.h index 280ddef4e4..4d0559104a 100644 --- a/src/login-common/login-proxy.h +++ b/src/login-common/login-proxy.h @@ -10,7 +10,7 @@ keep connecting to each others, both thinking the other one is supposed to handle the user. This only works if both proxies support the Dovecot TTL extension feature. */ -#define LOGIN_PROXY_TTL 5 +#define LOGIN_PROXY_TTL 7 #define LOGIN_PROXY_DEFAULT_HOST_IMMEDIATE_FAILURE_AFTER_SECS 30 #define LOGIN_PROXY_FAILURE_MSG "Account is temporarily unavailable."