]>
git.ipfire.org Git - thirdparty/dovecot/core.git/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
Aki Tuomi [Thu, 29 Sep 2022 08:52:12 +0000 (11:52 +0300)]
doc: Only build venv when needed
Aki Tuomi [Thu, 29 Sep 2022 08:50:48 +0000 (11:50 +0300)]
doc: Build and install documentation only when asked for
Aki Tuomi [Thu, 29 Sep 2022 08:50:16 +0000 (11:50 +0300)]
doc: Always install DOCDIRS
Otherwise example-config is not installed.
Martti Rannanjärvi [Wed, 28 Sep 2022 12:18:49 +0000 (15:18 +0300)]
doc: Makefile.am - Fix multiline shell snippets
Aki Tuomi [Thu, 22 Sep 2022 07:01:49 +0000 (10:01 +0300)]
doc: Ensure target installation directory exists
Aki Tuomi [Mon, 5 Sep 2022 07:16:41 +0000 (10:16 +0300)]
man: Use wildcard rule to match all man pages
Aki Tuomi [Mon, 5 Sep 2022 06:55:53 +0000 (09:55 +0300)]
doc: Add rebuild target
Aki Tuomi [Mon, 5 Sep 2022 06:51:43 +0000 (09:51 +0300)]
man: Add rebuild target to remove dynamically built man pages
Aki Tuomi [Mon, 5 Sep 2022 06:50:57 +0000 (09:50 +0300)]
man: Include generated man pages in dist
They are generated from sphinx docs during dist-build so we
should ship them.
Aki Tuomi [Mon, 5 Sep 2022 06:49:46 +0000 (09:49 +0300)]
man: Delete generated pages
Aki Tuomi [Mon, 5 Sep 2022 06:59:59 +0000 (09:59 +0300)]
doc: Build man pages from sphinx docs
Aki Tuomi [Wed, 28 Sep 2022 10:26:02 +0000 (13:26 +0300)]
doc: Fix Makefile.am formatting
Aki Tuomi [Mon, 5 Sep 2022 06:54:48 +0000 (09:54 +0300)]
doc: Install python-wheel when making venv
Sphinx installation requires wheel.
Aki Tuomi [Wed, 28 Sep 2022 09:17:19 +0000 (12:17 +0300)]
lib: Add and use AM_V_Q
This silences output if verbose output is not desired.
Aki Tuomi [Mon, 5 Sep 2022 06:53:50 +0000 (09:53 +0300)]
doc: Add and use AM_V_Q
This silences output if verbose output is not desired.
Aki Tuomi [Mon, 5 Sep 2022 06:52:24 +0000 (09:52 +0300)]
doc: Build documentation before using it
Descend into subdirs after content is generated
Martti Rannanjärvi [Thu, 22 Sep 2022 03:15:00 +0000 (06:15 +0300)]
lib: str-sanitize - Use iscntrl() to find control characters
The check for value < 32 lets DEL through
sergey.kitov [Thu, 1 Sep 2022 09:13:40 +0000 (12:13 +0300)]
lib-index: Add unit test for attempts to duplicate fields in cache.
sergey.kitov [Thu, 25 Aug 2022 07:28:25 +0000 (10:28 +0300)]
lib-index: Add check if cache field can be added in mail_cache_add().
Without this check same field could be added twice.
sergey.kitov [Thu, 1 Sep 2022 13:26:34 +0000 (16:26 +0300)]
lib-index: Avoid adding duplicate fields in cache unit tests.
sergey.kitov [Thu, 1 Sep 2022 08:06:08 +0000 (11:06 +0300)]
lib-index: Make mail_cache_field_can_add() allowing to add existing fields of type MAIL_CACHE_FIELD_BITMASK.
sergey.kitov [Thu, 25 Aug 2022 08:38:02 +0000 (11:38 +0300)]
lib-index: Whitespace cleanup.
sergey.kitov [Thu, 18 Aug 2022 14:28:27 +0000 (17:28 +0300)]
plugins/quota: Avoid calling quota_get_mail_size() twice in quota_try_alloc()
Aki Tuomi [Mon, 5 Sep 2022 10:46:24 +0000 (13:46 +0300)]
build-aux/git-version-gen: Suppress output when in dirty state
In middle of merge conflict, git-update-index can output warnings.
Suppress those.
Marco Bettini [Mon, 19 Sep 2022 09:30:54 +0000 (09:30 +0000)]
lib-sql: driver-cassandra - Use container_of()
Marco Bettini [Fri, 9 Sep 2022 13:34:25 +0000 (13:34 +0000)]
lib-sql: driver_cassandra_connect() - Use cass_session_connect() instead of cass_session_connect_keyspace()
Marco Bettini [Fri, 9 Sep 2022 13:26:40 +0000 (13:26 +0000)]
lib-dict-backend: Use qualifiers for table names when available from the driver
Marco Bettini [Thu, 8 Sep 2022 14:18:03 +0000 (14:18 +0000)]
lib-sql: Add api to retrieve table names qualifiers from the driver (keyspaces, for Cassandra)
Marco Bettini [Thu, 8 Sep 2022 09:24:59 +0000 (09:24 +0000)]
lib-sql: driver-cassandra - Use designated initializers for struct sql_result_vfuncs
Marco Bettini [Wed, 7 Sep 2022 13:59:11 +0000 (13:59 +0000)]
doveadm: Fix timezone handling in doveadm fetch date.sent
Markus Valentin [Tue, 9 Aug 2022 07:12:29 +0000 (09:12 +0200)]
lib-doveadm: doveadm_client_extract() - Unset flush callback when extracting
Markus Valentin [Wed, 27 Jul 2022 09:01:40 +0000 (11:01 +0200)]
lib-doveadm: Add DOVEADM_EX_EXPIRED
Aki Tuomi [Mon, 5 Sep 2022 10:06:57 +0000 (13:06 +0300)]
quota: quota-fs - Cast host to char in clnt_create
The API expects char, not const char.
Aki Tuomi [Mon, 15 Aug 2022 07:16:48 +0000 (10:16 +0300)]
doveadm: doveadm-mail - Always perform userdb lookup
Aki Tuomi [Mon, 15 Aug 2022 07:16:08 +0000 (10:16 +0300)]
doveadm: doveadm-mail - Require user, user-file or all-users option in mail commands
Aki Tuomi [Mon, 15 Aug 2022 07:15:09 +0000 (10:15 +0300)]
doveadm: doveadm-mail - Reorder code in doveadm_cmdv2_wrapper_parse_common_options
Simplifies next change.
Aki Tuomi [Thu, 25 Aug 2022 07:17:32 +0000 (10:17 +0300)]
login-common: Make login_proxy_free(&NULL) no-op
Fixes segfault when proxying loops.
Broken in
a1acd71cf65e6a6b92a6bdd1c1a5479f24d4aa35
Timo Sirainen [Tue, 23 Aug 2022 10:27:53 +0000 (13:27 +0300)]
doveadm: SIGINT, SIGTERM handling - Stop service ioloop only during master_service_run()
This fixes random doveadm failures when hitting Ctrl-C.
Aki Tuomi [Wed, 24 Aug 2022 10:35:41 +0000 (13:35 +0300)]
auth: auth-policy - Include fail_type by default
Aki Tuomi [Wed, 24 Aug 2022 10:32:44 +0000 (13:32 +0300)]
auth: auth-policy - Add new variable fail_type
This variables indicates reason why the request has failed:
The values are:
- internal = Failure was due to dovecot internal processing
- credentials = Invalid credentials were provided
- expired = Credentials or user account has expired
- account = Account is unknown
- disabled = Account is disabled
- policy = Failure was due to policy refusal
Aki Tuomi [Thu, 25 Aug 2022 06:20:40 +0000 (09:20 +0300)]
doc/example-config: Document submissions/465 for submission-login
Aki Tuomi [Wed, 24 Aug 2022 07:18:46 +0000 (10:18 +0300)]
auth: db-dict - Sanitize lookup results before debug logging them
Avoids leaking newlines and such to logs.
Aki Tuomi [Fri, 19 Aug 2022 13:26:23 +0000 (16:26 +0300)]
auth: db-dict - Drop obsolete settings
They have been obsolete long enough
Aki Tuomi [Wed, 10 Aug 2022 12:13:43 +0000 (15:13 +0300)]
doveadm: doveadm-mail - Optimize user-file handling
Do not pointlessly list all users when handling user-file, only
with all users or if there is a mask.
Karl Fleischmann [Fri, 8 Jul 2022 08:25:15 +0000 (10:25 +0200)]
global: Rename plugin/zlib -> plugin/mail-compress in comments
Karl Fleischmann [Fri, 8 Jul 2022 08:24:34 +0000 (10:24 +0200)]
plugins/mail-compress: Change message prefix zlib -> mail-compress
Karl Fleischmann [Fri, 8 Jul 2022 08:24:03 +0000 (10:24 +0200)]
plugins/mail-compress: Rename configuration items zlib -> mail-compress
Karl Fleischmann [Fri, 8 Jul 2022 08:21:47 +0000 (10:21 +0200)]
plugins/mail-compress: Internally rename zlib -> mail-compress
Karl Fleischmann [Fri, 8 Jul 2022 08:15:45 +0000 (10:15 +0200)]
plugins: Rename plugins/zlib -> plugins/mail-compress
This commit renames the plugin without changing any of the configuration
items or internal function naming.
Karl Fleischmann [Thu, 11 Aug 2022 11:09:38 +0000 (13:09 +0200)]
doveadm dump: Rename type imapzlib -> imap-compress
Karl Fleischmann [Thu, 11 Aug 2022 11:09:04 +0000 (13:09 +0200)]
doveadm: Rename zlibconnect cmd -> compress-connect
Karl Fleischmann [Thu, 11 Aug 2022 11:02:13 +0000 (13:02 +0200)]
doveadm/doveadm-compress: Rename from doveadm-zlib
This commit renames the file without changing any of the public
interfaces.
Karl Fleischmann [Thu, 11 Aug 2022 09:40:23 +0000 (11:40 +0200)]
imap/cmd-compress: Fix output stats calculation by retaining the offset
Karl Fleischmann [Wed, 3 Aug 2022 12:53:36 +0000 (14:53 +0200)]
imap: Handle rawlogs when starting a compressed communication
The rawlogs should not contain compressed data when starting a
compressed communication channel. This commit amends rawlog management
data on the imap client to keep track of rawlog streams, and
appropriately handle rawlogs when imap compression is enabled.
Karl Fleischmann [Mon, 25 Jul 2022 06:36:22 +0000 (08:36 +0200)]
doveadm-zlib: Retrieve error from deflated stream
Karl Fleischmann [Wed, 20 Jul 2022 14:44:23 +0000 (16:44 +0200)]
imap: Remove imap_compress_deflate_level setting
It was decided that the default compression level is good enough for
most purposes and thus to remove the configuration option.