[dovecot/pigeonhole] cd4507: Move mail-raw from lib-sieve-tool to lib-sieve/uti...

GitHub noreply at github.com
Mon Mar 5 16:00:30 EET 2018


  Branch: refs/heads/master
  Home:   https://github.com/dovecot/pigeonhole
  Commit: cd4507f0957e8fd962b1eb8b75df8e9bdbbf8305
      https://github.com/dovecot/pigeonhole/commit/cd4507f0957e8fd962b1eb8b75df8e9bdbbf8305
  Author: Stephan Bosch <stephan.bosch at dovecot.fi>
  Date:   2018-03-03 (Sat, 03 Mar 2018)

  Changed paths:
    M src/lib-sieve-tool/Makefile.am
    R src/lib-sieve-tool/mail-raw.c
    R src/lib-sieve-tool/mail-raw.h
    M src/lib-sieve/util/Makefile.am
    A src/lib-sieve/util/mail-raw.c
    A src/lib-sieve/util/mail-raw.h
    M src/testsuite/Makefile.am

  Log Message:
  -----------
  Move mail-raw from lib-sieve-tool to lib-sieve/util.

Needed for use in test suite.


  Commit: b9cfdb83c816dbba47db7b35df3e4d25c7c2c371
      https://github.com/dovecot/pigeonhole/commit/b9cfdb83c816dbba47db7b35df3e4d25c7c2c371
  Author: Stephan Bosch <stephan.bosch at dovecot.fi>
  Date:   2018-03-03 (Sat, 03 Mar 2018)

  Changed paths:
    M src/lib-sieve/util/mail-raw.c
    M src/lib-sieve/util/mail-raw.h

  Log Message:
  -----------
  lib-sieve: util: mail-raw: Implemented mail_raw_open_stream().

This allows using a seekable stream as mail directly.


  Commit: 0b4ed1a3f3d93aaff5b0302df01d9659521e5195
      https://github.com/dovecot/pigeonhole/commit/0b4ed1a3f3d93aaff5b0302df01d9659521e5195
  Author: Stephan Bosch <stephan.bosch at dovecot.fi>
  Date:   2018-03-03 (Sat, 03 Mar 2018)

  Changed paths:
    M src/lib-sieve/util/edit-mail.c

  Log Message:
  -----------
  lib-sieve: util: edit-mail: istream: Remove useless check.

This is tested already in the assertion that precedes it.


  Commit: b1cd8048b04b93e334e78695e7b24ed1f3a34442
      https://github.com/dovecot/pigeonhole/commit/b1cd8048b04b93e334e78695e7b24ed1f3a34442
  Author: Stephan Bosch <stephan.bosch at dovecot.fi>
  Date:   2018-03-03 (Sat, 03 Mar 2018)

  Changed paths:
    M src/lib-sieve/util/edit-mail.c

  Log Message:
  -----------
  lib-sieve: util: edit-mail: istream: Fix bug in calculation of stream position.

This caused an assert panic when the application or child stream did not skip
all buffered data immediately. This was reproducible only when the message input
stream consisted of a concatenation of smaller streams, which is used in LMTP to
prepend a few headers.

The panic was:

Panic: file istream.c: line 329 (i_stream_read_memarea): assertion failed: ((size_t)ret+old_size == _stream->pos - _stream->skip)


  Commit: 17ae453d6f0b55c761eb06a5c5ba9da7bb65db94
      https://github.com/dovecot/pigeonhole/commit/17ae453d6f0b55c761eb06a5c5ba9da7bb65db94
  Author: Stephan Bosch <stephan.bosch at dovecot.fi>
  Date:   2018-03-03 (Sat, 03 Mar 2018)

  Changed paths:
    M src/lib-sieve/util/Makefile.am
    A src/lib-sieve/util/test-edit-mail.c

  Log Message:
  -----------
  lib-sieve: util: Created basic test suite for edit-mail.

Previously, this was only tested implicitly in the Sieve test suite. Now, it is
tested explicitly, which allows for more flexibility in the testing scenario.

It now extensively tests one scenario that used to fail.


  Commit: 095b2e1234ea892c9b115d395053ad6ddeb48d27
      https://github.com/dovecot/pigeonhole/commit/095b2e1234ea892c9b115d395053ad6ddeb48d27
  Author: Stephan Bosch <stephan.bosch at dovecot.fi>
  Date:   2018-03-05 (Mon, 05 Mar 2018)

  Changed paths:
    M src/testsuite/testsuite-script.c

  Log Message:
  -----------
  testsuite: Make SMTP actions also work inside executed sieve scripts.


  Commit: 919201405c9beeba9fffc142429521bb3050427b
      https://github.com/dovecot/pigeonhole/commit/919201405c9beeba9fffc142429521bb3050427b
  Author: Stephan Bosch <stephan.bosch at dovecot.fi>
  Date:   2018-03-05 (Mon, 05 Mar 2018)

  Changed paths:
    M src/lib-sieve/sieve-validator.c

  Log Message:
  -----------
  lib-sieve: Fix assert panic occurring when used command has external tag, but is not registered.

This occurred for example when the "fileinto" command is used with only the
"copy" extension in the require line.

Panic message was:

Panic: file hash.c: line 263 (hash_table_insert_node): assertion failed: (opcode == HASH_TABLE_OP_UPDATE)


Compare: https://github.com/dovecot/pigeonhole/compare/71d7283dbdde...919201405c9b


More information about the dovecot-cvs mailing list