From: Timo Sirainen Date: Fri, 28 Feb 2025 10:04:05 +0000 (+0200) Subject: lmtp: Change the default service_restart_request_count to 1 X-Git-Tag: 2.4.1~98 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=5ab4f9675e27d5616da30b13146bd3cbcbeb6c8c;p=thirdparty%2Fdovecot%2Fcore.git lmtp: Change the default service_restart_request_count to 1 It had accidentally been "unlimited" by default since the beginning. The default should be the same 1 as with other services like imap and pop3. --- diff --git a/src/lib-settings/settings-history-core.txt b/src/lib-settings/settings-history-core.txt index e69de29bb2..1aa1a6c2cd 100644 --- a/src/lib-settings/settings-history-core.txt +++ b/src/lib-settings/settings-history-core.txt @@ -0,0 +1 @@ +default service/lmtp/service_restart_request_count unlimited 2.4.1 diff --git a/src/lmtp/lmtp-settings.c b/src/lmtp/lmtp-settings.c index 7d144b8317..d13f47a5c5 100644 --- a/src/lmtp/lmtp-settings.c +++ b/src/lmtp/lmtp-settings.c @@ -27,6 +27,7 @@ struct service_settings lmtp_service_settings = { .drop_priv_before_exec = FALSE, .client_limit = 1, + .restart_request_count = 1, .unix_listeners = ARRAY_INIT, .fifo_listeners = ARRAY_INIT,