]>
git.ipfire.org Git - thirdparty/dovecot/core.git/log
Marco Bettini [Thu, 6 Oct 2022 09:31:33 +0000 (09:31 +0000)]
log: Replace i_<log>() with e_<log>()
Marco Bettini [Wed, 5 Oct 2022 13:18:12 +0000 (13:18 +0000)]
lda: Replace i_<log>() with e_<log>()
Marco Bettini [Mon, 10 Oct 2022 10:32:17 +0000 (10:32 +0000)]
imap-urlauth: Replace i_<log>() with e_<log>()
Marco Bettini [Fri, 7 Oct 2022 13:58:12 +0000 (13:58 +0000)]
imap: Replace i_<log>() with e_<log>()
Marco Bettini [Tue, 27 Sep 2022 13:43:45 +0000 (13:43 +0000)]
auth: Replace i_<log>() with e_<log>()
Marco Bettini [Tue, 4 Oct 2022 14:59:44 +0000 (14:59 +0000)]
lib-sql: Replace i_<log>() with e_<log>()
Marco Bettini [Tue, 4 Oct 2022 15:04:47 +0000 (15:04 +0000)]
lib-program-client: Replace i_<log>() with e_<log>()
Marco Bettini [Wed, 12 Oct 2022 10:52:39 +0000 (10:52 +0000)]
lib-mail: istream-attachment-extractor - Return read failure on unexpected errors
If the istream content unexpectedly changes or there are any syscall failures, the
istream reading should fail rather than handle it the same as if the base64 input
was invalid.
The way astream_part_finish() reports errors been modified:
Instead of returning -1 (failure) and 0(success) now it returns
-1 (failure, propagate *error and abort), 0 (invalid base64), 1(success)
Marco Bettini [Wed, 5 Oct 2022 08:06:35 +0000 (08:06 +0000)]
lib-ldap: Replace i_<log>() with e_<log>()
Marco Bettini [Tue, 11 Oct 2022 13:46:53 +0000 (13:46 +0000)]
lib-ldap: struct ldap_client_settings - Add event
Marco Bettini [Wed, 5 Oct 2022 08:10:52 +0000 (08:10 +0000)]
lib-lda: Replace i_<log>() with e_<log>()
Marco Bettini [Wed, 5 Oct 2022 13:08:09 +0000 (13:08 +0000)]
lib-index: Replace i_<log>() with e_<log>()
Marco Bettini [Thu, 6 Oct 2022 14:39:03 +0000 (14:39 +0000)]
lib-imap-urlauth: imap_urlauth_fetch_local() - Reformat code
Marco Bettini [Wed, 28 Sep 2022 14:47:26 +0000 (14:47 +0000)]
lib-imap-urlauth: Replace i_<log>() with e_<log>()
Marco Bettini [Thu, 29 Sep 2022 14:25:37 +0000 (14:25 +0000)]
lib-imap-client: Replace i_<log>() with e_<log>()
Marco Bettini [Thu, 6 Oct 2022 14:05:30 +0000 (14:05 +0000)]
lib-imap-client: Expose struct imapc_connection.event
Marco Bettini [Wed, 5 Oct 2022 13:14:17 +0000 (13:14 +0000)]
lib-http: Replace i_<log>() with e_<log>()
Marco Bettini [Tue, 11 Oct 2022 12:38:09 +0000 (12:38 +0000)]
lib-fts: Update error message for the case where a stopword list is empty.
Now this condition is no longer allowed.
Marco Bettini [Thu, 6 Oct 2022 10:12:57 +0000 (10:12 +0000)]
lib-dict-backend: ldap_dict_lookup_callback() - Reformat code
Marco Bettini [Tue, 4 Oct 2022 15:37:58 +0000 (15:37 +0000)]
lib-dict-backend: Replace i_<log>() with e_<log>()
Marco Bettini [Tue, 11 Oct 2022 13:44:15 +0000 (13:44 +0000)]
lib-dict-backend: struct ldap_dict - Add event
Marco Bettini [Wed, 5 Oct 2022 12:53:46 +0000 (12:53 +0000)]
lib-login: Replace i_<log>() with e_<log>()
Marco Bettini [Fri, 7 Oct 2022 14:04:07 +0000 (14:04 +0000)]
lib-login: struct login_server_connection - Move to header file and add event field
Marco Bettini [Tue, 4 Oct 2022 15:02:06 +0000 (15:02 +0000)]
lib-master: Replace i_<log>() with e_<log>()
Marco Bettini [Tue, 11 Oct 2022 11:03:41 +0000 (11:03 +0000)]
lib-auth: auth_user_fields_parse() - Fail on parse errors rather than just log it
Marco Bettini [Thu, 13 Oct 2022 14:09:43 +0000 (14:09 +0000)]
login-common: Remove access-lookup.[ch]
leftover from
97815ea9
Marco Bettini [Wed, 28 Sep 2022 09:16:54 +0000 (09:16 +0000)]
global: Remove stray whitespaces
Karl Fleischmann [Tue, 18 Oct 2022 06:39:43 +0000 (08:39 +0200)]
imap-login: Amend ID cmd response with trust-state
Timo Sirainen [Fri, 21 Oct 2022 07:49:53 +0000 (10:49 +0300)]
lib-storage: Finish renaming mail_stream_opened to mail_stream_accessed in comment
Forgotten in
d7b8c4097185e2ab40acf43524f48fcde80f615d
Timo Sirainen [Wed, 12 Oct 2022 13:30:53 +0000 (16:30 +0300)]
doveadm: Make some functions public to allow plugins to send proxy commands
Timo Sirainen [Wed, 12 Oct 2022 14:06:38 +0000 (17:06 +0300)]
doveadm: Remove global cmd_ctx variable
Timo Sirainen [Wed, 19 Oct 2022 22:29:18 +0000 (01:29 +0300)]
lib: Always evaluate e_error(), e_warning() and e_info() parameters
e_debug() still delays evaluation until it's known that the event won't
simply be discarded. Since there are lots of e_debug() calls, this is a
good performance optimization. Other types of logging are much more rare
though and it's not so useful as an optimization. It can also be
unexpected that the evaluation doesn't happen. Especially with e_error()
and e_warning() it is expected, since it's only some special circumstances
where they don't log the output.
Timo Sirainen [Fri, 21 Oct 2022 07:59:13 +0000 (10:59 +0300)]
README.m4: Update contact info
Randolf Richardson [Sat, 15 Oct 2022 00:13:05 +0000 (17:13 -0700)]
README.md: Update http links to https
Martti Rannanjärvi [Wed, 19 Oct 2022 06:26:55 +0000 (09:26 +0300)]
lib-storage: mail-storage-list-index-rebuild - Don't use continue inside T_BEGIN..T_END
Coverity doesn't like using continue there.
Martti Rannanjärvi [Wed, 19 Oct 2022 03:43:00 +0000 (06:43 +0300)]
lib-storage: mailbox_set_index_error() - Fix last_internal_error_mailbox leak
Broken by
0a09f7321f00253dfacd87453462e6c43ea926bf
Markus Valentin [Wed, 12 Oct 2022 11:26:03 +0000 (13:26 +0200)]
imapc: imapc_mailbox_get_status() - Implement STATUS_UNSEEN with INDEXPVT
Aki Tuomi [Wed, 5 Oct 2022 12:42:25 +0000 (15:42 +0300)]
lib-storage: LAYOUT=index rebuild - Fix detecting duplicate mailbox GUIDs in index
Otherwise duplicate folders are not properly cleared out.
Broken in
2fc8d7024bb161aab08031b8212a736301844858
Aki Tuomi [Wed, 5 Oct 2022 12:27:31 +0000 (15:27 +0300)]
lib-storage: LAYOUT=index rebuild - Remove existence check
It's not needed.
Aki Tuomi [Tue, 27 Sep 2022 12:03:37 +0000 (15:03 +0300)]
lib-storage: LAYOUT=index rebuild - Sort mailbox tree before creating
Try to load the mailbox original name already from storage
so we can sort & create the mailbox tree in correct order.
Aki Tuomi [Tue, 27 Sep 2022 10:01:29 +0000 (13:01 +0300)]
lib-storage: LAYOUT=index rebuild - Remove first_list usage
Instead, keep track of the list where box was found.
Aki Tuomi [Wed, 5 Oct 2022 12:15:17 +0000 (15:15 +0300)]
lib-storage: LAYOUT=index rebuild - Remove useless check for LAYOUT=index
This is already done when collecting namespaces.
Simplifies next change.
Aki Tuomi [Wed, 21 Sep 2022 08:14:40 +0000 (11:14 +0300)]
lib-storage: LAYOUT=index rebuild - Fix rebuilds when using multiple namespaces
The old code did not properly populate the mailbox list for each
namespace, but only for the first namespace. This caused mailbox
storage existence checks to always fail.
This applies for LAYOUT=index only.
Broken in
2fc8d7024bb161aab08031b8212a736301844858
Aki Tuomi [Tue, 18 Oct 2022 08:35:22 +0000 (11:35 +0300)]
lib-storage: list - Add separators to mailbox names when decoding from index
Mailbox name header decode did not add separators to name,
producing only FooBarBar, when it was supposed to give
Foo/Bar/Baz.
Broken in
8216a079d8aac93e2537ed79485e301350ff3887
Timo Sirainen [Fri, 14 Oct 2022 07:55:39 +0000 (10:55 +0300)]
lib-storage: Add assert to help scan-build
Timo Sirainen [Fri, 14 Oct 2022 07:53:24 +0000 (10:53 +0300)]
doveadm sis: Fix "Uninitialized argument value" scan-build complaint
The code was a bit ugly in that it didn't set error_r on ENOENT. There was
no bug because the caller did check for this, but scan-build didn't
understand it.
Timo Sirainen [Wed, 15 Jun 2022 09:19:55 +0000 (12:19 +0300)]
dict-redis: Fix crash when using synchronous commit
Redis is usually used via dict proxy process, which always uses async
commit, so this didn't matter so much.
Timo Sirainen [Tue, 11 Oct 2022 08:17:11 +0000 (11:17 +0300)]
lib-storage: Store mailbox names unescaped in box-name header
This header is used when rebuilding mailbox list indexes with LAYOUT=index.
The escape character is currently hardcoded for LAYOUT=index, so this
couldn't have broken anything unless the hardcoded separator was changed.
Still, this was wrong/confusing behavior.
Timo Sirainen [Tue, 11 Oct 2022 08:42:28 +0000 (11:42 +0300)]
lib-storage: Fix memory leak for last error's mailbox
Broken by
0a09f7321f00253dfacd87453462e6c43ea926bf
Timo Sirainen [Fri, 5 Aug 2022 08:19:16 +0000 (11:19 +0300)]
lib-storage: mailbox_get_last_internal_error() - Don't report mailbox prefix
Don't report mailbox prefix anymore unless box vname is different from last
error's one mail_storage_get_last_internal_error() will continue to report
it as previously.
Marco Bettini [Thu, 25 Aug 2022 16:26:50 +0000 (16:26 +0000)]
doveadm: Replace i_<log>() with e_<log>()
client-connection-http
client-connection-tcp
doveadm-auth-server
doveadm-dict
doveadm-fs
doveadm-mailbox-list-iter
doveadm-master
doveadm-mutf7
doveadm-penalty
doveadm-pw
doveadm-replicator
doveadm-stats
doveadm-sys
Marco Bettini [Tue, 30 Aug 2022 13:18:27 +0000 (13:18 +0000)]
doveadm: dsync - Replace i_<log>() with e_<log>()
dsync-brain
dsync-brain-mailbox-tree-sync
dsync-brain-mailbox-tree
dsync-brain-mailbox
dsync-brain-mails
dsync-mailbox-tree-sync
dsync-mailbox
Marco Bettini [Tue, 30 Aug 2022 14:37:34 +0000 (14:37 +0000)]
doveadm: dsync-transaction-log-scan - Replace i_<log>() with e_<log>()
Marco Bettini [Thu, 1 Sep 2022 12:55:25 +0000 (12:55 +0000)]
doveadm: dsync-mailbox-tree-fill - Replace i_<log>() with e_<log>()
Marco Bettini [Wed, 31 Aug 2022 10:50:07 +0000 (10:50 +0000)]
doveadm: dsync-mailbox-import - Replace i_<log>() with e_<log>()
Marco Bettini [Wed, 31 Aug 2022 07:25:32 +0000 (07:25 +0000)]
doveadm: dsync-mailbox-export - Replace i_<log>() with e_<log>()
Marco Bettini [Fri, 26 Aug 2022 13:17:17 +0000 (13:17 +0000)]
doveadm: doveadm-mail-* - Replace i_<log>() with e_<log>()
doveadm-mail
doveadm-mail-altmove
doveadm-mail-copymove
doveadm-mail-deduplicate
doveadm-mail-expunge
doveadm-mail-fetch
doveadm-mail-flags
doveadm-mail-import
doveadm-mail-index
doveadm-mail-iter
doveadm-mail-mailbox
doveadm-mail-mailbox-cache
doveadm-mail-mailbox-metadata
doveadm-mail-mailbox-status
doveadm-mail-save
doveadm-mail-search
doveadm-mail-server
Marco Bettini [Tue, 30 Aug 2022 15:00:26 +0000 (15:00 +0000)]
doveadm: doveadm-who - Replace i_<log>() with e_<log>()
Marco Bettini [Thu, 25 Aug 2022 16:16:25 +0000 (16:16 +0000)]
doveadm: doveadm-sis - Replace i_<log>() with e_<log>()
Marco Bettini [Wed, 31 Aug 2022 08:03:09 +0000 (08:03 +0000)]
doveadm: doveadm-oldstats - Replace i_<log>() with e_<log>()
Marco Bettini [Wed, 31 Aug 2022 08:09:23 +0000 (08:09 +0000)]
doveadm: doveadm-log - Replace i_<log>() with e_<log>()
Marco Bettini [Wed, 31 Aug 2022 08:31:40 +0000 (08:31 +0000)]
doveadm: doveadm-kick - Replace i_<log>() with e_<log>()
Marco Bettini [Wed, 31 Aug 2022 14:13:25 +0000 (14:13 +0000)]
doveadm: doveadm-fs - Replace i_<log>() with e_<log>()
Marco Bettini [Fri, 26 Aug 2022 12:12:20 +0000 (12:12 +0000)]
doveadm: doveadm-cmd-parse - Replace i_<log>() with e_<log>()
Marco Bettini [Wed, 31 Aug 2022 12:39:24 +0000 (12:39 +0000)]
doveadm: doveadm-auth - Replace i_<log>() with e_<log>()
Marco Bettini [Thu, 1 Sep 2022 14:17:10 +0000 (14:17 +0000)]
doveadm: doveadm_cmd_dump APIs - Replace i_<log>() with e_<log>()
Marco Bettini [Wed, 24 Aug 2022 14:48:22 +0000 (14:48 +0000)]
doveadm: Add cmd name as event prefix during cctx->cmd->cmd(cctx) execution
Marco Bettini [Thu, 1 Sep 2022 13:54:34 +0000 (13:54 +0000)]
doveadm: struct doveadm_cmd_dump - Add struct doveadm_cmd_context to test() and cmd() APIs
Marco Bettini [Tue, 30 Aug 2022 13:00:37 +0000 (13:00 +0000)]
doveadm: struct dsync_mailbox_tree_sync_ctx - Add event
Marco Bettini [Thu, 25 Aug 2022 12:03:09 +0000 (12:03 +0000)]
doveadm: struct dsync_mailbox_importer - Add event
Marco Bettini [Thu, 25 Aug 2022 09:38:03 +0000 (09:38 +0000)]
doveadm: struct dsync_brain - Add event
Marco Bettini [Wed, 24 Aug 2022 14:29:22 +0000 (14:29 +0000)]
doveadm: struct doveadm_cmd_context - Add event
Marco Bettini [Thu, 1 Sep 2022 13:13:51 +0000 (13:13 +0000)]
doveadm: struct client_connection - Add event
Marco Bettini [Thu, 25 Aug 2022 10:27:55 +0000 (10:27 +0000)]
doveadm: dsync - Reformat code
Marco Bettini [Thu, 25 Aug 2022 10:24:40 +0000 (10:24 +0000)]
doveadm: Remove stray whitespaces
Marco Bettini [Fri, 10 Jun 2022 09:51:16 +0000 (09:51 +0000)]
plugins: Use designated initializers for fs_vfuncs structs
Marco Bettini [Fri, 10 Jun 2022 09:51:02 +0000 (09:51 +0000)]
lib-fs: Use designated initializers for fs_vfuncs structs
sergey.kitov [Wed, 28 Sep 2022 10:47:44 +0000 (13:47 +0300)]
lib-storage: Whitespace cleanup.
sergey.kitov [Wed, 28 Sep 2022 08:40:20 +0000 (11:40 +0300)]
lib-storage: Fix MAILBOX_LIST_PROP_NO_NOSELECT handling for all layouts
Nowadays NO-NOSELECT is the default. Trying to create e.g. mailbox/ as directory
should be converted to a regular mailbox creation. Otherwise it just gets automatically
deleted again. This already worked for LAYOUT=Maildir++, but not for LAYOUT=fs or LAYOUT=index.
Martti Rannanjärvi [Mon, 2 May 2022 17:44:35 +0000 (20:44 +0300)]
global: Remove director
This is no longer maintained.
Timo Sirainen [Thu, 10 Feb 2022 15:12:09 +0000 (17:12 +0200)]
director: Fix handling auth_master_user_separator setting
It was actually using a separate master_user_separator setting, causing
logins based on auth_master_user_separator to be hashed to wrong backends.
Aki Tuomi [Mon, 3 Oct 2022 15:45:36 +0000 (18:45 +0300)]
lib-dns: dns-lua - Return error correctly
Code was checking wrong place in stack, and thus only returned top of stack.
Check the right place for error.
Broken in
a4e3ea5089400ab2037d3bdd0daa0ed351c1be46
Timo Sirainen [Tue, 27 Sep 2022 11:28:38 +0000 (14:28 +0300)]
doveadm: Fix assert-crash on secondary service_user failures
This mainly affected dsync when imapc authentication failed, but could have
also happened with copy and import commands.
Fixes:
Panic: file lib-event.c: line 506 (event_pop_global): assertion failed: (event == current_global_event)
Timo Sirainen [Wed, 28 Sep 2022 13:21:26 +0000 (16:21 +0300)]
lib-storage: Fix MAIL_STORAGE_SERVICE_FLAG_NO_LOG_INIT to not change log prefix in ioloop context changes
This didn't appear to cause any visible bugs with the current code, but is
required by the next commit.
Broken by
ad13ab0702141065b79a1b7e8f2833e5b93871a4
Stephan Bosch [Sun, 21 Aug 2022 21:29:03 +0000 (23:29 +0200)]
submission: main - Use client event for logging where possible.
Stephan Bosch [Sun, 21 Aug 2022 21:05:21 +0000 (23:05 +0200)]
submission: submission-client - Use client.event for logging.
Stephan Bosch [Sun, 21 Aug 2022 16:09:27 +0000 (18:09 +0200)]
submission-login: client - Change i_warning() to e_warning().
Stephan Bosch [Thu, 27 Dec 2018 21:15:49 +0000 (22:15 +0100)]
submission: submission-backend-relay - Use backend.event for SMTP client connection.
Stephan Bosch [Thu, 25 Aug 2022 07:53:09 +0000 (09:53 +0200)]
submission: submission-backend-relay - Add "relay: " backend event log prefix.
Stephan Bosch [Thu, 25 Aug 2022 07:51:13 +0000 (09:51 +0200)]
submission: submission-backend-relay - Use backend event for logging.
Stephan Bosch [Sun, 21 Aug 2022 17:57:08 +0000 (19:57 +0200)]
submission: submission-backend - Add backend event that descends from client.event.
Stephan Bosch [Sun, 21 Aug 2022 17:32:31 +0000 (19:32 +0200)]
submission: submission-backend-relay - Use container_of().
Stephan Bosch [Sun, 21 Aug 2022 17:20:49 +0000 (19:20 +0200)]
submission: submission-backend-relay - Rename variable backend to rbackend.
Stephan Bosch [Thu, 27 Dec 2018 21:14:01 +0000 (22:14 +0100)]
submission: submission-client - Use client.event for SMTP server connection.
Stephan Bosch [Thu, 27 Dec 2018 21:09:50 +0000 (22:09 +0100)]
submission: submission-client - Add client.event and use it as mail_*user's parent event.
Stephan Bosch [Wed, 24 Aug 2022 17:29:48 +0000 (19:29 +0200)]
lib-smtp: smtp-client-connection - Make sure the client event catergory is always applied.
Timo Sirainen [Wed, 28 Sep 2022 07:25:46 +0000 (10:25 +0300)]
fts: Change "Indexed extra mails internally" info-message to debug level
This wasn't a very useful log message.
Martti Rannanjärvi [Fri, 30 Sep 2022 06:10:55 +0000 (09:10 +0300)]
gitignore: Add missing doc ignores
Aki Tuomi [Fri, 30 Sep 2022 08:14:05 +0000 (11:14 +0300)]
lib-fts: Add and use AM_V_Q
Aki Tuomi [Fri, 30 Sep 2022 07:57:06 +0000 (10:57 +0300)]
configure: Add and use WGET