[dovecot/core] 3821bf: lib-smtp: server: Add callback for transaction sta...

GitHub noreply at github.com
Tue Oct 9 10:30:09 EEST 2018


  Branch: refs/heads/master
  Home:   https://github.com/dovecot/core
  Commit: 3821bfb0caf7899dd72890ee6d4c8985298116d2
      https://github.com/dovecot/core/commit/3821bfb0caf7899dd72890ee6d4c8985298116d2
  Author: Stephan Bosch <stephan.bosch at dovecot.fi>
  Date:   2018-10-09 (Tue, 09 Oct 2018)

  Changed paths:
    M src/lib-smtp/smtp-server-cmd-mail.c
    M src/lib-smtp/smtp-server.h

  Log Message:
  -----------
  lib-smtp: server: Add callback for transaction start.


  Commit: bffbe44ee932dfb273d21f13d47db82e4f6be05c
      https://github.com/dovecot/core/commit/bffbe44ee932dfb273d21f13d47db82e4f6be05c
  Author: Stephan Bosch <stephan.bosch at dovecot.fi>
  Date:   2018-10-09 (Tue, 09 Oct 2018)

  Changed paths:
    M src/lib-smtp/smtp-server-connection.c

  Log Message:
  -----------
  lib-smtp: server: Drop pending commands and transaction at disconnect rather than destroy.

This makes sure the conn_trans_free() connection callback is called before
th conn_disconnect() callback. This makes more sense than the other way around,
which instead would be a likely cause for mishaps causing segfaults and the
like.


  Commit: cbb3c56efa9f55645c784ebc888a7c19e0ef142a
      https://github.com/dovecot/core/commit/cbb3c56efa9f55645c784ebc888a7c19e0ef142a
  Author: Stephan Bosch <stephan.bosch at dovecot.fi>
  Date:   2018-10-09 (Tue, 09 Oct 2018)

  Changed paths:
    M src/lib-smtp/smtp-client-connection.h

  Log Message:
  -----------
  lib-smtp: client: Add forward declaration for struct smtp_client_settings in smtp-client-connection.h.


  Commit: 3da32cc3f6ac364165cfd4be7d685f09c9eb6866
      https://github.com/dovecot/core/commit/3da32cc3f6ac364165cfd4be7d685f09c9eb6866
  Author: Stephan Bosch <stephan.bosch at dovecot.fi>
  Date:   2018-10-09 (Tue, 09 Oct 2018)

  Changed paths:
    M src/submission/submission-client.h

  Log Message:
  -----------
  submission: client: Remove spurious forward declaration of "struct client_command_context".


  Commit: 20739fcc0fd6eba07c1ee522e67ca28569faa3bb
      https://github.com/dovecot/core/commit/20739fcc0fd6eba07c1ee522e67ca28569faa3bb
  Author: Stephan Bosch <stephan.bosch at dovecot.fi>
  Date:   2018-10-09 (Tue, 09 Oct 2018)

  Changed paths:
    M src/submission/Makefile.am
    A src/submission/submission-backend-relay.c
    M src/submission/submission-commands.c

  Log Message:
  -----------
  submission: Move client_command_handle_proxy_reply() to submission-backend-relay.c.


  Commit: 0c66087d92315502690a15d035ac011ad523436d
      https://github.com/dovecot/core/commit/0c66087d92315502690a15d035ac011ad523436d
  Author: Stephan Bosch <stephan.bosch at dovecot.fi>
  Date:   2018-10-09 (Tue, 09 Oct 2018)

  Changed paths:
    M src/submission/cmd-helo.c
    M src/submission/submission-commands.h

  Log Message:
  -----------
  submission: Make HELO/EHLO reply submission a separate public function.


  Commit: 0b6f9d363a6f3a8a56735d8230a6e25b6f99af2d
      https://github.com/dovecot/core/commit/0b6f9d363a6f3a8a56735d8230a6e25b6f99af2d
  Author: Stephan Bosch <stephan.bosch at dovecot.fi>
  Date:   2018-10-09 (Tue, 09 Oct 2018)

  Changed paths:
    M src/submission/cmd-helo.c
    M src/submission/submission-commands.c

  Log Message:
  -----------
  submission: Move submission_helo_reply_submit() from cmd-helo.c to submission-commands.c.


  Commit: 9d9d8badb651bccfaf7494f66367b943ef79bd74
      https://github.com/dovecot/core/commit/9d9d8badb651bccfaf7494f66367b943ef79bd74
  Author: Stephan Bosch <stephan.bosch at dovecot.fi>
  Date:   2018-10-09 (Tue, 09 Oct 2018)

  Changed paths:
    M src/submission/cmd-helo.c
    M src/submission/submission-commands.h

  Log Message:
  -----------
  submission: Split the EHLO command into a generic part and a part related to relaying to an MTA.


  Commit: 128e1510f13fcf116744258e14560067a704f8e8
      https://github.com/dovecot/core/commit/128e1510f13fcf116744258e14560067a704f8e8
  Author: Stephan Bosch <stephan.bosch at dovecot.fi>
  Date:   2018-10-09 (Tue, 09 Oct 2018)

  Changed paths:
    M src/submission/cmd-mail.c
    M src/submission/submission-commands.h

  Log Message:
  -----------
  submission: Split the MAIL command into a generic part and a part related to relaying to an MTA.


  Commit: 89e1b7cdbfa619b3c29164c79bad1435e6f88186
      https://github.com/dovecot/core/commit/89e1b7cdbfa619b3c29164c79bad1435e6f88186
  Author: Stephan Bosch <stephan.bosch at dovecot.fi>
  Date:   2018-10-09 (Tue, 09 Oct 2018)

  Changed paths:
    M src/submission/cmd-rcpt.c
    M src/submission/submission-commands.h

  Log Message:
  -----------
  submission: Split the RCPT command into a generic part and a part related to relaying to an MTA.


  Commit: 29e21ab39b10be79d27e71c309015b3226404c08
      https://github.com/dovecot/core/commit/29e21ab39b10be79d27e71c309015b3226404c08
  Author: Stephan Bosch <stephan.bosch at dovecot.fi>
  Date:   2018-10-09 (Tue, 09 Oct 2018)

  Changed paths:
    M src/submission/cmd-rset.c
    M src/submission/submission-commands.h

  Log Message:
  -----------
  submission: Split the RSET command into a generic part and a part related to relaying to an MTA.


  Commit: cb06770f4c6608ff2b43ba2122d81c8923a5cc83
      https://github.com/dovecot/core/commit/cb06770f4c6608ff2b43ba2122d81c8923a5cc83
  Author: Stephan Bosch <stephan.bosch at dovecot.fi>
  Date:   2018-10-09 (Tue, 09 Oct 2018)

  Changed paths:
    M src/submission/cmd-data.c
    M src/submission/submission-commands.h

  Log Message:
  -----------
  submission: Split the DATA command into a generic part and a part related to relaying to an MTA.


  Commit: 215de7eb806ff599bc8b4a7d87126c52e5b14b1a
      https://github.com/dovecot/core/commit/215de7eb806ff599bc8b4a7d87126c52e5b14b1a
  Author: Stephan Bosch <stephan.bosch at dovecot.fi>
  Date:   2018-10-09 (Tue, 09 Oct 2018)

  Changed paths:
    M src/submission/cmd-vrfy.c
    M src/submission/submission-commands.h

  Log Message:
  -----------
  submission: Split the VRFY command into a generic part and a part related to relaying to an MTA.


  Commit: a033a0ab6028635f5c7c5baaff22c00257e1ac4f
      https://github.com/dovecot/core/commit/a033a0ab6028635f5c7c5baaff22c00257e1ac4f
  Author: Stephan Bosch <stephan.bosch at dovecot.fi>
  Date:   2018-10-09 (Tue, 09 Oct 2018)

  Changed paths:
    M src/submission/cmd-noop.c
    M src/submission/submission-commands.h

  Log Message:
  -----------
  submission: Split the NOOP command into a generic part and a part related to relaying to an MTA.


  Commit: f41711cdd56fc6494ad89dc71e5e52d8b22eb745
      https://github.com/dovecot/core/commit/f41711cdd56fc6494ad89dc71e5e52d8b22eb745
  Author: Stephan Bosch <stephan.bosch at dovecot.fi>
  Date:   2018-10-09 (Tue, 09 Oct 2018)

  Changed paths:
    M src/submission/cmd-quit.c
    M src/submission/submission-commands.h

  Log Message:
  -----------
  submission: Split the QUIT command into a generic part and a part related to relaying to an MTA.


  Commit: 603f5bef73721dc7ed803bc1ad5df6a6da1462c9
      https://github.com/dovecot/core/commit/603f5bef73721dc7ed803bc1ad5df6a6da1462c9
  Author: Stephan Bosch <stephan.bosch at dovecot.fi>
  Date:   2018-10-09 (Tue, 09 Oct 2018)

  Changed paths:
    M src/submission/cmd-helo.c
    M src/submission/submission-commands.c

  Log Message:
  -----------
  submission: Move generic part of HELO/EHLO command to submission-commands.c.


  Commit: 3866e0f5ca3221cad4d716a8eec44de1a430f748
      https://github.com/dovecot/core/commit/3866e0f5ca3221cad4d716a8eec44de1a430f748
  Author: Stephan Bosch <stephan.bosch at dovecot.fi>
  Date:   2018-10-09 (Tue, 09 Oct 2018)

  Changed paths:
    M src/submission/Makefile.am
    R src/submission/cmd-helo.c
    M src/submission/submission-backend-relay.c
    A src/submission/submission-backend-relay.h
    M src/submission/submission-commands.c
    M src/submission/submission-commands.h

  Log Message:
  -----------
  submission: Move relay part of HELO/EHLO command to submission-backend-relay.c.


  Commit: 5eedfc33980494646a6e45dd82fa4800797036f8
      https://github.com/dovecot/core/commit/5eedfc33980494646a6e45dd82fa4800797036f8
  Author: Stephan Bosch <stephan.bosch at dovecot.fi>
  Date:   2018-10-09 (Tue, 09 Oct 2018)

  Changed paths:
    M src/submission/cmd-mail.c
    M src/submission/submission-commands.c

  Log Message:
  -----------
  submission: Move generic part of MAIL command to submission-commands.c.


  Commit: 5411aba100528d10d24e79a6957341167abcb019
      https://github.com/dovecot/core/commit/5411aba100528d10d24e79a6957341167abcb019
  Author: Stephan Bosch <stephan.bosch at dovecot.fi>
  Date:   2018-10-09 (Tue, 09 Oct 2018)

  Changed paths:
    M src/submission/Makefile.am
    R src/submission/cmd-mail.c
    M src/submission/submission-backend-relay.c
    M src/submission/submission-backend-relay.h
    M src/submission/submission-commands.h

  Log Message:
  -----------
  submission: Move relay part of MAIL command to submission-backend-relay.c.


  Commit: dc219bec45ac7e852aa0acc3110396430319589e
      https://github.com/dovecot/core/commit/dc219bec45ac7e852aa0acc3110396430319589e
  Author: Stephan Bosch <stephan.bosch at dovecot.fi>
  Date:   2018-10-09 (Tue, 09 Oct 2018)

  Changed paths:
    M src/submission/cmd-rcpt.c
    M src/submission/submission-commands.c

  Log Message:
  -----------
  submission: Move generic part of RCPT command to submission-commands.c.


  Commit: 56b9a1e36593618fc26f331e09e56b413d53510b
      https://github.com/dovecot/core/commit/56b9a1e36593618fc26f331e09e56b413d53510b
  Author: Stephan Bosch <stephan.bosch at dovecot.fi>
  Date:   2018-10-09 (Tue, 09 Oct 2018)

  Changed paths:
    M src/submission/Makefile.am
    R src/submission/cmd-rcpt.c
    M src/submission/submission-backend-relay.c
    M src/submission/submission-backend-relay.h
    M src/submission/submission-commands.h

  Log Message:
  -----------
  submission: Move relay part of RCPT command to submission-backend-relay.c.


  Commit: 8fa4f9b23bb1441bef6607892ef18a13eef0ea9b
      https://github.com/dovecot/core/commit/8fa4f9b23bb1441bef6607892ef18a13eef0ea9b
  Author: Stephan Bosch <stephan.bosch at dovecot.fi>
  Date:   2018-10-09 (Tue, 09 Oct 2018)

  Changed paths:
    M src/submission/cmd-rset.c
    M src/submission/submission-commands.c

  Log Message:
  -----------
  submission: Move generic part of RSET command to submission-commands.c.


  Commit: 0cf0912957541e0a4bdfdc3faa54454850dd4f6d
      https://github.com/dovecot/core/commit/0cf0912957541e0a4bdfdc3faa54454850dd4f6d
  Author: Stephan Bosch <stephan.bosch at dovecot.fi>
  Date:   2018-10-09 (Tue, 09 Oct 2018)

  Changed paths:
    M src/submission/Makefile.am
    R src/submission/cmd-rset.c
    M src/submission/submission-backend-relay.c
    M src/submission/submission-backend-relay.h
    M src/submission/submission-commands.h

  Log Message:
  -----------
  submission: Move relay part of RSET command to submission-backend-relay.c.


  Commit: 799b2eee40919ff82f032c803bdde125e2334f50
      https://github.com/dovecot/core/commit/799b2eee40919ff82f032c803bdde125e2334f50
  Author: Stephan Bosch <stephan.bosch at dovecot.fi>
  Date:   2018-10-09 (Tue, 09 Oct 2018)

  Changed paths:
    M src/submission/cmd-data.c
    M src/submission/submission-commands.c

  Log Message:
  -----------
  submission: Move generic part of DATA command to submission-commands.c.


  Commit: fff1a8b87e61d05f11b882712b11337dd95793f9
      https://github.com/dovecot/core/commit/fff1a8b87e61d05f11b882712b11337dd95793f9
  Author: Stephan Bosch <stephan.bosch at dovecot.fi>
  Date:   2018-10-09 (Tue, 09 Oct 2018)

  Changed paths:
    M src/submission/cmd-data.c
    M src/submission/submission-backend-relay.c
    M src/submission/submission-backend-relay.h
    M src/submission/submission-commands.h

  Log Message:
  -----------
  submission: Move relay part of DATA command to submission-backend-relay.c.


  Commit: 8e39aade3f920620de5d22f30799c2f744c24002
      https://github.com/dovecot/core/commit/8e39aade3f920620de5d22f30799c2f744c24002
  Author: Stephan Bosch <stephan.bosch at dovecot.fi>
  Date:   2018-10-09 (Tue, 09 Oct 2018)

  Changed paths:
    M src/submission/Makefile.am
    R src/submission/cmd-data.c
    M src/submission/submission-commands.c

  Log Message:
  -----------
  submission: Move BURL command implementation to submission-commands.c.


  Commit: 9fafcd5455a2ff8f6a85366248b7040c4eb2641d
      https://github.com/dovecot/core/commit/9fafcd5455a2ff8f6a85366248b7040c4eb2641d
  Author: Stephan Bosch <stephan.bosch at dovecot.fi>
  Date:   2018-10-09 (Tue, 09 Oct 2018)

  Changed paths:
    M src/submission/cmd-vrfy.c
    M src/submission/submission-commands.c

  Log Message:
  -----------
  submission: Move generic part of VRFY command to submission-commands.c.


  Commit: 39a9bb235128235b9c2373644fb2a78f463373f6
      https://github.com/dovecot/core/commit/39a9bb235128235b9c2373644fb2a78f463373f6
  Author: Stephan Bosch <stephan.bosch at dovecot.fi>
  Date:   2018-10-09 (Tue, 09 Oct 2018)

  Changed paths:
    M src/submission/Makefile.am
    R src/submission/cmd-vrfy.c
    M src/submission/submission-backend-relay.c
    M src/submission/submission-backend-relay.h
    M src/submission/submission-commands.h

  Log Message:
  -----------
  submission: Move relay part of VRFY command to submission-backend-relay.c.


  Commit: 371893e1e9fe04890a1f4e49615b2198e7367589
      https://github.com/dovecot/core/commit/371893e1e9fe04890a1f4e49615b2198e7367589
  Author: Stephan Bosch <stephan.bosch at dovecot.fi>
  Date:   2018-10-09 (Tue, 09 Oct 2018)

  Changed paths:
    M src/submission/cmd-noop.c
    M src/submission/submission-commands.c

  Log Message:
  -----------
  submission: Move generic part of NOOP command to submission-commands.c.


  Commit: 4db72b61f38e393dc35aa46e828cd4aa2eb6b8e4
      https://github.com/dovecot/core/commit/4db72b61f38e393dc35aa46e828cd4aa2eb6b8e4
  Author: Stephan Bosch <stephan.bosch at dovecot.fi>
  Date:   2018-10-09 (Tue, 09 Oct 2018)

  Changed paths:
    M src/submission/Makefile.am
    R src/submission/cmd-noop.c
    M src/submission/submission-backend-relay.c
    M src/submission/submission-backend-relay.h
    M src/submission/submission-commands.h

  Log Message:
  -----------
  submission: Move relay part of NOOP command to submission-backend-relay.c.


  Commit: cdb809b5df6b8f47bc6a176240e57ca66c7c0c1d
      https://github.com/dovecot/core/commit/cdb809b5df6b8f47bc6a176240e57ca66c7c0c1d
  Author: Stephan Bosch <stephan.bosch at dovecot.fi>
  Date:   2018-10-09 (Tue, 09 Oct 2018)

  Changed paths:
    M src/submission/cmd-quit.c
    M src/submission/submission-commands.c

  Log Message:
  -----------
  submission: Move generic part of QUIT command to submission-commands.c.


  Commit: b7cceeef8326fd69b6233ac323ffe10afbe4421c
      https://github.com/dovecot/core/commit/b7cceeef8326fd69b6233ac323ffe10afbe4421c
  Author: Stephan Bosch <stephan.bosch at dovecot.fi>
  Date:   2018-10-09 (Tue, 09 Oct 2018)

  Changed paths:
    M src/submission/Makefile.am
    R src/submission/cmd-quit.c
    M src/submission/submission-backend-relay.c
    M src/submission/submission-backend-relay.h
    M src/submission/submission-commands.h

  Log Message:
  -----------
  submission: Move relay part of QUIT command to submission-backend-relay.c.


  Commit: 9f7368a90a554734382983e18e5f6e068985b77b
      https://github.com/dovecot/core/commit/9f7368a90a554734382983e18e5f6e068985b77b
  Author: Stephan Bosch <stephan.bosch at dovecot.fi>
  Date:   2018-10-09 (Tue, 09 Oct 2018)

  Changed paths:
    M src/submission/submission-client.c
    M src/submission/submission-client.h

  Log Message:
  -----------
  submission: Remove client_proxy_is_ready().

It is not used anywhere.


  Commit: 09a9afbafe50695c3fee1a642ae87dfb2f1c3e4a
      https://github.com/dovecot/core/commit/09a9afbafe50695c3fee1a642ae87dfb2f1c3e4a
  Author: Stephan Bosch <stephan.bosch at dovecot.fi>
  Date:   2018-10-09 (Tue, 09 Oct 2018)

  Changed paths:
    M src/submission/submission-client.c
    M src/submission/submission-client.h

  Log Message:
  -----------
  submission: Remove client_proxy_is_disconnected().

It is not used anywhere.


  Commit: dd441ab58d06a5ce7fc247c441a8a4b79280918e
      https://github.com/dovecot/core/commit/dd441ab58d06a5ce7fc247c441a8a4b79280918e
  Author: Stephan Bosch <stephan.bosch at dovecot.fi>
  Date:   2018-10-09 (Tue, 09 Oct 2018)

  Changed paths:
    M src/submission/submission-client.c

  Log Message:
  -----------
  submission: Split off starting the relay connection in a separate function.


  Commit: b8770ef6ad09628e95c61b61a7dc4c5d982a2fce
      https://github.com/dovecot/core/commit/b8770ef6ad09628e95c61b61a7dc4c5d982a2fce
  Author: Stephan Bosch <stephan.bosch at dovecot.fi>
  Date:   2018-10-09 (Tue, 09 Oct 2018)

  Changed paths:
    M src/submission/submission-client.c

  Log Message:
  -----------
  submission: Split off closing the relay connection in a separate function.


  Commit: 74786deea14fbb830ff21823a932ce9576c7f6e0
      https://github.com/dovecot/core/commit/74786deea14fbb830ff21823a932ce9576c7f6e0
  Author: Stephan Bosch <stephan.bosch at dovecot.fi>
  Date:   2018-10-09 (Tue, 09 Oct 2018)

  Changed paths:
    M src/submission/submission-client.c

  Log Message:
  -----------
  submission: Split off corking and uncorking the relay connection in a separate function.


  Commit: 6373b8abfb9fdcd6dece93f289d44e56cf19ef17
      https://github.com/dovecot/core/commit/6373b8abfb9fdcd6dece93f289d44e56cf19ef17
  Author: Stephan Bosch <stephan.bosch at dovecot.fi>
  Date:   2018-10-09 (Tue, 09 Oct 2018)

  Changed paths:
    M src/submission/submission-client.c

  Log Message:
  -----------
  submission: Split off obtaining the relay connection capabilities into a separate function.


  Commit: ead1dcbedb0d284b1d12700ba75dedbcf1a66d45
      https://github.com/dovecot/core/commit/ead1dcbedb0d284b1d12700ba75dedbcf1a66d45
  Author: Stephan Bosch <stephan.bosch at dovecot.fi>
  Date:   2018-10-09 (Tue, 09 Oct 2018)

  Changed paths:
    M src/submission/submission-backend-relay.c
    M src/submission/submission-backend-relay.h
    M src/submission/submission-client.c

  Log Message:
  -----------
  submission: Move client_proxy_start() to submission-backend-relay.c.


  Commit: 88b9ea370d1d07dbcd1398fa40a90fe5739ce497
      https://github.com/dovecot/core/commit/88b9ea370d1d07dbcd1398fa40a90fe5739ce497
  Author: Stephan Bosch <stephan.bosch at dovecot.fi>
  Date:   2018-10-09 (Tue, 09 Oct 2018)

  Changed paths:
    M src/submission/submission-backend-relay.c
    M src/submission/submission-backend-relay.h
    M src/submission/submission-client.c

  Log Message:
  -----------
  submission: Move client_proxy_create() to submission-backend-relay.c.


  Commit: 34714d9fcdcfa042cf2dd4aa845afc3d242f5b87
      https://github.com/dovecot/core/commit/34714d9fcdcfa042cf2dd4aa845afc3d242f5b87
  Author: Stephan Bosch <stephan.bosch at dovecot.fi>
  Date:   2018-10-09 (Tue, 09 Oct 2018)

  Changed paths:
    M src/submission/submission-backend-relay.c
    M src/submission/submission-backend-relay.h
    M src/submission/submission-client.c

  Log Message:
  -----------
  submission: Move client_proxy_destroy() to submission-backend-relay.c.


  Commit: 87c64fe0941e4d7ab9043927f8bd3dd51aec5fe4
      https://github.com/dovecot/core/commit/87c64fe0941e4d7ab9043927f8bd3dd51aec5fe4
  Author: Stephan Bosch <stephan.bosch at dovecot.fi>
  Date:   2018-10-09 (Tue, 09 Oct 2018)

  Changed paths:
    M src/submission/submission-backend-relay.c
    M src/submission/submission-backend-relay.h
    M src/submission/submission-client.c

  Log Message:
  -----------
  submission: Move client_proxy_input_pre/post() to submission-backend-relay.c.


  Commit: 89952b0c2c02cb41d90a14f6de447366aa52a26a
      https://github.com/dovecot/core/commit/89952b0c2c02cb41d90a14f6de447366aa52a26a
  Author: Stephan Bosch <stephan.bosch at dovecot.fi>
  Date:   2018-10-09 (Tue, 09 Oct 2018)

  Changed paths:
    M src/submission/submission-backend-relay.c
    M src/submission/submission-backend-relay.h
    M src/submission/submission-client.c

  Log Message:
  -----------
  submission: Move client_proxy_get_max_mail_size() to submission-backend-relay.c.


  Commit: 9f41081ff199f4600bd82b848421ab80ecd77eff
      https://github.com/dovecot/core/commit/9f41081ff199f4600bd82b848421ab80ecd77eff
  Author: Stephan Bosch <stephan.bosch at dovecot.fi>
  Date:   2018-10-09 (Tue, 09 Oct 2018)

  Changed paths:
    M src/submission/Makefile.am
    M src/submission/submission-backend-relay.c
    M src/submission/submission-backend-relay.h
    A src/submission/submission-backend.h
    M src/submission/submission-client.h
    M src/submission/submission-commands.c

  Log Message:
  -----------
  submission: Move relay-related client fields to separate backend struct.


  Commit: d7e57d985137930ed0aa30c7ef911c1afb9bc1a4
      https://github.com/dovecot/core/commit/d7e57d985137930ed0aa30c7ef911c1afb9bc1a4
  Author: Stephan Bosch <stephan.bosch at dovecot.fi>
  Date:   2018-10-09 (Tue, 09 Oct 2018)

  Changed paths:
    M src/submission/submission-backend-relay.c

  Log Message:
  -----------
  submission: relay backend: Use pointer to backend rather than client in command contexts.


  Commit: 656fdfa4abd3e62d570c4469c14fbf12921093f4
      https://github.com/dovecot/core/commit/656fdfa4abd3e62d570c4469c14fbf12921093f4
  Author: Stephan Bosch <stephan.bosch at dovecot.fi>
  Date:   2018-10-09 (Tue, 09 Oct 2018)

  Changed paths:
    M src/submission/submission-backend-relay.c

  Log Message:
  -----------
  submission: relay backend: Add 'relay_' prefix to command functions and structs.


  Commit: 70cd6d4e24b7c3205e8e9a6eb44f27757dc216d5
      https://github.com/dovecot/core/commit/70cd6d4e24b7c3205e8e9a6eb44f27757dc216d5
  Author: Stephan Bosch <stephan.bosch at dovecot.fi>
  Date:   2018-10-09 (Tue, 09 Oct 2018)

  Changed paths:
    M src/submission/submission-backend-relay.c

  Log Message:
  -----------
  submission: relay backend: Rename *_proxy_cb() to *_callback().


  Commit: 00e398c45f3c86a53efc467804a9da3f3223263e
      https://github.com/dovecot/core/commit/00e398c45f3c86a53efc467804a9da3f3223263e
  Author: Stephan Bosch <stephan.bosch at dovecot.fi>
  Date:   2018-10-09 (Tue, 09 Oct 2018)

  Changed paths:
    M src/submission/submission-backend-relay.c
    M src/submission/submission-commands.h

  Log Message:
  -----------
  submission: relay backend: Rename client_command_handle_proxy_reply() to backend_relay_handle_relay_reply().

Also make it accept the backend rather than the client struct.


  Commit: 9b8a53ec239bc6ae82f85f35d619a8b625ff4f42
      https://github.com/dovecot/core/commit/9b8a53ec239bc6ae82f85f35d619a8b625ff4f42
  Author: Stephan Bosch <stephan.bosch at dovecot.fi>
  Date:   2018-10-09 (Tue, 09 Oct 2018)

  Changed paths:
    M src/submission/submission-backend-relay.c

  Log Message:
  -----------
  submission: relay backend: Change almost all occurrences of 'proxy' to 'relay'.

This makes the naming consistent with the name of the backend. Only the lib-smtp
proxy_data is not renamed.


  Commit: 8316a82c4b81a3032cf128dbc523f1b3160acd59
      https://github.com/dovecot/core/commit/8316a82c4b81a3032cf128dbc523f1b3160acd59
  Author: Stephan Bosch <stephan.bosch at dovecot.fi>
  Date:   2018-10-09 (Tue, 09 Oct 2018)

  Changed paths:
    M src/submission/submission-backend-relay.c

  Log Message:
  -----------
  submission: Reformat submission-backend-relay.c.


  Commit: 35f368bc9122748e8085b8b525115874ca315037
      https://github.com/dovecot/core/commit/35f368bc9122748e8085b8b525115874ca315037
  Author: Stephan Bosch <stephan.bosch at dovecot.fi>
  Date:   2018-10-09 (Tue, 09 Oct 2018)

  Changed paths:
    M src/submission/Makefile.am
    M src/submission/submission-client.c
    M src/submission/submission-client.h
    M src/submission/submission-commands.c
    A src/submission/submission-recipient.c
    A src/submission/submission-recipient.h

  Log Message:
  -----------
  submission: Record accepted recipients in the client object.

Allows associating context with recipients in future changes.


  Commit: 1f6ddc6429fa8671f77b63e2e80ee093ddefcf49
      https://github.com/dovecot/core/commit/1f6ddc6429fa8671f77b63e2e80ee093ddefcf49
  Author: Stephan Bosch <stephan.bosch at dovecot.fi>
  Date:   2018-10-09 (Tue, 09 Oct 2018)

  Changed paths:
    M src/submission/submission-client.c

  Log Message:
  -----------
  submission: client: Simplifly calculation of max mail size.


  Commit: b06f9d7b915432d172751c0722ad6785788c056e
      https://github.com/dovecot/core/commit/b06f9d7b915432d172751c0722ad6785788c056e
  Author: Stephan Bosch <stephan.bosch at dovecot.fi>
  Date:   2018-10-09 (Tue, 09 Oct 2018)

  Changed paths:
    M src/lib-smtp/smtp-common.c
    M src/lib-smtp/smtp-common.h

  Log Message:
  -----------
  lib-smtp: Add utility function for finding capabilities by name.


  Commit: 6ca6ecbe92d33a3b000f390727242a73d03a925c
      https://github.com/dovecot/core/commit/6ca6ecbe92d33a3b000f390727242a73d03a925c
  Author: Stephan Bosch <stephan.bosch at dovecot.fi>
  Date:   2018-10-09 (Tue, 09 Oct 2018)

  Changed paths:
    M src/lib-smtp/smtp-client.h

  Log Message:
  -----------
  lib-smtp: client: Document the forced_capabilities setting.


  Commit: ae86163a2e975a463726f7a0e56943cab907a30a
      https://github.com/dovecot/core/commit/ae86163a2e975a463726f7a0e56943cab907a30a
  Author: Stephan Bosch <stephan.bosch at dovecot.fi>
  Date:   2018-10-09 (Tue, 09 Oct 2018)

  Changed paths:
    M src/lib-smtp/smtp-client-connection.c

  Log Message:
  -----------
  lib-smtp: client: Use the new smtp_capability_find_by_name() function.


  Commit: 86d15f862c26e48fd1a63a0201dd3acc9135d094
      https://github.com/dovecot/core/commit/86d15f862c26e48fd1a63a0201dd3acc9135d094
  Author: Stephan Bosch <stephan.bosch at dovecot.fi>
  Date:   2018-10-09 (Tue, 09 Oct 2018)

  Changed paths:
    M src/submission/submission-backend-relay.c

  Log Message:
  -----------
  submission: commands: Expect connection setup errors from relaying commands.

Subsequent changes remove the guarantee that the connection is setup successfuly
(to gain EHLO capabilities) before commands are submitted. This means that the
callbacks from commands can thereafter return connection setup errors as well.


  Commit: 9814a40148a587baec065adb5c47325d2fa2d559
      https://github.com/dovecot/core/commit/9814a40148a587baec065adb5c47325d2fa2d559
  Author: Stephan Bosch <stephan.bosch at dovecot.fi>
  Date:   2018-10-09 (Tue, 09 Oct 2018)

  Changed paths:
    M src/submission/submission-backend-relay.c
    M src/submission/submission-backend-relay.h
    M src/submission/submission-client.c
    M src/submission/submission-client.h
    M src/submission/submission-commands.c
    M src/submission/submission-settings.c
    M src/submission/submission-settings.h

  Log Message:
  -----------
  submission: Add submission_backend_capabilities setting.

This can be used to specify which capabilities the (relay) backend supports,
avoiding the need to query the backend explicitly before the EHLO reply is sent
to the client.


  Commit: 044f30bd8fe85848da6a51287540f20bee7d06fa
      https://github.com/dovecot/core/commit/044f30bd8fe85848da6a51287540f20bee7d06fa
  Author: Stephan Bosch <stephan.bosch at dovecot.fi>
  Date:   2018-10-09 (Tue, 09 Oct 2018)

  Changed paths:
    M src/submission/Makefile.am
    A src/submission/submission-backend.c
    M src/submission/submission-backend.h
    M src/submission/submission-client.c
    M src/submission/submission-client.h

  Log Message:
  -----------
  submission: Define generic backend API.


  Commit: 860f7540bb74be7a2b65992e4c6a71ada23dca69
      https://github.com/dovecot/core/commit/860f7540bb74be7a2b65992e4c6a71ada23dca69
  Author: Stephan Bosch <stephan.bosch at dovecot.fi>
  Date:   2018-10-09 (Tue, 09 Oct 2018)

  Changed paths:
    M src/submission/submission-backend.c
    M src/submission/submission-client.c
    M src/submission/submission-client.h

  Log Message:
  -----------
  submission: client: Create default backend in a separate function.


  Commit: 54dafcf1b6a8d29b640054498126279f8cb15e6d
      https://github.com/dovecot/core/commit/54dafcf1b6a8d29b640054498126279f8cb15e6d
  Author: Stephan Bosch <stephan.bosch at dovecot.fi>
  Date:   2018-10-09 (Tue, 09 Oct 2018)

  Changed paths:
    M src/submission/submission-backend-relay.c
    M src/submission/submission-backend-relay.h
    M src/submission/submission-commands.c

  Log Message:
  -----------
  submission: relay backend: Turn SMTP command functions into relay backend vfuncs.


  Commit: 029567d73249dedebc5210d97f13a14e8520c625
      https://github.com/dovecot/core/commit/029567d73249dedebc5210d97f13a14e8520c625
  Author: Stephan Bosch <stephan.bosch at dovecot.fi>
  Date:   2018-10-09 (Tue, 09 Oct 2018)

  Changed paths:
    M src/submission/submission-backend-relay.c
    M src/submission/submission-backend-relay.h
    M src/submission/submission-client.c

  Log Message:
  -----------
  submission: relay backend: Turn client_proxy_destroy() into a relay backend vfunc.


  Commit: 0fc5353c0c1c8786d5c0012369e29aa4471aa11b
      https://github.com/dovecot/core/commit/0fc5353c0c1c8786d5c0012369e29aa4471aa11b
  Author: Stephan Bosch <stephan.bosch at dovecot.fi>
  Date:   2018-10-09 (Tue, 09 Oct 2018)

  Changed paths:
    M src/submission/submission-backend-relay.c
    M src/submission/submission-backend-relay.h
    M src/submission/submission-client.c

  Log Message:
  -----------
  submission: relay backend: Turn client_proxy_start() into a relay backend vfunc.


  Commit: a3607047c6d51f5465ae4cf11efe78b28940c5e6
      https://github.com/dovecot/core/commit/a3607047c6d51f5465ae4cf11efe78b28940c5e6
  Author: Stephan Bosch <stephan.bosch at dovecot.fi>
  Date:   2018-10-09 (Tue, 09 Oct 2018)

  Changed paths:
    M src/submission/submission-backend-relay.c
    M src/submission/submission-backend-relay.h
    M src/submission/submission-client.c

  Log Message:
  -----------
  submission: relay backend: Turn client_proxy_input_pre/post() into relay backend vfuncs.


  Commit: 0f2963e04578e64373f631da137271ca2682e368
      https://github.com/dovecot/core/commit/0f2963e04578e64373f631da137271ca2682e368
  Author: Stephan Bosch <stephan.bosch at dovecot.fi>
  Date:   2018-10-09 (Tue, 09 Oct 2018)

  Changed paths:
    M src/submission/submission-backend-relay.c
    M src/submission/submission-backend-relay.h
    M src/submission/submission-client.c

  Log Message:
  -----------
  submission: relay backend: Turn client_get_max_mail_size() into a relay backend vfunc.


  Commit: 03c230d20808be53a427aba34a8ccd4870af945e
      https://github.com/dovecot/core/commit/03c230d20808be53a427aba34a8ccd4870af945e
  Author: Stephan Bosch <stephan.bosch at dovecot.fi>
  Date:   2018-10-09 (Tue, 09 Oct 2018)

  Changed paths:
    M src/submission/submission-backend-relay.c
    M src/submission/submission-backend-relay.h
    M src/submission/submission-client.c
    M src/submission/submission-client.h

  Log Message:
  -----------
  submission: relay backend: Turn client_proxy_create() into a proper backend constructor.


  Commit: 08551fedc1f1fe4043fadc04d4721bc3fcd95e14
      https://github.com/dovecot/core/commit/08551fedc1f1fe4043fadc04d4721bc3fcd95e14
  Author: Stephan Bosch <stephan.bosch at dovecot.fi>
  Date:   2018-10-09 (Tue, 09 Oct 2018)

  Changed paths:
    M src/submission/submission-backend-relay.c
    M src/submission/submission-backend-relay.h

  Log Message:
  -----------
  submission: relay backend: Make struct submission_backend_relay private.


  Commit: 0917f428cb979796392f646f323645b912b1bee1
      https://github.com/dovecot/core/commit/0917f428cb979796392f646f323645b912b1bee1
  Author: Stephan Bosch <stephan.bosch at dovecot.fi>
  Date:   2018-10-09 (Tue, 09 Oct 2018)

  Changed paths:
    M src/submission/submission-backend-relay.c
    M src/submission/submission-backend-relay.h
    M src/submission/submission-client.c

  Log Message:
  -----------
  submission: relay backend: Use backend-specific settings rather than the generic submission service settings.

This way, several relay backends can be operated together with different
settings.


  Commit: a8569e12b947d5b2cbd118d72b7ba6e0a0d7951b
      https://github.com/dovecot/core/commit/a8569e12b947d5b2cbd118d72b7ba6e0a0d7951b
  Author: Stephan Bosch <stephan.bosch at dovecot.fi>
  Date:   2018-10-09 (Tue, 09 Oct 2018)

  Changed paths:
    M src/submission/submission-commands.c

  Log Message:
  -----------
  submission: DATA command: Obtain the size of the buffered data from the stream position rather than using i_stream_get_size().


  Commit: dcc3b5157d7144539a93d7d42f4db730efcff420
      https://github.com/dovecot/core/commit/dcc3b5157d7144539a93d7d42f4db730efcff420
  Author: Stephan Bosch <stephan.bosch at dovecot.fi>
  Date:   2018-10-09 (Tue, 09 Oct 2018)

  Changed paths:
    M src/submission/submission-backend-relay.c
    M src/submission/submission-backend.c
    M src/submission/submission-backend.h
    M src/submission/submission-commands.c

  Log Message:
  -----------
  submission: DATA command: Pass the total size of the data stream to the backend.


  Commit: 2c66ae1280307b1258ea77bcf03b30f5117a454f
      https://github.com/dovecot/core/commit/2c66ae1280307b1258ea77bcf03b30f5117a454f
  Author: Stephan Bosch <stephan.bosch at dovecot.fi>
  Date:   2018-10-09 (Tue, 09 Oct 2018)

  Changed paths:
    M src/submission/submission-backend.c
    M src/submission/submission-client.h
    M src/submission/submission-commands.c

  Log Message:
  -----------
  submission: Record main backend for the transaction.

This is a preparation for plugins overriding the default backend for a transaction.


  Commit: 7fc7e66e951211b472cd58d098c9b6a251070fe0
      https://github.com/dovecot/core/commit/7fc7e66e951211b472cd58d098c9b6a251070fe0
  Author: Stephan Bosch <stephan.bosch at dovecot.fi>
  Date:   2018-10-09 (Tue, 09 Oct 2018)

  Changed paths:
    M src/submission/submission-backend.c
    M src/submission/submission-backend.h
    M src/submission/submission-client.c
    M src/submission/submission-client.h
    M src/submission/submission-commands.c
    M src/submission/submission-recipient.c
    M src/submission/submission-recipient.h

  Log Message:
  -----------
  submission: Record backend used for each recipient.

This is a preparation for plugins overriding the default backend for a recipient.


  Commit: 694365517b13f4a45d091670481f48584b797235
      https://github.com/dovecot/core/commit/694365517b13f4a45d091670481f48584b797235
  Author: Stephan Bosch <stephan.bosch at dovecot.fi>
  Date:   2018-10-09 (Tue, 09 Oct 2018)

  Changed paths:
    M src/submission/submission-backend.c
    M src/submission/submission-backend.h
    M src/submission/submission-client.c
    M src/submission/submission-commands.c

  Log Message:
  -----------
  submission: backends: Add trans_start() and trans_free() vfuncs.

These are called when the SMTP transaction is started and freed respectively.


Compare: https://github.com/dovecot/core/compare/395e41c593bc...694365517b13
      **NOTE:** This service has been marked for deprecation: https://developer.github.com/changes/2018-04-25-github-services-deprecation/

      Functionality will be removed from GitHub.com on January 31st, 2019.


More information about the dovecot-cvs mailing list