]>
git.ipfire.org Git - thirdparty/dovecot/core.git/log
Aki Tuomi [Mon, 20 Nov 2017 11:40:03 +0000 (13:40 +0200)]
lib-storage: mailbox-list-iter - Refresh subscriptions before setting flags
This happens when list patterns match the namespace prefix,
but mailbox_list_ns_match_patterns() returns FALSE. And one of the ways for
that to happen is if namespace has alias_for set.
Aki Tuomi [Mon, 20 Nov 2017 08:40:52 +0000 (10:40 +0200)]
lib-storage: mailbox-tree - Ensure tree is not NULL
Stephan Bosch [Mon, 6 Nov 2017 20:54:00 +0000 (21:54 +0100)]
lmtp: Changed message data handling to use iostream-temp.
The existing code predates iostream-temp.
Stephan Bosch [Mon, 9 Oct 2017 23:04:50 +0000 (01:04 +0200)]
lmtp: Removed structural comments that are now useless.
Stephan Bosch [Mon, 9 Oct 2017 23:03:02 +0000 (01:03 +0200)]
lmtp: client: Made client_remote_id() static.
Stephan Bosch [Wed, 23 Nov 2016 09:43:53 +0000 (10:43 +0100)]
lmtp: Ported to use lib-smtp/server.
Implicitly fixes handling of multi-line replies from proxy backend.
Implicitly adds support for mixing local and proxy recipients.
Implicitly adds support for SMTP CHUNKING.
RCPT failures are reported back to the client immediately, rather than waiting for the DATA command.
Stephan Bosch [Sat, 11 Nov 2017 09:20:05 +0000 (10:20 +0100)]
lib-smtp: Created test-smtp-server-errors, which tests the server's error handling.
Stephan Bosch [Sat, 11 Nov 2017 09:30:14 +0000 (10:30 +0100)]
lib-smtp: Created test-smtp-payload, which tests client<->server payload exchange.
Stephan Bosch [Sun, 6 Nov 2016 21:46:31 +0000 (22:46 +0100)]
lib-smtp: Implemented SMTP server.
Stephan Bosch [Sun, 6 Nov 2016 21:36:57 +0000 (22:36 +0100)]
lib-smtp: Implemented SMTP command parser.
Stephan Bosch [Sun, 19 Nov 2017 21:57:12 +0000 (22:57 +0100)]
lib: istream-failure-at: Allow setting the the stream_errno to something other than EIO.
Stephan Bosch [Tue, 31 Oct 2017 00:12:44 +0000 (01:12 +0100)]
lmtp: proxy: Restructured proxy so that it has direct access to struct client.
This avoids the hassle of initializing using struct lmtp_proxy_settings and uselessly reallocating stuff that is already persisted in struct client.
Moved the proxy from alloconly pool to default pool in the process.
The amount of allocated stuff will diminish further in subsequent commits.
Stephan Bosch [Mon, 30 Oct 2017 22:28:35 +0000 (23:28 +0100)]
lmtp: proxy: Renamed pool to auth_pool in lmtp_proxy_rcpt() for clarity.
Stephan Bosch [Mon, 30 Oct 2017 20:09:25 +0000 (21:09 +0100)]
lmtp: proxy: Made struct lmtp_proxy_rcpt_settings private.
Stephan Bosch [Mon, 30 Oct 2017 19:50:28 +0000 (20:50 +0100)]
lmtp: proxy: Merged lmtp_proxy_add_rcpt() into lmtp_proxy_rcpt().
Stephan Bosch [Mon, 30 Oct 2017 19:44:09 +0000 (20:44 +0100)]
lmtp: proxy: Made lmtp_proxy_mail_from() private.
Stephan Bosch [Mon, 30 Oct 2017 19:41:03 +0000 (20:41 +0100)]
lmtp: proxy: Made lmtp_proxy_init() private.
Stephan Bosch [Mon, 30 Oct 2017 00:24:37 +0000 (01:24 +0100)]
lmtp: commands: Created local variable for client->dot_input in client_input_data_handle().
Stephan Bosch [Mon, 30 Oct 2017 00:19:18 +0000 (01:19 +0100)]
lmtp: commands: Renamed client_input_add() to cmd_data_input_add().
Stephan Bosch [Mon, 30 Oct 2017 00:17:21 +0000 (01:17 +0100)]
lmtp: commands: Renamed client_input_add_file() to cmd_data_input_add_file().
Stephan Bosch [Mon, 30 Oct 2017 00:13:33 +0000 (01:13 +0100)]
lmtp: commands: Renamed client_get_input() to cmd_data_get_input().
Stephan Bosch [Sun, 22 Oct 2017 22:36:16 +0000 (00:36 +0200)]
lmtp: local: Renamed error variables in lmtp_local_rcpt_check_quota() to match other code.
Stephan Bosch [Mon, 30 Oct 2017 01:00:38 +0000 (02:00 +0100)]
lmtp: local: Allocate recipients on the default pool, rather than the client state pool.
This prevents the pool from growing potentially indefinitely with failed recipients.
Stephan Bosch [Sun, 22 Oct 2017 21:29:21 +0000 (23:29 +0200)]
lmtp: Split off local delivery in a struct separate from the client.
This mimics proxy delivery, making the implementation better structured.
Stephan Bosch [Sun, 26 Nov 2017 20:29:10 +0000 (21:29 +0100)]
lmtp: local: Renamed local variable "dest_user" to "rcpt_user" in lmtp_local_deliver().
This matches the rcpt_user field in struct mail_deliver_context.
Stephan Bosch [Tue, 19 Sep 2017 01:56:39 +0000 (03:56 +0200)]
lmtp: local: Created local variable for service_user in lmtp_local_deliver().
Stephan Bosch [Tue, 19 Sep 2017 01:53:45 +0000 (03:53 +0200)]
lmtp: local: Renamed trans variable in lmtp_local_open_raw_mail().
Preparation for new trans parameter.
Stephan Bosch [Tue, 19 Sep 2017 01:33:12 +0000 (03:33 +0200)]
lmtp: local: Renamed client_deliver_to_rcpts() to lmtp_local_deliver_to_rcpts().
Stephan Bosch [Tue, 19 Sep 2017 00:07:22 +0000 (02:07 +0200)]
lmtp: client: Dropped useless rcpt_idx state.
Recent refactoring made it obsolete.
Stephan Bosch [Mon, 18 Sep 2017 22:29:02 +0000 (00:29 +0200)]
lmtp: local: Always handle sending of error replies inside lmtp_rcpt_to_is_over_quota().
Code was confusing.
Stephan Bosch [Tue, 19 Sep 2017 01:40:56 +0000 (03:40 +0200)]
lmtp: local: Renamed cmd_rcpt_finish() to lmtp_local_rcpt_anvil_finish().
Stephan Bosch [Tue, 19 Sep 2017 01:29:03 +0000 (03:29 +0200)]
lmtp: local: Renamed rcpt_anvil_lookup_callback() to lmtp_local_rcpt_anvil_cb().
Stephan Bosch [Mon, 18 Sep 2017 21:16:21 +0000 (23:16 +0200)]
lmtp: commands: Moved RCPT command handling relating to local recipients to lmtp-local.c.
Stephan Bosch [Mon, 18 Sep 2017 20:51:30 +0000 (22:51 +0200)]
lmtp: client: Moved recipient deinitialization to lmtp-local.c.
Stephan Bosch [Tue, 19 Sep 2017 01:21:39 +0000 (03:21 +0200)]
lmtp: local: Renamed lmtp_rcpt_to_is_over_quota() to lmtp_local_rcpt_check_quota().
Stephan Bosch [Mon, 18 Sep 2017 23:33:28 +0000 (01:33 +0200)]
lmtp: local: Renamed client_input_data_write_local() to lmtp_local_data().
Stephan Bosch [Mon, 18 Sep 2017 23:07:17 +0000 (01:07 +0200)]
lmtp: local: Renamed client_open_raw_mail() to lmtp_local_open_raw_mail().
Stephan Bosch [Mon, 18 Sep 2017 22:59:27 +0000 (00:59 +0200)]
lmtp: local: Renamed client_deliver() to lmtp_local_deliver().
Stephan Bosch [Mon, 18 Sep 2017 20:40:41 +0000 (22:40 +0200)]
lmtp: local: Renamed client_rcpt_anvil_disconnect() to lmtp_local_rcpt_anvil_disconnect().
Stephan Bosch [Mon, 30 Oct 2017 22:06:50 +0000 (23:06 +0100)]
lmtp: proxy: Changed return type of lmtp_proxy_rcpt() from bool to int.
Stephan Bosch [Mon, 18 Sep 2017 20:32:43 +0000 (22:32 +0200)]
lmtp: proxy: Renamed client_proxy_rcpt() to lmtp_proxy_rcpt().
Stephan Bosch [Mon, 18 Sep 2017 20:29:29 +0000 (22:29 +0200)]
lmtp: proxy: Renamed client_proxy_is_ourself() to lmtp_proxy_is_ourself().
Stephan Bosch [Mon, 18 Sep 2017 20:27:41 +0000 (22:27 +0200)]
lmtp: proxy: Renamed client_proxy_rcpt_parse_fields() to lmtp_proxy_rcpt_parse_fields().
Stephan Bosch [Mon, 18 Sep 2017 20:04:58 +0000 (22:04 +0200)]
lmtp: Renamed struct mail_recipient to struct lmtp_recipient.
Stephan Bosch [Tue, 31 Oct 2017 01:37:40 +0000 (02:37 +0100)]
lmtp: proxy: Added structural comments.
Stephan Bosch [Mon, 18 Sep 2017 19:14:05 +0000 (21:14 +0200)]
lmtp: local: Added structural comments.
Stephan Bosch [Sun, 17 Sep 2017 12:28:33 +0000 (14:28 +0200)]
lmtp: commands: Added structural comments.
Stephan Bosch [Wed, 23 Nov 2016 09:43:53 +0000 (10:43 +0100)]
lmtp: proxy: Removed dns_client_socket_path from struct lmtp_proxy_settings.
It is globally accessible.
Stephan Bosch [Mon, 9 Oct 2017 22:36:37 +0000 (00:36 +0200)]
lmtp: client: Moved soon-to-be-obsolete output handling functions to end of the file.
Stephan Bosch [Sun, 17 Sep 2017 17:03:06 +0000 (19:03 +0200)]
lmtp: client: Moved soon-to-be-obsolete input handling functions to end of the file.
Stephan Bosch [Sun, 17 Sep 2017 16:39:08 +0000 (18:39 +0200)]
lmtp: client: Moved client_state_reset().
Stephan Bosch [Tue, 31 Oct 2017 01:20:44 +0000 (02:20 +0100)]
lmtp: proxy: Moved lmtp_proxy_connection_finish().
Stephan Bosch [Wed, 23 Nov 2016 09:58:02 +0000 (10:58 +0100)]
lmtp: proxy: Moved lmtp_proxy_rcpt_cb().
Stephan Bosch [Tue, 31 Oct 2017 01:29:54 +0000 (02:29 +0100)]
lmtp: proxy: Moved lmtp_proxy_add_rcpt().
Stephan Bosch [Tue, 31 Oct 2017 01:27:47 +0000 (02:27 +0100)]
lmtp: proxy: Moved lmtp_proxy_data_cb().
Stephan Bosch [Tue, 31 Oct 2017 01:26:12 +0000 (02:26 +0100)]
lmtp: proxy: Moved lmtp_proxy_data_dummy_cb().
Stephan Bosch [Sun, 6 Nov 2016 16:34:25 +0000 (17:34 +0100)]
lmtp: Moved code relating to proxy from commands.c to lmtp-proxy.c.
Stephan Bosch [Sun, 17 Sep 2017 09:40:53 +0000 (11:40 +0200)]
lmtp: Moved client_input_data_write_local() from commands.c to lmtp-local.c.
Stephan Bosch [Sun, 17 Sep 2017 09:13:17 +0000 (11:13 +0200)]
lmtp: Moved client_open_raw_mail() from commands.c to lmtp-local.c.
Stephan Bosch [Mon, 18 Sep 2017 21:48:51 +0000 (23:48 +0200)]
lmtp: Moved client_rcpt_fail_all() from commands.c to lmtp-local.c.
Stephan Bosch [Sun, 17 Sep 2017 08:52:43 +0000 (10:52 +0200)]
lmtp: Moved client_deliver_to_rcpts() from commands.c to lmtp-local.c.
Stephan Bosch [Sun, 17 Sep 2017 08:29:15 +0000 (10:29 +0200)]
lmtp: Moved client_deliver() from commands.c to lmtp-local.c.
Stephan Bosch [Sun, 17 Sep 2017 00:57:29 +0000 (02:57 +0200)]
lmtp: Moved rcpt_anvil_lookup_callback() from commands.c to lmtp-local.c.
Stephan Bosch [Sun, 17 Sep 2017 00:11:58 +0000 (02:11 +0200)]
lmtp: Moved cmd_rcpt_finish() from commands.c to lmtp-local.c.
Stephan Bosch [Sat, 16 Sep 2017 22:07:34 +0000 (00:07 +0200)]
lmtp: Moved client_rcpt_anvil_disconnect() from client.c to lmtp-local.c.
Stephan Bosch [Wed, 23 Nov 2016 09:22:21 +0000 (10:22 +0100)]
lmtp: Moved lmtp_anvil_init() from commands.c to main.c.
It fits better there.
Stephan Bosch [Tue, 10 Oct 2017 00:53:56 +0000 (02:53 +0200)]
lmtp: client: Use client_remote_id() to construct proctitle.
Stephan Bosch [Mon, 9 Oct 2017 22:19:02 +0000 (00:19 +0200)]
lmtp: client: Moved client_remote_id().
Stephan Bosch [Tue, 10 Oct 2017 00:36:34 +0000 (02:36 +0200)]
lmtp: client: Restructured client_state_set() to match imap_refresh_proctitle().
Stephan Bosch [Tue, 10 Oct 2017 00:21:34 +0000 (02:21 +0200)]
lmtp: client: Restructured handling of verbose_proctitle setting.
Stephan Bosch [Tue, 5 Dec 2017 13:49:17 +0000 (14:49 +0100)]
lib-smtp: common: Added support for having custom fields in struct smtp_proxy_data.
Aki Tuomi [Mon, 4 Dec 2017 09:01:31 +0000 (11:01 +0200)]
pop3: Include mail user variables in logout format
Aki Tuomi [Mon, 4 Dec 2017 09:01:05 +0000 (11:01 +0200)]
imap: Include mail user variables in logout format
Aki Tuomi [Tue, 5 Dec 2017 21:49:27 +0000 (23:49 +0200)]
lib: var-expand - Add table size and merge utility functions
Stephan Bosch [Thu, 7 Dec 2017 00:44:56 +0000 (01:44 +0100)]
lib-http: test-http-payload: Added tests for running multiple clients in parallel with shared context.
Stephan Bosch [Wed, 6 Dec 2017 22:43:18 +0000 (23:43 +0100)]
lib-http: test-http-payload: Added support for running multiple parallel clients.
Stephan Bosch [Sun, 18 Dec 2016 18:45:32 +0000 (19:45 +0100)]
lib-http: client: Amended the top comment explaining the structure of the HTTP client.
Stephan Bosch [Sun, 4 Dec 2016 20:54:02 +0000 (21:54 +0100)]
lib-http: client: Added identifier to client log messages.
Stephan Bosch [Wed, 27 Sep 2017 17:21:40 +0000 (19:21 +0200)]
lib-http: test-http-client: Run several clients simultaneously.
Stephan Bosch [Wed, 27 Sep 2017 17:21:24 +0000 (19:21 +0200)]
lib-http: client: shared context: Allow sharing peer state between clients.
Stephan Bosch [Sun, 18 Dec 2016 18:27:05 +0000 (19:27 +0100)]
lib-http: client: peer: Moved http_client_peer_reset_backoff_timer() function.
This is a preparation for a subsequent change.
Stephan Bosch [Sun, 18 Dec 2016 18:16:31 +0000 (19:16 +0100)]
lib-http: client: peer: Moved http_client_peer_increase_backoff_timer() function.
This is a preparation for a subsequent change.
Stephan Bosch [Sun, 18 Dec 2016 18:15:04 +0000 (19:15 +0100)]
lib-http: client: peer: Moved http_client_peer_start_backoff_timer() function.
This is a preparation for a subsequent change.
Stephan Bosch [Sun, 18 Dec 2016 18:13:00 +0000 (19:13 +0100)]
lib-http: client: peer: Moved http_client_peer_connect_backoff() function.
This is a preparation for a subsequent change.
Stephan Bosch [Sun, 4 Dec 2016 23:37:27 +0000 (00:37 +0100)]
lib-http: client: peer: Moved http_client_peer_get() function.
This is a preparation for a subsequent change.
Stephan Bosch [Sun, 18 Dec 2016 17:50:31 +0000 (18:50 +0100)]
lib-http: client: peer: Moved http_client_peer_drop() function.
This is a preparation for a subsequent change.
Stephan Bosch [Sun, 18 Dec 2016 17:46:01 +0000 (18:46 +0100)]
lib-http: client: peer: Moved http_client_peer_close() function.
This is a preparation for a subsequent change.
Stephan Bosch [Sun, 18 Dec 2016 17:44:05 +0000 (18:44 +0100)]
lib-http: client: peer: Moved http_client_peer_unref() function.
This is a preparation for a subsequent change.
Stephan Bosch [Sun, 18 Dec 2016 17:42:50 +0000 (18:42 +0100)]
lib-http: client: peer: Moved http_client_peer_ref() function.
This is a preparation for a subsequent change.
Stephan Bosch [Sun, 18 Dec 2016 17:41:37 +0000 (18:41 +0100)]
lib-http: client: peer: Moved http_client_peer_disconnect() function.
This is a preparation for a subsequent change.
Stephan Bosch [Sun, 18 Dec 2016 17:40:19 +0000 (18:40 +0100)]
lib-http: client: peer: Moved http_client_peer_create() function.
This is a preparation for a subsequent change.
Stephan Bosch [Sat, 3 Dec 2016 23:11:46 +0000 (00:11 +0100)]
lib-http: client: shared context: Allow sharing host lookups between clients.
Stephan Bosch [Sun, 4 Dec 2016 11:51:02 +0000 (12:51 +0100)]
lib-http: client: host: Moved http_client_host_submit_request() function.
This is a preparation for a subsequent change.
Stephan Bosch [Sun, 4 Dec 2016 11:40:29 +0000 (12:40 +0100)]
lib-http: client: host: Moved http_client_host_check_idle() function.
This is a preparation for a subsequent change.
Stephan Bosch [Wed, 30 Nov 2016 01:04:11 +0000 (02:04 +0100)]
lib-http: client: Avoid direct access to host object members from queue.
Stephan Bosch [Tue, 29 Nov 2016 18:29:25 +0000 (19:29 +0100)]
lib-http: client: Moved connection pool handling from peer to separate object.
Stephan Bosch [Tue, 29 Nov 2016 17:13:30 +0000 (18:13 +0100)]
lib-http: client: Moved connection list from client to shared context.
Stephan Bosch [Tue, 29 Nov 2016 15:17:59 +0000 (16:17 +0100)]
lib-http: client: Created basic shared context between clients.
In this basic form it only shares default settings.
Stephan Bosch [Sun, 4 Dec 2016 18:35:30 +0000 (19:35 +0100)]
lib-http: client: Cosmetic changes to http-client-private.h.
Stephan Bosch [Sun, 4 Dec 2016 15:00:49 +0000 (16:00 +0100)]
lib-http: client: Simplified initiation of connection setup upon request submission.