[dovecot/core] 763b1f: lib: connection: Added support for connecting from...

GitHub noreply at github.com
Mon Apr 16 11:30:20 EEST 2018


  Branch: refs/heads/master-2.3
  Home:   https://github.com/dovecot/core
  Commit: 763b1fe194b6cbb7cc106461bc865a831b122f2d
      https://github.com/dovecot/core/commit/763b1fe194b6cbb7cc106461bc865a831b122f2d
  Author: Stephan Bosch <stephan.bosch at dovecot.fi>
  Date:   2018-04-16 (Mon, 16 Apr 2018)

  Changed paths:
    M src/lib/connection.c
    M src/lib/connection.h

  Log Message:
  -----------
  lib: connection: Added support for connecting from an explicit source IP.


  Commit: fce76380493b3b0351f3ed98d9b259715db10e0a
      https://github.com/dovecot/core/commit/fce76380493b3b0351f3ed98d9b259715db10e0a
  Author: Stephan Bosch <stephan.bosch at dovecot.fi>
  Date:   2018-04-16 (Mon, 16 Apr 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 connecting from an explicit source IP.


  Commit: 849e6363a6aabfac0d08f0be3e237100259470c7
      https://github.com/dovecot/core/commit/849e6363a6aabfac0d08f0be3e237100259470c7
  Author: Stephan Bosch <stephan.bosch at dovecot.fi>
  Date:   2018-04-16 (Mon, 16 Apr 2018)

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

  Log Message:
  -----------
  lmtp: proxy: Use source_ip proxy field if it is returned from passdb.

Before, it was ignored. Now, it is used as the source IP for the outgoing LMTP
client connection.


  Commit: 2a24666d46b57221679fb60c831125a70d108d9f
      https://github.com/dovecot/core/commit/2a24666d46b57221679fb60c831125a70d108d9f
  Author: Stephan Bosch <stephan.bosch at dovecot.fi>
  Date:   2018-04-16 (Mon, 16 Apr 2018)

  Changed paths:
    M src/lib/net.c

  Log Message:
  -----------
  lib: net: Avoid comparing the content of unassigned IPs in net_ip_cmp().


  Commit: 5c04ad2fdc7dea889bdabb1c79db6c197b153e1d
      https://github.com/dovecot/core/commit/5c04ad2fdc7dea889bdabb1c79db6c197b153e1d
  Author: Stephan Bosch <stephan.bosch at dovecot.fi>
  Date:   2018-04-16 (Mon, 16 Apr 2018)

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

  Log Message:
  -----------
  lib-smtp: client: connection: Perform IP lookup in a separate function.


  Commit: 92a5be28e510216f6a64c969a1684c7762a9a93d
      https://github.com/dovecot/core/commit/92a5be28e510216f6a64c969a1684c7762a9a93d
  Author: Stephan Bosch <stephan.bosch at dovecot.fi>
  Date:   2018-04-16 (Mon, 16 Apr 2018)

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

  Log Message:
  -----------
  lib-smtp: client: smtp_client_connection_create(): ATTR_NULL() pointed to wrong parameter.


  Commit: f4000dd82bb14d857e57a0ac31a0443ad1d52c62
      https://github.com/dovecot/core/commit/f4000dd82bb14d857e57a0ac31a0443ad1d52c62
  Author: Stephan Bosch <stephan.bosch at dovecot.fi>
  Date:   2018-04-16 (Mon, 16 Apr 2018)

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

  Log Message:
  -----------
  lib-smtp: client: Add smtp_client_connection_create_ip().

This allows making SMTP client connections without performing a DNS lookup. The
optional hostname parameter is used to verify the hostname in the SSL
certificate from the server, if any.


  Commit: c6eaa00c0cb4387a832516bf936315cc74361741
      https://github.com/dovecot/core/commit/c6eaa00c0cb4387a832516bf936315cc74361741
  Author: Stephan Bosch <stephan.bosch at dovecot.fi>
  Date:   2018-04-16 (Mon, 16 Apr 2018)

  Changed paths:
    M src/login-common/login-settings.c
    M src/login-common/login-settings.h

  Log Message:
  -----------
  login-common: Remove unused ssl_require_crl setting.


  Commit: 48c6552aecf5e6b0722c746543363c838a63d7d7
      https://github.com/dovecot/core/commit/48c6552aecf5e6b0722c746543363c838a63d7d7
  Author: Stephan Bosch <stephan.bosch at dovecot.fi>
  Date:   2018-04-16 (Mon, 16 Apr 2018)

  Changed paths:
    M src/lib-master/master-service-ssl-settings.c
    M src/lib-master/master-service-ssl-settings.h

  Log Message:
  -----------
  lib-master: Initialize key and certificate for client SSL settings.

This uses the ssl_client_cert and ssl_client_key settings.


  Commit: da761519ca7319995f2dc9ed9a173fd9f807e01a
      https://github.com/dovecot/core/commit/da761519ca7319995f2dc9ed9a173fd9f807e01a
  Author: Stephan Bosch <stephan.bosch at dovecot.fi>
  Date:   2018-04-16 (Mon, 16 Apr 2018)

  Changed paths:
    M src/login-common/login-proxy.c
    M src/login-common/login-settings.c
    M src/login-common/login-settings.h

  Log Message:
  -----------
  login-common: Use client SSL certificate and key settings from lib-master.


  Commit: 40efd2329d59824cd993a1a2963b60d17bc78971
      https://github.com/dovecot/core/commit/40efd2329d59824cd993a1a2963b60d17bc78971
  Author: Stephan Bosch <stephan.bosch at dovecot.fi>
  Date:   2018-04-16 (Mon, 16 Apr 2018)

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

  Log Message:
  -----------
  lmtp: proxy: Use ssl/starttls fields if returned from passdb.

Before, these fields were ignored. Now, these are used to determine whether the
proxy connection to the backend should be secured by SSL and how.


  Commit: 44419807db3bf01d9c12247dfa324d27647e3d0f
      https://github.com/dovecot/core/commit/44419807db3bf01d9c12247dfa324d27647e3d0f
  Author: Stephan Bosch <stephan.bosch at dovecot.fi>
  Date:   2018-04-16 (Mon, 16 Apr 2018)

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

  Log Message:
  -----------
  lmtp: proxy: Use proxy_not_trusted field if returned from passdb.

Before, this field was ignored. Now, if this field is set, no XCLIENT command is
ever sent to the remote proxy.


  Commit: 503ac5e23601358184a6fcbcbf6f7d3655726d82
      https://github.com/dovecot/core/commit/503ac5e23601358184a6fcbcbf6f7d3655726d82
  Author: Martti Rannanjärvi <martti.rannanjarvi at dovecot.fi>
  Date:   2018-04-16 (Mon, 16 Apr 2018)

  Changed paths:
    M src/lib-master/master-service-settings.c

  Log Message:
  -----------
  lib-master: Copy settings_parser_get_error() string so it's usable as error_r

Also convert t_strdup()s in master_service_settings_read() into p_strdup()s
using service->set_pool.


  Commit: b0379686e13f0667da70515cb6dcb0d8bd3513ed
      https://github.com/dovecot/core/commit/b0379686e13f0667da70515cb6dcb0d8bd3513ed
  Author: Martti Rannanjärvi <martti.rannanjarvi at dovecot.fi>
  Date:   2018-04-16 (Mon, 16 Apr 2018)

  Changed paths:
    M src/lib-master/master-service-settings.c

  Log Message:
  -----------
  lib-master: Don't dup errors to service->set_pool in master_service_settings_read

Use t_strdup() instead.


  Commit: 5bfc88376e4bfaa821d7baf96d2a6b20e8397545
      https://github.com/dovecot/core/commit/5bfc88376e4bfaa821d7baf96d2a6b20e8397545
  Author: Stephan Bosch <stephan.bosch at dovecot.fi>
  Date:   2018-04-16 (Mon, 16 Apr 2018)

  Changed paths:
    M src/lib-lda/mail-deliver.c
    M src/lib-smtp/smtp-address.c
    M src/lib-smtp/smtp-address.h
    M src/lib-smtp/smtp-params.c

  Log Message:
  -----------
  lib-smtp: address: Add source syntax check for conversion from RFC5322 addresses.

The message-address parser (for RFC 5322) allows UTF-8 characters in the
localpart, which is not acceptable for SMTP addresses. This change adds a check
that determines whether the source RFC5222 address can be converted into a
SMTP address.


  Commit: bc7f0da3ce3141e1be9b9cfdbbe9b7e7a53918f0
      https://github.com/dovecot/core/commit/bc7f0da3ce3141e1be9b9cfdbbe9b7e7a53918f0
  Author: Stephan Bosch <stephan.bosch at dovecot.fi>
  Date:   2018-04-16 (Mon, 16 Apr 2018)

  Changed paths:
    M src/lib-storage/Makefile.am
    M src/lib-storage/mail-storage-settings.c
    M src/lib-storage/mail-storage-settings.h

  Log Message:
  -----------
  lib-storage: mail-storage-settings: Pre-parse postmaster_address as an SMTP address.

The pre-parsed address is not currently used anywhere, but this does check that
the postmaster address can successfully be converted to an SMTP address, which
is important for Pigeonhole.


Compare: https://github.com/dovecot/core/compare/b01048358d3b...bc7f0da3ce31


More information about the dovecot-cvs mailing list