From 22eb2ba41b50a95d9eb0bc9c194875ab3f07c03c Mon Sep 17 00:00:00 2001 From: Timo Sirainen Date: Mon, 14 Nov 2022 23:27:33 +0200 Subject: [PATCH] lmtp: Fix restoring global log prefix after session is finished Broken by 069dfd657fd91a0e2a3a9307a0cf499d795f27f2 This change also slightly changes the lmtp log prefixes in some places. It removes "conn $ip:$port [$idx]: rcpt $user:" from some of the log messages (but that wasn't in all of the log messages anyway), but it now always includes mail_log_prefix in these log messages, which previously wasn't always set at that point yet. --- src/lmtp/main.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/lmtp/main.c b/src/lmtp/main.c index ca3946ecfe..fb9ada8f06 100644 --- a/src/lmtp/main.c +++ b/src/lmtp/main.c @@ -126,7 +126,6 @@ int main(int argc, char *argv[]) enum mail_storage_service_flags storage_service_flags = MAIL_STORAGE_SERVICE_FLAG_USERDB_LOOKUP | MAIL_STORAGE_SERVICE_FLAG_TEMP_PRIV_DROP | - MAIL_STORAGE_SERVICE_FLAG_NO_LOG_INIT | MAIL_STORAGE_SERVICE_FLAG_NO_IDLE_TIMEOUT; const char *tmp_base_dir; int c; -- 2.47.3