]> git.ipfire.org Git - thirdparty/dovecot/core.git/commit
mail-crypt-acl: Fix logging while updating private keys for shared users
authorTimo Sirainen <timo.sirainen@open-xchange.com>
Mon, 9 Jan 2023 16:33:12 +0000 (18:33 +0200)
committerAki Tuomi <aki.tuomi@open-xchange.com>
Wed, 12 Feb 2025 10:34:11 +0000 (12:34 +0200)
commit20955e7e4aa254a3a6833785954c52b1c26c514c
treea6ee2052c3ce1726b522cbcb3d53016c21dc5ecb
parent824092a12222d2db460d682877db97a573bc25d4
mail-crypt-acl: Fix logging while updating private keys for shared users

During userdb lookup the log prefix contained only the user being looked up
with no mention of the originating user. This was because
mail_storage_service_lookup() didn't see that there was any IO loop context
active, so it created a new log prefix. Fixed by simply removing the
explicit IO loop context [de]activate calls. The logging seems to work just
fine even without them.
src/plugins/mail-crypt/mail-crypt-acl-plugin.c