]>
git.ipfire.org Git - thirdparty/dovecot/core.git/log
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.
Karl Fleischmann [Fri, 15 Jul 2022 12:52:50 +0000 (14:52 +0200)]
imap-zlib: Remove plugin sources
Remove the now unused imap-zlib plugin. The functionality is retained
with the core imap command COMPRESS.
Karl Fleischmann [Fri, 15 Jul 2022 12:46:01 +0000 (14:46 +0200)]
imap: Move imap-zlib plugin functionality into imap core
This commit auto-enables the imap's COMPRESS functionality by copying
the imap-zlib plugin functionality into the imap directory and making it
available as the COMPRESS command.
It also disables compilation of the still existing imap-zlib plugin.
Karl Fleischmann [Thu, 4 Aug 2022 15:14:40 +0000 (17:14 +0200)]
global: Make zlib support required for compilation
As zlib is virtually universally available and with version v3.0 dovecot
will require important libraries by default it makes sense to start
requiring this particular library as well.
Timo Sirainen [Thu, 11 Aug 2022 22:44:00 +0000 (01:44 +0300)]
doveadm: Simplify -A (all-users) parameter handling
Change it to internally work the same way as -u '*'
Timo Sirainen [Thu, 11 Aug 2022 19:19:00 +0000 (22:19 +0300)]
doveadm: Fix -F parameter to work again
Broken by recent parameter handling changes.
Timo Sirainen [Fri, 12 Aug 2022 10:26:12 +0000 (13:26 +0300)]
doveadm: Remove unused doveadm_print_unstick_headers()
Timo Sirainen [Thu, 11 Aug 2022 19:16:03 +0000 (22:16 +0300)]
doveadm: Move username printing from server side to client side
The client requests output for only a single user from the server side, so
it makes sense that the client is the one printing the username.
This also changes sticky headers to be usable only for the username.
Unfortunately it's not easy to remove support for sticky header entirely,
because the username must not be printed before the first proper
doveadm_print() call. For example if "doveadm fetch" doesn't find any
mails, it shouldn't print the username either.
Timo Sirainen [Fri, 12 Aug 2022 05:53:19 +0000 (08:53 +0300)]
doveadm mailbox cache decision: Avoid using sticky header
The following changes makes the sticky headers not work quite so well.
Karl Fleischmann [Thu, 11 Aug 2022 14:36:03 +0000 (16:36 +0200)]
m4: want_mysql.m4 - Remove HAVE_OPENSSL definition when detecting mysql features
The HAVE_OPENSSL macro has no effect on the exposed features when
including mysql.h, thus it can be removed from the feature detection.
Karl Fleischmann [Thu, 11 Aug 2022 14:35:46 +0000 (16:35 +0200)]
lib-http: Remove ifdef-conditions based on HAVE_OPENSSL
This macro was removed in
6b0b7141a8a50ffc99ad51b4f27c75f876e58616 but
the test-specific ifdefs weren't.
Karl Fleischmann [Thu, 11 Aug 2022 14:31:40 +0000 (16:31 +0200)]
lib-smtp: Remove ifdef-conditions based on HAVE_OPENSSL
This macro was removed in
6b0b7141a8a50ffc99ad51b4f27c75f876e58616 but
the test-specific ifdefs weren't.
Timo Sirainen [Mon, 25 Jul 2022 16:26:47 +0000 (19:26 +0300)]
lib-imap-storage, imap: imap_msgpart_url_parse() - Change to return only 0/-1
It was previously never returning -1.
Timo Sirainen [Mon, 25 Jul 2022 16:21:44 +0000 (19:21 +0300)]
lib-imap-urlauth: Cleanup - Remove unnecessary ret assignment
Timo Sirainen [Mon, 25 Jul 2022 16:19:32 +0000 (19:19 +0300)]
lib-imap-storage: imap_msgpart_url_parse() - Fix return value for client errors
If imap_msgpart_url_create() fails, it's always due to invalid client input
rather than due to a storage error.
Timo Sirainen [Mon, 25 Jul 2022 16:18:16 +0000 (19:18 +0300)]
imap: If CATENATE processing stops, skip the rest of the command line
This fixes sending duplicate tagged reply or "Invalid tag" reply.
Timo Sirainen [Mon, 25 Jul 2022 16:17:49 +0000 (19:17 +0300)]
imap: APPEND - Fix CATENATE error message when URL/TEXT is missing the string
Timo Sirainen [Mon, 25 Jul 2022 16:14:33 +0000 (19:14 +0300)]
imap: APPEND - Fix crash if CATENATE list ends with URL atom but without the URL string
Timo Sirainen [Mon, 25 Jul 2022 16:47:34 +0000 (19:47 +0300)]
lib-index: Makefile.am - Fix double-linking of mail-index-util.o
This fixes linking with slibtool.
Timo Sirainen [Tue, 9 Aug 2022 08:09:26 +0000 (11:09 +0300)]
fts: Fix crash in expunge log event handling
fts_expunge_log_flat_write() was trying to access ->log->event, but the
read_log parameter was created by fts_expunge_log_flatten(), which leaves
the log NULL.
Broken by
0588f98a337c17de67dabea52fde20e1a0640fc3
Markus Valentin [Wed, 27 Jul 2022 13:42:58 +0000 (15:42 +0200)]
imapc: imapc_connection_init() - Call event_set_append_log_prefix()
Update logging calls accordingly.
Markus Valentin [Wed, 27 Jul 2022 13:28:16 +0000 (15:28 +0200)]
imapc: Introduce imapc_connection specific event
Markus Valentin [Fri, 5 Aug 2022 12:07:06 +0000 (14:07 +0200)]
imapc: imapc_client_init() - Add event_set_forced_debug() call
Marco Bettini [Tue, 12 Jul 2022 08:51:27 +0000 (08:51 +0000)]
plugins: zlib - Replace i_<log>() with e_<log>()
Marco Bettini [Tue, 12 Jul 2022 12:16:54 +0000 (12:16 +0000)]
plugins: welcome - Replace i_<log>() with e_<log>()
Marco Bettini [Tue, 12 Jul 2022 08:51:57 +0000 (08:51 +0000)]
plugins: virtual - Replace i_<log>() with e_<log>()
Marco Bettini [Thu, 7 Jul 2022 14:00:29 +0000 (14:00 +0000)]
plugins: trash - Replace i_<log>() with e_<log>()
Marco Bettini [Tue, 26 Jul 2022 10:25:48 +0000 (10:25 +0000)]
plugins: replication - Replace i_<log>() with e_<log>()
Marco Bettini [Tue, 26 Jul 2022 10:23:37 +0000 (10:23 +0000)]
plugins: replication_fifo_notify() - Unnest return checks
Marco Bettini [Tue, 12 Jul 2022 09:12:17 +0000 (09:12 +0000)]
plugins: quota - Replace i_<log>() with e_<log>()
Marco Bettini [Tue, 12 Jul 2022 09:39:21 +0000 (09:39 +0000)]
plugins: pop3-migration - Replace i_<log>() with e_<log>()
Marco Bettini [Tue, 12 Jul 2022 10:30:52 +0000 (10:30 +0000)]
plugins: notify-status - Replace i_<log>() with e_<log>()
Marco Bettini [Tue, 12 Jul 2022 09:52:59 +0000 (09:52 +0000)]
plugins: mail-log - Replace i_<log>() with e_<log>()
Marco Bettini [Mon, 1 Aug 2022 09:28:09 +0000 (09:28 +0000)]
plugins: mail-log - Drop MAIL_LOG_FIELD_BOX from MAIL_LOG_DEFAULT_FIELDS
the prefix is now already injected in box->event, so adding it here too becomes redundant
Marco Bettini [Thu, 7 Jul 2022 14:21:38 +0000 (14:21 +0000)]
plugins: mail-crypt - Replace i_debug() with e_debug()
Marco Bettini [Tue, 12 Jul 2022 10:09:10 +0000 (10:09 +0000)]
plugins: last-login - Replace i_<log>() with e_<log>()
Marco Bettini [Tue, 12 Jul 2022 10:43:24 +0000 (10:43 +0000)]
plugins: imap-zlib - Replace i_<log>() with e_<log>()
Marco Bettini [Tue, 12 Jul 2022 10:08:56 +0000 (10:08 +0000)]
plugins: imap-quota - Replace i_<log>() with e_<log>()
Marco Bettini [Tue, 12 Jul 2022 10:09:40 +0000 (10:09 +0000)]
plugins: fts-solr - Replace i_<log>() with e_<log>()
Marco Bettini [Tue, 12 Jul 2022 10:09:24 +0000 (10:09 +0000)]
plugins: fts - Replace i_<log>() with e_<log>()
Marco Bettini [Wed, 27 Jul 2022 14:55:09 +0000 (14:55 +0000)]
plugins: fts - Pass event into fts_indexer_cmd