[dovecot/core] faf72e: lmtp: Reformat commands.h.

GitHub noreply at github.com
Thu Oct 11 17:00:13 EEST 2018


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

  Changed paths:
    M src/lmtp/commands.h

  Log Message:
  -----------
  lmtp: Reformat commands.h.


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

  Changed paths:
    M src/lmtp/lmtp-local.c

  Log Message:
  -----------
  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.


  Commit: 325ae4e4d806c06182f1609d7ac771663b35182a
      https://github.com/dovecot/core/commit/325ae4e4d806c06182f1609d7ac771663b35182a
  Author: Stephan Bosch <stephan.bosch at dovecot.fi>
  Date:   2018-10-11 (Thu, 11 Oct 2018)

  Changed paths:
    M src/lmtp/lmtp-common.c
    M src/lmtp/lmtp-common.h

  Log Message:
  -----------
  lmtp: common: Rename struct lmtp_recipient *rcpt variables to *lrcpt.


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

  Changed paths:
    M src/lmtp/lmtp-proxy.c

  Log Message:
  -----------
  lmtp: proxy: Rename struct lmtp_proxy_recipient *rcpt variables to *lprcpt.


  Commit: 569604a2f827fd092da346b454fba887369dd5d6
      https://github.com/dovecot/core/commit/569604a2f827fd092da346b454fba887369dd5d6
  Author: Stephan Bosch <stephan.bosch at dovecot.fi>
  Date:   2018-10-11 (Thu, 11 Oct 2018)

  Changed paths:
    M src/lmtp/lmtp-local.c

  Log Message:
  -----------
  lmtp: local: Rename struct lmtp_local_recipient *rcpt variables to *llrcpt.


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

  Changed paths:
    M src/lmtp/lmtp-common.c
    M src/lmtp/lmtp-common.h
    M src/lmtp/lmtp-local.c
    M src/lmtp/lmtp-proxy.c

  Log Message:
  -----------
  lmtp: Rename struct smtp_server_recipient *trcpt variables to *rcpt.


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

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

  Log Message:
  -----------
  submission: Rename struct submission_recipient *rcpt variables to *srcpt.


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

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

  Log Message:
  -----------
  submission: Rename struct smtp_server_recipient *trcpt variables to *rcpt.


  Commit: 994be519d4f81150089ae1391fe5dff3a21cc597
      https://github.com/dovecot/core/commit/994be519d4f81150089ae1391fe5dff3a21cc597
  Author: Stephan Bosch <stephan.bosch at dovecot.fi>
  Date:   2018-10-11 (Thu, 11 Oct 2018)

  Changed paths:
    M src/lib-smtp/Makefile.am
    M src/lib-smtp/smtp-server-cmd-rcpt.c
    M src/lib-smtp/smtp-server-private.h
    A src/lib-smtp/smtp-server-recipient.c
    M src/lib-smtp/smtp-server-transaction.c
    M src/lib-smtp/smtp-server.h

  Log Message:
  -----------
  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.


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

  Changed paths:
    M src/lib-smtp/smtp-server-private.h
    M src/lib-smtp/smtp-server-recipient.c
    M src/lib-smtp/smtp-server.h

  Log Message:
  -----------
  lib-smtp: server: Add hooks API for recipient.


  Commit: 53023a72ad238ded5413fccff0bc00e6c5e7e740
      https://github.com/dovecot/core/commit/53023a72ad238ded5413fccff0bc00e6c5e7e740
  Author: Stephan Bosch <stephan.bosch at dovecot.fi>
  Date:   2018-10-11 (Thu, 11 Oct 2018)

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

  Log Message:
  -----------
  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.


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

  Changed paths:
    M src/lib-smtp/smtp-server-cmd-rcpt.c
    M src/lib-smtp/smtp-server.h
    M src/lib-smtp/test-smtp-payload.c
    M src/lib-smtp/test-smtp-server-errors.c
    M src/lmtp/commands.c
    M src/lmtp/commands.h
    M src/lmtp/lmtp-common.c
    M src/lmtp/lmtp-common.h
    M src/lmtp/lmtp-local.c
    M src/lmtp/lmtp-local.h
    M src/lmtp/lmtp-proxy.c
    M src/lmtp/lmtp-proxy.h
    M src/submission/submission-backend-relay.c
    M src/submission/submission-backend.c
    M src/submission/submission-backend.h
    M src/submission/submission-client.h
    M src/submission/submission-commands.c
    M src/submission/submission-commands.h

  Log Message:
  -----------
  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.


  Commit: 078a025291701f0993732b1cc0de548c82736d80
      https://github.com/dovecot/core/commit/078a025291701f0993732b1cc0de548c82736d80
  Author: Stephan Bosch <stephan.bosch at dovecot.fi>
  Date:   2018-10-11 (Thu, 11 Oct 2018)

  Changed paths:
    M src/lmtp/lmtp-common.h
    M src/lmtp/lmtp-local.c
    M src/lmtp/lmtp-proxy.c

  Log Message:
  -----------
  lmtp: Start using the new lib-smtp/server recipient pool.


  Commit: 95a89681405e7e77b99b1dc1d3a96e66fd7f7a50
      https://github.com/dovecot/core/commit/95a89681405e7e77b99b1dc1d3a96e66fd7f7a50
  Author: Stephan Bosch <stephan.bosch at dovecot.fi>
  Date:   2018-10-11 (Thu, 11 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-client.c
    M src/submission/submission-client.h
    M src/submission/submission-commands.c
    M src/submission/submission-commands.h
    M src/submission/submission-recipient.c
    M src/submission/submission-recipient.h

  Log Message:
  -----------
  submission: Start using the new lib-smtp/server recipient pool.


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

  Changed paths:
    M src/lmtp/lmtp-common.c
    M src/lmtp/lmtp-common.h
    M src/lmtp/lmtp-local.c
    M src/lmtp/lmtp-proxy.c

  Log Message:
  -----------
  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.


  Commit: 32ea743b82305a00a6e1ed73a99f35d205b5880b
      https://github.com/dovecot/core/commit/32ea743b82305a00a6e1ed73a99f35d205b5880b
  Author: Stephan Bosch <stephan.bosch at dovecot.fi>
  Date:   2018-10-11 (Thu, 11 Oct 2018)

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

  Log Message:
  -----------
  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


  Commit: 42f96eef3bd5b24f06bf9d4352f79ba39cfd77c2
      https://github.com/dovecot/core/commit/42f96eef3bd5b24f06bf9d4352f79ba39cfd77c2
  Author: Stephan Bosch <stephan.bosch at dovecot.fi>
  Date:   2018-10-11 (Thu, 11 Oct 2018)

  Changed paths:
    M src/lmtp/lmtp-common.c
    M src/lmtp/lmtp-common.h
    M src/lmtp/lmtp-local.c
    M src/lmtp/lmtp-proxy.c

  Log Message:
  -----------
  lmtp: Use the recipient index in the server recipient object rather than the lmtp recipient.


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

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

  Log Message:
  -----------
  submission: Use the recipient index in the server recipient object rather than the submission recipient.


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

  Changed paths:
    M src/lib-smtp/smtp-server-cmd-data.c
    M src/lib-smtp/smtp-server-cmd-rcpt.c
    M src/lib-smtp/smtp-server-private.h
    M src/lib-smtp/smtp-server-recipient.c
    M src/lib-smtp/smtp-server-transaction.c
    M src/lib-smtp/smtp-server.h
    M src/lmtp/lmtp-common.c
    M src/lmtp/lmtp-common.h
    M src/lmtp/lmtp-local.c
    M src/lmtp/lmtp-proxy.c

  Log Message:
  -----------
  lib-smtp: server: Record the associated server command in the recipient object.

This avoids the need to do that in application code.


Compare: https://github.com/dovecot/core/compare/297ca82aab05...0a8512c6141e
      **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