]> git.ipfire.org Git - thirdparty/dovecot/core.git/log
thirdparty/dovecot/core.git
6 years agodoc: example-config: Document the new submission_backend_capabilities setting.
Stephan Bosch [Fri, 19 Oct 2018 15:39:36 +0000 (17:39 +0200)] 
doc: example-config: Document the new submission_backend_capabilities setting.

6 years agosubmission,submission-login: Implicitly enable CHUNKING when submission_backend_capab...
Stephan Bosch [Mon, 29 Oct 2018 16:27:17 +0000 (17:27 +0100)] 
submission,submission-login: Implicitly enable CHUNKING when submission_backend_capabilities setting includes BINARYMIME.

BINARYMIME requires CHUNKING support and we should not expect administrators to
always be aware of that fact.

6 years agosubmission: relay backend: VRFY command: Avoid forwarding 500 and 502 replies back...
Stephan Bosch [Fri, 19 Oct 2018 15:12:10 +0000 (17:12 +0200)] 
submission: relay backend: VRFY command: Avoid forwarding 500 and 502 replies back to client.

These are in fact non-standard for VRFY and indicate that VRFY support is
disabled, which is not allowed by the specification. Instead, we now substitute
the default 252 response.

6 years agolib-smtp: server: VRFY command: Implement smtp_server_cmd_reply_default() for sending...
Stephan Bosch [Fri, 19 Oct 2018 15:02:08 +0000 (17:02 +0200)] 
lib-smtp: server: VRFY command: Implement smtp_server_cmd_reply_default() for sending default reply.

6 years agosubmission,submission-login: Omit listing VRFY capability if the backend provides...
Stephan Bosch [Fri, 19 Oct 2018 14:42:41 +0000 (16:42 +0200)] 
submission,submission-login: Omit listing VRFY capability if the backend provides no explicit support.

6 years agosubmission-login: Use the submission_backend_capabilities setting to compose the...
Stephan Bosch [Fri, 19 Oct 2018 09:15:50 +0000 (11:15 +0200)] 
submission-login: Use the submission_backend_capabilities setting to compose the EHLO reply when configured.

This way, the EHLO response prior to AUTH will better match the EHLO response after AUTH.

6 years agosubmission-login: Add the VRFY capability to the EHLO reply.
Stephan Bosch [Fri, 19 Oct 2018 09:24:35 +0000 (11:24 +0200)] 
submission-login: Add the VRFY capability to the EHLO reply.

The post-login service does it too.

6 years agosubmission: relay backend: Fix non-transaction commands to work when submission_backe...
Stephan Bosch [Thu, 18 Oct 2018 22:35:53 +0000 (00:35 +0200)] 
submission: relay backend: Fix non-transaction commands to work when submission_backend_capabilities is configured.

When submission_backend_capabilities is configured, the backend is not started
until the first transaction is started. But for commands that should work
outside the transaction, the backend should also be started, which was not the
case before this fix.

6 years agosubmission: backends: Set the started flag before calling the backend start vfunc.
Stephan Bosch [Thu, 18 Oct 2018 22:01:40 +0000 (00:01 +0200)] 
submission: backends: Set the started flag before calling the backend start vfunc.

This prevents recursive mishaps.

6 years agoauth: test-lua - Add test to ensure that values are not converted to number by mistake
Aki Tuomi [Mon, 29 Oct 2018 08:43:10 +0000 (10:43 +0200)] 
auth: test-lua - Add test to ensure that values are not converted to number by mistake

6 years agoauth: test-lua - Fix unit test to handle errors
Aki Tuomi [Mon, 29 Oct 2018 08:42:36 +0000 (10:42 +0200)] 
auth: test-lua - Fix unit test to handle errors

6 years agoauth: test-lua - Fix inconsistent whitespace
Aki Tuomi [Mon, 29 Oct 2018 12:43:11 +0000 (14:43 +0200)] 
auth: test-lua - Fix inconsistent whitespace

6 years agoauth: db-lua - Use lua_type to detect type
Aki Tuomi [Mon, 29 Oct 2018 07:52:37 +0000 (09:52 +0200)] 
auth: db-lua - Use lua_type to detect type

Using lua_isnumber to detect numbers also considers
convertible strings as numbers.

6 years agoauth: Store password with auth_set_field in Lua passdb
Aki Tuomi [Mon, 29 Oct 2018 07:50:33 +0000 (09:50 +0200)] 
auth: Store password with auth_set_field in Lua passdb

Makes caching work for passwords

6 years agoauth: Use default scheme in Lua passdb lookup
Aki Tuomi [Mon, 29 Oct 2018 07:49:48 +0000 (09:49 +0200)] 
auth: Use default scheme in Lua passdb lookup

Fixes a null pointer crash.

6 years agolib: uri-util: Add tests for URI character escape functions.
Stephan Bosch [Thu, 25 Oct 2018 11:35:52 +0000 (13:35 +0200)] 
lib: uri-util: Add tests for URI character escape functions.

6 years agolib: uri-util: Add functions for escaping (almost) all reserved URI characters.
Stephan Bosch [Thu, 25 Oct 2018 11:34:52 +0000 (13:34 +0200)] 
lib: uri-util: Add functions for escaping (almost) all reserved URI characters.

6 years agolib-lua: Use source instead of short_src
Aki Tuomi [Thu, 25 Oct 2018 10:50:36 +0000 (13:50 +0300)] 
lib-lua: Use source instead of short_src

short_src is a limited value, and also an byte array
instead of a pointer so it should not be returned.

Found by coverity.

6 years agolib-lua: Make sure events get right file:line information
Aki Tuomi [Fri, 19 Oct 2018 10:54:50 +0000 (13:54 +0300)] 
lib-lua: Make sure events get right file:line information

7 years agomail-lua: Fix argument number checking for mailbox#sync
Aki Tuomi [Fri, 19 Oct 2018 10:54:34 +0000 (13:54 +0300)] 
mail-lua: Fix argument number checking for mailbox#sync

7 years agopush-notification-driver-lua: Perform garbage collection after transaction
Aki Tuomi [Fri, 19 Oct 2018 06:39:39 +0000 (09:39 +0300)] 
push-notification-driver-lua: Perform garbage collection after transaction

Ensure Lua releases resources here.

7 years agopush-notification-driver-ox: Convert to event based logging
Aki Tuomi [Mon, 15 Oct 2018 11:46:30 +0000 (14:46 +0300)] 
push-notification-driver-ox: Convert to event based logging

Also fixes the logging to be standard

7 years agopush-notification-driver-lua: Add events
Aki Tuomi [Mon, 15 Oct 2018 09:20:20 +0000 (12:20 +0300)] 
push-notification-driver-lua: Add events

7 years agopush-notification: Emit event on transaction end
Aki Tuomi [Mon, 15 Oct 2018 09:04:19 +0000 (12:04 +0300)] 
push-notification: Emit event on transaction end

7 years agopush-notification: Add event to push notification transaction
Aki Tuomi [Mon, 15 Oct 2018 09:03:58 +0000 (12:03 +0300)] 
push-notification: Add event to push notification transaction

7 years agopush-notification: Add event category
Aki Tuomi [Mon, 15 Oct 2018 08:55:41 +0000 (11:55 +0300)] 
push-notification: Add event category

7 years agolib-lua: Move __gc metamethod for event to userdata
Aki Tuomi [Fri, 19 Oct 2018 08:36:09 +0000 (11:36 +0300)] 
lib-lua: Move __gc metamethod for event to userdata

Compability for lua 5.1

7 years agolib-fts: test-fts-tokenizer: Verify fts_tokenizer_create() return value
Timo Sirainen [Thu, 18 Oct 2018 10:55:53 +0000 (13:55 +0300)] 
lib-fts: test-fts-tokenizer: Verify fts_tokenizer_create() return value

7 years agolib-master: test-event-stats: Properly ensure cleanup of all files generated by tests.
Stephan Bosch [Thu, 18 Oct 2018 13:25:53 +0000 (15:25 +0200)] 
lib-master: test-event-stats: Properly ensure cleanup of all files generated by tests.

7 years agolib-master: test-event-stats: Move launch_test_stats() to a more logical place.
Stephan Bosch [Thu, 18 Oct 2018 13:09:51 +0000 (15:09 +0200)] 
lib-master: test-event-stats: Move launch_test_stats() to a more logical place.

7 years agolib-master: Create local .gitignore file for potential test output junk.
Stephan Bosch [Thu, 18 Oct 2018 13:11:55 +0000 (15:11 +0200)] 
lib-master: Create local .gitignore file for potential test output junk.

7 years agolib-lua: Check number of arguments
Aki Tuomi [Thu, 18 Oct 2018 09:31:27 +0000 (12:31 +0300)] 
lib-lua: Check number of arguments

7 years agolib-lua: Add flag manipulation functions
Aki Tuomi [Mon, 30 Jul 2018 10:12:47 +0000 (13:12 +0300)] 
lib-lua: Add flag manipulation functions

7 years agolib-lua: Add test for event framework
Aki Tuomi [Thu, 11 Oct 2018 16:50:06 +0000 (19:50 +0300)] 
lib-lua: Add test for event framework

7 years agolib-lua: Add event interface
Aki Tuomi [Thu, 11 Oct 2018 16:10:17 +0000 (19:10 +0300)] 
lib-lua: Add event interface

7 years agolib-lua: Add events to scripts
Aki Tuomi [Thu, 11 Oct 2018 14:06:00 +0000 (17:06 +0300)] 
lib-lua: Add events to scripts

7 years agofts: Fix search query generation when one language ignores a token
Timo Sirainen [Thu, 18 Oct 2018 09:35:22 +0000 (12:35 +0300)] 
fts: Fix search query generation when one language ignores a token

The search query was changed to "NOT ALL", even though other languages
used the token.

7 years agosubmission: relay backend: Handle the LMTP per-RCPT DATA reply behavior when enabled.
Stephan Bosch [Fri, 12 Oct 2018 07:45:42 +0000 (09:45 +0200)] 
submission: relay backend: Handle the LMTP per-RCPT DATA reply behavior when enabled.

Without this change, enabling the per-RCPT DATA reply behavior on the server
side will not have the desired effect.

7 years agosubmission: relay backend: Log an error when relayed commands fail with connection...
Stephan Bosch [Wed, 17 Oct 2018 23:39:05 +0000 (01:39 +0200)] 
submission: relay backend: Log an error when relayed commands fail with connection-related errors.

Errors sent by the remote server are handled by the command reply handler and
are logged using i_info() where relevant.

7 years agosubmission: relay backend: Fix comment in RCPT command code.
Stephan Bosch [Fri, 12 Oct 2018 08:34:21 +0000 (10:34 +0200)] 
submission: relay backend: Fix comment in RCPT command code.

7 years agosubmission: recipient: Add field for associating backend context.
Stephan Bosch [Fri, 12 Oct 2018 07:42:29 +0000 (09:42 +0200)] 
submission: recipient: Add field for associating backend context.

7 years agolmtp: DATA command: Assert that the server transaction flags are correct for LMTP.
Stephan Bosch [Fri, 12 Oct 2018 07:34:56 +0000 (09:34 +0200)] 
lmtp: DATA command: Assert that the server transaction flags are correct for LMTP.

7 years agolib-smtp: server: Allow enabling the LMTP per-RCPT DATA reply behavior for ESMTP...
Stephan Bosch [Sat, 6 Oct 2018 09:21:35 +0000 (11:21 +0200)] 
lib-smtp: server: Allow enabling the LMTP per-RCPT DATA reply behavior for ESMTP transactions.

This is non-standard.

7 years agomail-lua: Check number of arguments
Aki Tuomi [Thu, 18 Oct 2018 08:37:00 +0000 (11:37 +0300)] 
mail-lua: Check number of arguments

7 years agolib-lua: Add DLUA_REQUIRE_ARGS(s,x) and DLUA_REQUIRE_ARGS_IN(s,x,y)
Aki Tuomi [Thu, 18 Oct 2018 09:04:41 +0000 (12:04 +0300)] 
lib-lua: Add DLUA_REQUIRE_ARGS(s,x) and DLUA_REQUIRE_ARGS_IN(s,x,y)

First form requires that x arguments are provided for dlua script s.

Second form requires that at least x and at most y arguments are provided
for dlua script s

Automatically returns luaL_error.

7 years agomail-lua: Make flags optional for mailbox#sync
Aki Tuomi [Tue, 16 Oct 2018 08:35:45 +0000 (11:35 +0300)] 
mail-lua: Make flags optional for mailbox#sync

7 years agomail-lua: Make flags optional for user#mailbox
Aki Tuomi [Tue, 16 Oct 2018 08:34:23 +0000 (11:34 +0300)] 
mail-lua: Make flags optional for user#mailbox

7 years agomail-lua: Change mailbox#status API to varargs
Aki Tuomi [Tue, 16 Oct 2018 07:13:27 +0000 (10:13 +0300)] 
mail-lua: Change mailbox#status API to varargs

It's much easier to use this way

7 years agolib-master: Fix test-event-stats
Aki Tuomi [Wed, 17 Oct 2018 16:44:31 +0000 (19:44 +0300)] 
lib-master: Fix test-event-stats

New stats uses gettimeofday that generated unpredictable values
for this test.

7 years agolib: event - Stop exporting ioloop time
Aki Tuomi [Wed, 17 Oct 2018 09:47:37 +0000 (12:47 +0300)] 
lib: event - Stop exporting ioloop time

It is not needed by stats process.

7 years agostats: Use duration field from events
Aki Tuomi [Tue, 16 Oct 2018 06:03:05 +0000 (09:03 +0300)] 
stats: Use duration field from events

7 years agolib: event - Record real duration
Aki Tuomi [Tue, 16 Oct 2018 05:52:49 +0000 (08:52 +0300)] 
lib: event - Record real duration

The old code only measured difference between successive
ioloop_time updates. The new code uses gettimeofday to
get current real time, making measurements accurate.

7 years agolib: event - Duplicate source_filename
Aki Tuomi [Tue, 16 Oct 2018 05:17:27 +0000 (08:17 +0300)] 
lib: event - Duplicate source_filename

Prevents crash on event leak when plugin that caused the leak
is unloaded.

7 years agolib: event - Rename tv_created as tv_created_ioloop
Aki Tuomi [Tue, 16 Oct 2018 13:11:23 +0000 (16:11 +0300)] 
lib: event - Rename tv_created as tv_created_ioloop

7 years agosubmission: relay backend: Do not close the client connection for failure in a non...
Stephan Bosch [Fri, 12 Oct 2018 07:23:27 +0000 (09:23 +0200)] 
submission: relay backend: Do not close the client connection for failure in a non-default backend.

Adjusts the backend API to remember the failure until the present transaction is
reset. In the mean time, any commands issued to the backend are failed
immediately. In contrast, failure on the default backend will cause the client
connection to be closed, like before.

7 years agosubmission: relay backend: Use (potentially) modified reply after backend_relay_handl...
Stephan Bosch [Fri, 12 Oct 2018 08:01:12 +0000 (10:01 +0200)] 
submission: relay backend: Use (potentially) modified reply after backend_relay_handle_relay_reply().

Before, it sometimes still referred to the original reply struct from the client
callback.

7 years agosubmission: relay backend: Use smtp_reply_is_success() to evaluate reply form relay.
Stephan Bosch [Fri, 12 Oct 2018 08:07:14 +0000 (10:07 +0200)] 
submission: relay backend: Use smtp_reply_is_success() to evaluate reply form relay.

Before, it evaluated the reply status directly.

7 years agolib-smtp: server: Add smtp_server_command_get_reply_count().
Stephan Bosch [Sun, 14 Oct 2018 12:23:32 +0000 (14:23 +0200)] 
lib-smtp: server: Add smtp_server_command_get_reply_count().

Returns the number of replies expected to the command.

7 years agolib-smtp: client: Make smtp_client_transaction_unref(NULL) a no-op.
Stephan Bosch [Sun, 14 Oct 2018 11:45:56 +0000 (13:45 +0200)] 
lib-smtp: client: Make smtp_client_transaction_unref(NULL) a no-op.

7 years agolib-smtp: client: Make smtp_client_transaction_destroy(NULL) a no-op.
Stephan Bosch [Sun, 14 Oct 2018 11:43:42 +0000 (13:43 +0200)] 
lib-smtp: client: Make smtp_client_transaction_destroy(NULL) a no-op.

7 years agosubmission: Allocate recipients for the client transaction on the server recipient...
Stephan Bosch [Wed, 10 Oct 2018 22:50:26 +0000 (00:50 +0200)] 
submission: Allocate recipients for the client transaction on the server recipient pool.

7 years agolmtp: proxy: Allocate recipients for the client transaction on the server recipient...
Stephan Bosch [Wed, 10 Oct 2018 22:49:44 +0000 (00:49 +0200)] 
lmtp: proxy: Allocate recipients for the client transaction on the server recipient pool.

7 years agolib-smtp: client: transaction: Add alternative function for adding a recipient on...
Stephan Bosch [Wed, 10 Oct 2018 22:49:33 +0000 (00:49 +0200)] 
lib-smtp: client: transaction: Add alternative function for adding a recipient on an application-provided pool.

This allows modifying the recipient object beyond approval. Before, it was
always moved to the transaction pool, thereby invalidating the original returned
pointer. This way, the data_calback and context can be set at a later time,
e.g. when the DATA command is being processed. This makes a choice between
LMTP-style and SMTP-style replies to the DATA command a bit easier to handle.
Also, the recipient is entirely allocated on a single pool between the client
and server side, which should improve memory consumption a little. As a bonus,
this removes the need to have dummy DATA callbacks.

7 years agolib-smtp: client: transaction: Fix and amend a few comments in the header.
Stephan Bosch [Fri, 12 Oct 2018 08:42:55 +0000 (10:42 +0200)] 
lib-smtp: client: transaction: Fix and amend a few comments in the header.

7 years agolib-smtp: client: Remove unused "failed" field from struct smtp_client_transaction_mail.
Stephan Bosch [Fri, 12 Oct 2018 07:24:06 +0000 (09:24 +0200)] 
lib-smtp: client: Remove unused "failed" field from struct smtp_client_transaction_mail.

7 years agosubmission: Fix starting secondary backends created before the server-side transactio...
Stephan Bosch [Sun, 14 Oct 2018 20:34:50 +0000 (22:34 +0200)] 
submission: Fix starting secondary backends created before the server-side transaction is fully created.

Record an array of those backends and start them once the transaction is
created. Before, this was implemented using the array of approved recipients
(which each point to their backend). However, this does not work, since there
can be no approved recipients when there is no server-side transaction yet.

7 years agosubmission: relay backend: Properly manage the trans_started flag.
Stephan Bosch [Sun, 14 Oct 2018 21:00:11 +0000 (23:00 +0200)] 
submission: relay backend: Properly manage the trans_started flag.

Sometimes it was not set at all. This didn't lead to problems in most cases, but
this was at least confusing while debugging. Also, the flag is set before the
client transaction is actually started, making sure (future) recursive problems
will not occur.

7 years agosubmission: relay backend: Set the immediate for the client transaction no matter...
Stephan Bosch [Sun, 14 Oct 2018 20:48:58 +0000 (22:48 +0200)] 
submission: relay backend: Set the immediate for the client transaction no matter where it is created.

Forgot a few instances.

7 years agosubmission: RCPT command: Move starting the backend transaction from submission-comma...
Stephan Bosch [Sun, 14 Oct 2018 20:42:36 +0000 (22:42 +0200)] 
submission: RCPT command: Move starting the backend transaction from submission-commands.c to submission-backend.c.

This way, the transaction is only started from RCPT when the backend needs it at this point.

7 years agosubmission: relay backend: Add support for relaying to a unix socket.
Stephan Bosch [Sun, 23 Sep 2018 17:53:07 +0000 (19:53 +0200)] 
submission: relay backend: Add support for relaying to a unix socket.

7 years agolib-smtp: client: Allow connecting to SMTP/LMTP services offered through unix sockets.
Stephan Bosch [Sun, 23 Sep 2018 17:43:05 +0000 (19:43 +0200)] 
lib-smtp: client: Allow connecting to SMTP/LMTP services offered through unix sockets.

7 years agolib-smtp: client: Move creation of connection object to a separate function.
Stephan Bosch [Sun, 23 Sep 2018 17:32:11 +0000 (19:32 +0200)] 
lib-smtp: client: Move creation of connection object to a separate function.

7 years agolib-smtp: server: Record the associated server command in the recipient object.
Stephan Bosch [Sun, 7 Oct 2018 16:37:48 +0000 (18:37 +0200)] 
lib-smtp: server: Record the associated server command in the recipient object.

This avoids the need to do that in application code.

7 years agosubmission: Use the recipient index in the server recipient object rather than the...
Stephan Bosch [Sun, 7 Oct 2018 19:24:43 +0000 (21:24 +0200)] 
submission: Use the recipient index in the server recipient object rather than the submission recipient.

7 years agolmtp: Use the recipient index in the server recipient object rather than the lmtp...
Stephan Bosch [Sun, 7 Oct 2018 19:23:44 +0000 (21:23 +0200)] 
lmtp: Use the recipient index in the server recipient object rather than the lmtp recipient.

7 years agosubmission: Use the path in the server recipient object rather than the submission...
Stephan Bosch [Sun, 7 Oct 2018 17:44:40 +0000 (19:44 +0200)] 
submission: Use the path in the server recipient object rather than the submission recipient.

It is recorded reliably on a pool from the start now

7 years agolmtp: Use the path in the server recipient object rather than the lmtp recipient.
Stephan Bosch [Sun, 7 Oct 2018 17:47:59 +0000 (19:47 +0200)] 
lmtp: Use the path in the server recipient object rather than the lmtp recipient.

It is recorded reliably on a pool from the start now.

7 years agosubmission: Start using the new lib-smtp/server recipient pool.
Stephan Bosch [Sun, 7 Oct 2018 15:47:29 +0000 (17:47 +0200)] 
submission: Start using the new lib-smtp/server recipient pool.

7 years agolmtp: Start using the new lib-smtp/server recipient pool.
Stephan Bosch [Sun, 7 Oct 2018 20:32:38 +0000 (22:32 +0200)] 
lmtp: Start using the new lib-smtp/server recipient pool.

7 years agolib-smtp: server: Create the definitive recipient object right at the reception of...
Stephan Bosch [Sun, 7 Oct 2018 19:37:00 +0000 (21:37 +0200)] 
lib-smtp: server: Create the definitive recipient object right at the reception of the RCPT command.

Before, it first allocated stuff on the command pool, which gets freed when the RCPT
command finishes. Allocating the recipient data on its own pool from the start
considerably simplifies the code and prevents very nasty bugs.

7 years agolib-smtp: server: Record the index in the list of approved recipients in the recipien...
Stephan Bosch [Sun, 7 Oct 2018 19:13:44 +0000 (21:13 +0200)] 
lib-smtp: server: Record the index in the list of approved recipients in the recipient object.

This avoids the need to do that in application code.

7 years agolib-smtp: server: Add hooks API for recipient.
Stephan Bosch [Sun, 7 Oct 2018 18:42:20 +0000 (20:42 +0200)] 
lib-smtp: server: Add hooks API for recipient.

7 years agolib-smtp: server: Allocate each recipient on its own pool.
Stephan Bosch [Sun, 7 Oct 2018 18:34:12 +0000 (20:34 +0200)] 
lib-smtp: server: Allocate each recipient on its own pool.

This way, the application can associate data with the recipient, which
implicitly goes away either when the transaction is finished or the recipient is
denied.

7 years agosubmission: Rename struct smtp_server_recipient *trcpt variables to *rcpt.
Stephan Bosch [Sun, 7 Oct 2018 23:09:26 +0000 (01:09 +0200)] 
submission: Rename struct smtp_server_recipient *trcpt variables to *rcpt.

7 years agosubmission: Rename struct submission_recipient *rcpt variables to *srcpt.
Stephan Bosch [Sun, 7 Oct 2018 22:44:28 +0000 (00:44 +0200)] 
submission: Rename struct submission_recipient *rcpt variables to *srcpt.

7 years agolmtp: Rename struct smtp_server_recipient *trcpt variables to *rcpt.
Stephan Bosch [Sun, 7 Oct 2018 21:53:11 +0000 (23:53 +0200)] 
lmtp: Rename struct smtp_server_recipient *trcpt variables to *rcpt.

7 years agolmtp: local: Rename struct lmtp_local_recipient *rcpt variables to *llrcpt.
Stephan Bosch [Mon, 12 Mar 2018 00:22:34 +0000 (01:22 +0100)] 
lmtp: local: Rename struct lmtp_local_recipient *rcpt variables to *llrcpt.

7 years agolmtp: proxy: Rename struct lmtp_proxy_recipient *rcpt variables to *lprcpt.
Stephan Bosch [Mon, 12 Mar 2018 00:12:30 +0000 (01:12 +0100)] 
lmtp: proxy: Rename struct lmtp_proxy_recipient *rcpt variables to *lprcpt.

7 years agolmtp: common: Rename struct lmtp_recipient *rcpt variables to *lrcpt.
Stephan Bosch [Sun, 7 Oct 2018 21:08:37 +0000 (23:08 +0200)] 
lmtp: common: Rename struct lmtp_recipient *rcpt variables to *lrcpt.

7 years agolmtp: local: Do not use array_idx() to obtain transaction recipient from lib-smtp.
Stephan Bosch [Mon, 12 Mar 2018 02:12:44 +0000 (03:12 +0100)] 
lmtp: local: Do not use array_idx() to obtain transaction recipient from lib-smtp.

It is already available in struct lmtp_recipient. Also, this call was very ugly.

7 years agolmtp: Reformat commands.h.
Stephan Bosch [Sun, 7 Oct 2018 16:17:28 +0000 (18:17 +0200)] 
lmtp: Reformat commands.h.

7 years agosubmission: client: Add API for adding extra (non-standard) capabilities.
Stephan Bosch [Thu, 4 Oct 2018 22:26:56 +0000 (00:26 +0200)] 
submission: client: Add API for adding extra (non-standard) capabilities.

7 years agolib-smtp: syntax: Add verification functions for EHLO keywords and parameters.
Stephan Bosch [Thu, 4 Oct 2018 22:26:03 +0000 (00:26 +0200)] 
lib-smtp: syntax: Add verification functions for EHLO keywords and parameters.

7 years agosubmission: Add support for module contexts to recipient.
Stephan Bosch [Tue, 25 Sep 2018 00:18:24 +0000 (02:18 +0200)] 
submission: Add support for module contexts to recipient.

7 years agosubmission: Add support for module contexts to client.
Stephan Bosch [Sun, 13 May 2018 09:33:03 +0000 (11:33 +0200)] 
submission: Add support for module contexts to client.

7 years agosubmission: Implement client vfuncs for transaction start and free.
Stephan Bosch [Sun, 16 Sep 2018 19:47:10 +0000 (21:47 +0200)] 
submission: Implement client vfuncs for transaction start and free.

7 years agosubmission: Implement client vfuncs for all normal SMTP commands.
Stephan Bosch [Sat, 15 Sep 2018 19:47:42 +0000 (21:47 +0200)] 
submission: Implement client vfuncs for all normal SMTP commands.

7 years agosubmission: Implement basic client vfuncs.
Stephan Bosch [Sun, 13 May 2018 09:15:59 +0000 (11:15 +0200)] 
submission: Implement basic client vfuncs.

Currently, only client_destroy can be overriden.

7 years agosubmission: Allocate each recipient object on its own pool.
Stephan Bosch [Tue, 25 Sep 2018 00:11:46 +0000 (02:11 +0200)] 
submission: Allocate each recipient object on its own pool.

This allows allocating per recipient module data.

7 years agosubmission: Provide ephemeral pool for transaction state.
Stephan Bosch [Mon, 24 Sep 2018 23:53:02 +0000 (01:53 +0200)] 
submission: Provide ephemeral pool for transaction state.