[dovecot/core | refs/heads/master] 7a456f25: lib-smtp: client: BDAT command: Make sure the message contains CRLF consistently.

noreply at dovecot.org noreply at dovecot.org
Fri Jan 18 21:00:08 EET 2019


  Branch: refs/heads/master
  Home:   https://github.com/dovecot/core
  Commit: 7a456f25593ead042557c80bef24b7c480d463eb
      https://github.com/dovecot/core/commit/7a456f25593ead042557c80bef24b7c480d463eb
  Author: Stephan Bosch <stephan.bosch at dovecot.fi>
  Date:   2019-01-18 (Fri, 18 Jan 2019)

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

  Log Message:
  -----------
  lib-smtp: client: BDAT command: Make sure the message contains CRLF consistently.

Before, only messages sent using DATA command guaranteed consistent CRLF,
because these are sent using o_stream_dot(), which does that internally. For the
BDAT command, the message was sent as-is, which is not always accepted by MTAs.

  Commit: 7b4cc4728981f3203ba0a5116fd067fe69770964
      https://github.com/dovecot/core/commit/7b4cc4728981f3203ba0a5116fd067fe69770964
  Author: Stephan Bosch <stephan.bosch at dovecot.fi>
  Date:   2019-01-18 (Fri, 18 Jan 2019)

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

  Log Message:
  -----------
  lib-smtp: client: BDAT command: Ensure data stream max buffer size is appropriate when stream size is unknown.

When stream size is unknown, the chunk size are determined by what can be
buffered in the data input stream immediately. If it's maximum buffer size is
(much) smaller than the maximum chunk size, the maximum chunk size is never
achieved.

  Patch: https://github.com/dovecot/core/compare/d830785d4b23...7a456f25593e.patch


More information about the dovecot-cvs mailing list