[dovecot/core] b4534c: lib-smtp: client: Fix rawlog input stream inconsis...

GitHub noreply at github.com
Wed Mar 14 10:30:36 EET 2018


  Branch: refs/heads/master-2.3
  Home:   https://github.com/dovecot/core
  Commit: b4534c9f0acb29c4e74feb3090af16f45bf19c2a
      https://github.com/dovecot/core/commit/b4534c9f0acb29c4e74feb3090af16f45bf19c2a
  Author: Stephan Bosch <stephan.bosch at dovecot.fi>
  Date:   2018-03-13 (Tue, 13 Mar 2018)

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

  Log Message:
  -----------
  lib-smtp: client: Fix rawlog input stream inconsistency by updating streams right after initializing TLS.

Restructured the code to call a new function called smtp_client_connection_streams_changed() which performs all the necessary updates.
Before, enabling rawlog could break the TLS handshake.


  Commit: 8abbd4ad3cfde9f45ff08254446f34325f55aa53
      https://github.com/dovecot/core/commit/8abbd4ad3cfde9f45ff08254446f34325f55aa53
  Author: Stephan Bosch <stephan.bosch at dovecot.fi>
  Date:   2018-03-14 (Wed, 14 Mar 2018)

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

  Log Message:
  -----------
  lib-smtp: common: Use the BIT() macro for defining the capability flags.


  Commit: 32b2ef232c4c22c39401b5d141296075d7cf648b
      https://github.com/dovecot/core/commit/32b2ef232c4c22c39401b5d141296075d7cf648b
  Author: Stephan Bosch <stephan.bosch at dovecot.fi>
  Date:   2018-03-14 (Wed, 14 Mar 2018)

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

  Log Message:
  -----------
  lib-smtp: params: Make ORCPT parameter available separately if hidden capability is enabled.


  Commit: 73654d4e91977d105b3918047241c2683b31389f
      https://github.com/dovecot/core/commit/73654d4e91977d105b3918047241c2683b31389f
  Author: Stephan Bosch <stephan.bosch at dovecot.fi>
  Date:   2018-03-14 (Wed, 14 Mar 2018)

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

  Log Message:
  -----------
  lib-smtp: client: Add support for forcibly enabling support for a capability.

Then it is enabled even when the server does not list it in the EHLO response.


  Commit: 954d65a35a9d6fb44f2e40351411b3ef872836d9
      https://github.com/dovecot/core/commit/954d65a35a9d6fb44f2e40351411b3ef872836d9
  Author: Stephan Bosch <stephan.bosch at dovecot.fi>
  Date:   2018-03-14 (Wed, 14 Mar 2018)

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

  Log Message:
  -----------
  lmtp: proxy: Use per-connection SMTP client settings.

This is needed for setting source IP in later change. The peer_trusted setting
must me moved, since this setting is overriden by per-connection settings,
rather than merged.


  Commit: c4688bd12ecee260fb60699f8741c6d3263b9800
      https://github.com/dovecot/core/commit/c4688bd12ecee260fb60699f8741c6d3263b9800
  Author: Stephan Bosch <stephan.bosch at dovecot.fi>
  Date:   2018-03-14 (Wed, 14 Mar 2018)

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

  Log Message:
  -----------
  lmtp: Provide hidden support for ORCPT RCPT parameter.

This is normally only available with the DSN capability, but we use it to
forward the original recipient in proxy setups.

This feature was available in the original Dovecot v2.2 LMTP, but it got lost in
the new lib-smtp implementation.


Compare: https://github.com/dovecot/core/compare/af014a8931a6...c4688bd12ece


More information about the dovecot-cvs mailing list