]>
git.ipfire.org Git - thirdparty/dovecot/core.git/log
Timo Sirainen [Wed, 12 Jun 2019 07:58:37 +0000 (10:58 +0300)]
lib-storage: Sync mailbox after autoexpunging
This actually finishes expunging the mails. Previously the mails were
just marked to be expunged in the transaction log, and the next session
that opened the mailbox finished the expunging.
Stephan Bosch [Wed, 13 Feb 2019 23:21:16 +0000 (00:21 +0100)]
lmtp: Replace i_info() with e_info().
Stephan Bosch [Wed, 13 Feb 2019 23:17:20 +0000 (00:17 +0100)]
lmtp: Replace i_error() with e_error().
Stephan Bosch [Thu, 27 Dec 2018 21:39:20 +0000 (22:39 +0100)]
lmtp: proxy: Use client.event for SMTP client connection.
Stephan Bosch [Thu, 27 Dec 2018 21:37:40 +0000 (22:37 +0100)]
lmtp: local: Use rcpt.event as mail_*user's parent event.
Stephan Bosch [Wed, 13 Feb 2019 23:36:41 +0000 (00:36 +0100)]
lmtp: Add username to recipient event.
Stephan Bosch [Thu, 27 Dec 2018 21:32:01 +0000 (22:32 +0100)]
lmtp: Add client.event.
Stephan Bosch [Sat, 9 Mar 2019 22:33:24 +0000 (23:33 +0100)]
lib-smtp: smtp-submit - Rename event setting to event_parent.
Stephan Bosch [Fri, 8 Mar 2019 21:21:22 +0000 (22:21 +0100)]
lib-smtp: smtp-server - Rename event setting to event_parent.
Stephan Bosch [Fri, 8 Mar 2019 20:47:00 +0000 (21:47 +0100)]
lib-smtp: smtp-client - Rename event setting to event_parent.
Stephan Bosch [Fri, 8 Mar 2019 21:20:58 +0000 (22:20 +0100)]
lib-http: http-client - Rename event setting to event_parent.
Stephan Bosch [Thu, 7 Mar 2019 20:51:48 +0000 (21:51 +0100)]
lib: connection - Turn connection_init_client_ip*() name parameter into an explicit hostname.
This way, the default connection name will be hostname:ip when hostname is not
NULL. This will be helpful once the connection API has TLS support.
Stephan Bosch [Sat, 2 Mar 2019 12:05:08 +0000 (13:05 +0100)]
lib-smtp: smtp-client-command - Emit smtp_client_command_finished event for replied commands.
This was an omission.
Stephan Bosch [Sat, 2 Mar 2019 12:08:34 +0000 (13:08 +0100)]
lib-smtp: smtp-client-command - Make sure command event is finished just once.
Stephan Bosch [Sat, 2 Mar 2019 16:18:02 +0000 (17:18 +0100)]
lib-smtp: smtp-submit - Emit named events.
These have some overlap with the smtp-client events, but for the sendmail binary
submission method those are not produced.
Stephan Bosch [Thu, 27 Dec 2018 23:41:43 +0000 (00:41 +0100)]
lib-smtp: smtp-submit - Add support for event API.
Stephan Bosch [Thu, 27 Dec 2018 23:36:32 +0000 (00:36 +0100)]
lib-smtp: smtp-submit - Collect optional inputs to smtp_submit_session_init() into a struct.
Stephan Bosch [Tue, 12 Feb 2019 00:48:01 +0000 (01:48 +0100)]
lib-smtp: smtp-server-transaction - Record the size of the message data in the event at the end of the transaction.
Stephan Bosch [Tue, 12 Feb 2019 00:47:43 +0000 (01:47 +0100)]
lib-smtp: smtp-server-recipient - Emit named events.
Stephan Bosch [Tue, 12 Feb 2019 00:40:29 +0000 (01:40 +0100)]
lib-smtp: smtp-server-transaction - Emit named events.
Stephan Bosch [Tue, 12 Feb 2019 00:33:07 +0000 (01:33 +0100)]
lib-smtp: smtp-server - Record the number of denied recipients.
Stephan Bosch [Tue, 12 Feb 2019 00:08:16 +0000 (01:08 +0100)]
lib-smtp: smtp-server-recipient - Manage "finished" status of the recipient.
Stephan Bosch [Mon, 11 Feb 2019 23:59:28 +0000 (00:59 +0100)]
lib-smtp: smtp-server-transaction - Manage "finished" status of the transaction.
Stephan Bosch [Mon, 11 Feb 2019 23:22:38 +0000 (00:22 +0100)]
lib-smtp: smtp-server: Set pointer parameter of smtp_server_transaction_free() to NULL immediately.
Stephan Bosch [Mon, 11 Feb 2019 23:19:49 +0000 (00:19 +0100)]
lib-smtp: smtp-server - Call transaction callbacks from transaction object functions.
Stephan Bosch [Mon, 4 Feb 2019 02:36:03 +0000 (03:36 +0100)]
lib-smtp: smtp-server-command - Emit named events.
Stephan Bosch [Mon, 11 Feb 2019 23:09:21 +0000 (00:09 +0100)]
lib-smtp: smtp-server-reply - Add smtp_server_reply_add_to_event().
Stephan Bosch [Mon, 4 Feb 2019 02:37:52 +0000 (03:37 +0100)]
lib-smtp: smtp-server - Record the enhanced code in the reply content.
Stephan Bosch [Mon, 11 Feb 2019 23:01:39 +0000 (00:01 +0100)]
lib-smtp: smtp-server-reply - Add smtp_server_reply_is_success() and use it.
Stephan Bosch [Mon, 4 Feb 2019 02:32:42 +0000 (03:32 +0100)]
lib-smtp: smtp-server-reply - Add smtp_server_reply_get_message().
Stephan Bosch [Mon, 11 Feb 2019 22:49:59 +0000 (23:49 +0100)]
lib-smtp: smtp-server-reply - Make smtp_server_reply_get_one_line() reply parameter const.
Stephan Bosch [Mon, 11 Feb 2019 23:04:42 +0000 (00:04 +0100)]
lib-smtp: smtp-server.h - Move server functions to a single place.
Corrects position of smtp_server_switch_ioloop() in the header file.
Stephan Bosch [Mon, 17 Dec 2018 03:08:47 +0000 (04:08 +0100)]
lib-smtp: smtp-server - Replace smtp_*_debug() with e_debug().
Stephan Bosch [Mon, 24 Dec 2018 00:46:56 +0000 (01:46 +0100)]
lib-smtp: smtp-server - Replace smtp_*_error() with e_error().
Stephan Bosch [Mon, 24 Dec 2018 00:35:52 +0000 (01:35 +0100)]
lib-smtp: smtp-server-connection - Replace i_error() with e_error().
Stephan Bosch [Mon, 17 Dec 2018 02:53:32 +0000 (03:53 +0100)]
lib-smtp: smtp-server - Remove redundant debug logging checks.
Stephan Bosch [Mon, 17 Dec 2018 02:45:58 +0000 (03:45 +0100)]
lib-smtp: smtp-server - Add support for event API.
Stephan Bosch [Thu, 14 Feb 2019 00:05:57 +0000 (01:05 +0100)]
lib-smtp: smtp-server - Provide RCPT parameters as parameter to smtp_server_recipient_create().
Needed for event API, but also fixes a memory leak occurring upon parameter
parse error.
Stephan Bosch [Sun, 23 Dec 2018 23:11:59 +0000 (00:11 +0100)]
lib-smtp: smtp-server - Add smtp_server_command_new_invalid().
Creates an empty command for sending an error reply for an invalid command.
Stephan Bosch [Sun, 16 Dec 2018 18:40:51 +0000 (19:40 +0100)]
lib-smtp: smtp-server - Remove unused server->ioloop field.
Stephan Bosch [Sun, 16 Dec 2018 18:29:35 +0000 (19:29 +0100)]
lib-smtp: smtp-server - Properly document all settings.
Stephan Bosch [Thu, 28 Feb 2019 09:03:17 +0000 (10:03 +0100)]
lib: connection - Add generic event fields for local and remote addresses.
Stephan Bosch [Thu, 28 Feb 2019 08:55:17 +0000 (09:55 +0100)]
lib: connection - Use the connection event for all connection types directly.
This way, the common event fields for the connection are available to each
connection type and its descendant events for objects like commands, requests,
and transactions.
This also creates a standard log prefix used by all connection types.
Stephan Bosch [Fri, 1 Mar 2019 15:21:36 +0000 (16:21 +0100)]
lib-smtp: smtp-client-connection - Create separate parent event to add the smtp-client log prefix.
This is needed for a later commit that moves the addition of the connection log
prefix to the connection API.
Stephan Bosch [Fri, 1 Mar 2019 15:54:48 +0000 (16:54 +0100)]
lib-smtp: smtp-client-connection - Retain the host name in the connection label after DNS lookup.
Stephan Bosch [Fri, 1 Mar 2019 14:16:37 +0000 (15:16 +0100)]
lib-smtp: smtp-client-connection - Remember whether the hostname is actually an IP address.
This is needed to prevent connection log prefix from containing an IP twice.
Stephan Bosch [Fri, 1 Mar 2019 15:02:40 +0000 (16:02 +0100)]
lib-dns: dns-lookup - Perform connection-related logging using the connection event.
Stephan Bosch [Fri, 1 Mar 2019 14:12:01 +0000 (15:12 +0100)]
lib: connection - Add socket_path event field for unix connections.
Stephan Bosch [Thu, 28 Feb 2019 08:49:01 +0000 (09:49 +0100)]
lib-http: http-client-connection - Drop the connection ID.
This is now unused.
Stephan Bosch [Thu, 28 Feb 2019 08:41:34 +0000 (09:41 +0100)]
lib-http: http-client-connection - Use the default connection label.
Stephan Bosch [Thu, 28 Feb 2019 08:36:30 +0000 (09:36 +0100)]
lib-smtp: smtp-client-connection - Drop the connection ID.
This is now unused.
Stephan Bosch [Thu, 28 Feb 2019 08:29:44 +0000 (09:29 +0100)]
lib-smtp: smtp-client-connection - Use the default connection label.
Stephan Bosch [Wed, 27 Feb 2019 21:19:27 +0000 (22:19 +0100)]
lib-http: http-server-connection - Drop the connection ID.
This is now unused.
Stephan Bosch [Wed, 27 Feb 2019 21:17:26 +0000 (22:17 +0100)]
lib-http: http-server-connection - Drop the connection properties.
These are now unused.
Stephan Bosch [Wed, 27 Feb 2019 21:13:25 +0000 (22:13 +0100)]
lib-http: http-server-connection - Use the default connection label.
Stephan Bosch [Wed, 27 Feb 2019 20:59:08 +0000 (21:59 +0100)]
lib-smtp: smtp-server-connection - Drop the connection ID.
This is now unused.
Stephan Bosch [Wed, 27 Feb 2019 20:52:02 +0000 (21:52 +0100)]
lib-smtp: smtp-server-connection - Drop the connection properties.
These are now unused.
Stephan Bosch [Wed, 27 Feb 2019 20:49:04 +0000 (21:49 +0100)]
lib-smtp: smtp-server-connection - Use the default connection label.
Stephan Bosch [Wed, 27 Feb 2019 20:34:33 +0000 (21:34 +0100)]
lib: connection - Remove existing log prefix.
It is often redundant to the parent event's log prefix. Subsequent commits will
yield a better and more generic solution.
Stephan Bosch [Wed, 27 Feb 2019 20:30:54 +0000 (21:30 +0100)]
lib: connection - Move creation of passthrough event in connection_client_connected().
Moved close to where it is used, which is more common in event code elsewhere.
Stephan Bosch [Wed, 27 Feb 2019 20:41:54 +0000 (21:41 +0100)]
lib: connection - Make providing a name for the connection optional.
Stephan Bosch [Wed, 27 Feb 2019 20:23:10 +0000 (21:23 +0100)]
lib-smtp: smtp-server-connection - Use connection properties for remote ip:port.
Stephan Bosch [Wed, 27 Feb 2019 20:14:36 +0000 (21:14 +0100)]
lib-http: http-server-connection - Use connection->label instead of connection->name.
Stephan Bosch [Wed, 27 Feb 2019 20:12:20 +0000 (21:12 +0100)]
lib-smtp: smtp-server-connection - Use connection->label instead of connection->name.
Stephan Bosch [Tue, 26 Feb 2019 23:33:19 +0000 (00:33 +0100)]
lib-http: http-client-connection - Use connection_init() immediately upon creation.
This avoids the need to remember whether the connection was initialized.
Stephan Bosch [Fri, 1 Mar 2019 23:49:58 +0000 (00:49 +0100)]
lib: connection - Compose standard names for the input/output streams.
Stephan Bosch [Wed, 27 Feb 2019 02:16:57 +0000 (03:16 +0100)]
lib: connection - Add a unique numeric ID to the connection.
It is incremented for each created connection. The IDs are specific to the
connection list.
Stephan Bosch [Wed, 27 Feb 2019 02:09:03 +0000 (03:09 +0100)]
lib: connection - Compose a standard label for logging.
Stephan Bosch [Wed, 27 Feb 2019 01:28:23 +0000 (02:28 +0100)]
lib: connection - Add connection_init_server_ip().
Stephan Bosch [Wed, 27 Feb 2019 01:21:36 +0000 (02:21 +0100)]
lib: connection - Record and update connection properties.
Stephan Bosch [Fri, 1 Mar 2019 14:59:05 +0000 (15:59 +0100)]
lib-dns: dns-lookup - Initialize the connection immediately.
Stephan Bosch [Wed, 27 Feb 2019 01:34:08 +0000 (02:34 +0100)]
lib-http: http-server-connection - Don't use the remote peer address to compose the server base URL.
It makes no sense.
Stephan Bosch [Wed, 27 Feb 2019 01:01:43 +0000 (02:01 +0100)]
lib: connection - Assign initial file descriptors in shared connection_init_full().
This makes the file descriptors (if available) usable in the shared
connection_init_full() function.
Stephan Bosch [Wed, 27 Feb 2019 00:12:39 +0000 (01:12 +0100)]
lib: connection - Rename ip and port fields.
Stephan Bosch [Wed, 27 Feb 2019 00:46:29 +0000 (01:46 +0100)]
lib: connection - Add name as parameter to connection_init_client_ip*().
Stephan Bosch [Tue, 26 Feb 2019 23:11:06 +0000 (00:11 +0100)]
lib: connection - Add name as parameter to connection_init().
Stephan Bosch [Thu, 28 Feb 2019 09:12:43 +0000 (10:12 +0100)]
lib: Reformat connection.c.
Stephan Bosch [Wed, 27 Feb 2019 19:58:38 +0000 (20:58 +0100)]
replication: replicator: doveadm-connection - quota-status: Remove superfluous brackets from connection name.
Stephan Bosch [Wed, 27 Feb 2019 19:55:34 +0000 (20:55 +0100)]
plugins: quota - quota-status: Remove superfluous brackets from connection name.
Stephan Bosch [Wed, 6 Feb 2019 23:35:10 +0000 (00:35 +0100)]
lib-smtp: smtp-client-transaction - Add event field for the amount of data sent.
Stephan Bosch [Sat, 9 Feb 2019 12:55:22 +0000 (13:55 +0100)]
lib-smtp: smtp-client - Perform the LF -> CRLF conversion for the message data in the transaction.
Before, it was performed in the DATA/BDAT command code, which makes it very
difficult to extract post-conversion size statistics.
Stephan Bosch [Sat, 9 Feb 2019 12:41:40 +0000 (13:41 +0100)]
lib-smtp: smtp-client-command.h - Reformat the comments for the standard commands.
Stephan Bosch [Wed, 6 Feb 2019 22:06:38 +0000 (23:06 +0100)]
lib-smtp: smtp-client-transaction - Emit named recipient events.
Stephan Bosch [Sun, 16 Dec 2018 18:16:37 +0000 (19:16 +0100)]
lib-smtp: smtp-client-transaction - Emit named events.
Stephan Bosch [Sun, 3 Feb 2019 23:48:58 +0000 (00:48 +0100)]
lib-smtp: smtp-client-transaction - Pass last reply to smtp_client_transaction_finish().
Stephan Bosch [Sat, 9 Feb 2019 13:39:24 +0000 (14:39 +0100)]
lib-smtp: smtp-client-transaction - Record the first failure reply of the DATA command.
This is needed when the DATA command yields more than a single reply (LMTP).
Stephan Bosch [Sat, 9 Feb 2019 12:22:38 +0000 (13:22 +0100)]
lib-smtp: smtp-client-transaction - Record recipient statistics in the transaction.
Stephan Bosch [Sat, 9 Feb 2019 12:01:01 +0000 (13:01 +0100)]
lib-smtp: smtp-client-transaction - Drop smtp_client_transaction_rcpt_drop_pending() as a separate function.
It is now merged into smtp_client_transaction_rcpt_approved() to make the code
less confusing.
Stephan Bosch [Sat, 9 Feb 2019 11:50:12 +0000 (12:50 +0100)]
lib-smtp: smtp-client-transaction - Drop the rcpt->failed flag.
It is no longer needed.
Stephan Bosch [Sat, 9 Feb 2019 11:44:04 +0000 (12:44 +0100)]
lib-smtp: smtp-client-transaction - Explicitly keep track of whether a recipient is already finished.
Stephan Bosch [Sat, 9 Feb 2019 11:32:44 +0000 (12:32 +0100)]
lib-smtp: smtp-client-transaction - Free the rcpt object in smtp_client_transaction_rcpt_fail_reply().
Stephan Bosch [Sat, 9 Feb 2019 11:22:40 +0000 (12:22 +0100)]
lib-smtp: smtp-client-transaction - Handle recipient failure callback in a separate _rcpt function.
Stephan Bosch [Sat, 9 Feb 2019 11:17:40 +0000 (12:17 +0100)]
lib-smtp: smtp-client-transaction - Handle recipient DATA callback in a separate _rcpt function.
Stephan Bosch [Sat, 9 Feb 2019 11:14:21 +0000 (12:14 +0100)]
lib-smtp: smtp-client-transaction - Handle RCPT reply in a separate _rcpt function.
Stephan Bosch [Sat, 9 Feb 2019 13:30:53 +0000 (14:30 +0100)]
lib-smtp: smtp-client-transaction - Free the mail object in smtp_client_transaction_mail_fail_reply().
Stephan Bosch [Sat, 9 Feb 2019 13:26:48 +0000 (14:26 +0100)]
lib-smtp: smtp-client-transaction - Handle MAIL failure callback in a separate _mail function.
Stephan Bosch [Sat, 9 Feb 2019 13:18:02 +0000 (14:18 +0100)]
lib-smtp: smtp-client-transaction - Handle MAIL reply in a separate _mail function.
Stephan Bosch [Wed, 6 Feb 2019 22:47:31 +0000 (23:47 +0100)]
lib-smtp: smtp-params - Add support for adding RCPT parameters to an event.
Stephan Bosch [Wed, 6 Feb 2019 22:31:25 +0000 (23:31 +0100)]
lib-smtp: smtp-params - Add support for adding MAIL parameters to an event.
Stephan Bosch [Mon, 4 Feb 2019 00:26:44 +0000 (01:26 +0100)]
lib-smtp: smtp-client-command - Emit named events.