Skip to content
Snippets Groups Projects
  1. Nov 22, 2021
  2. May 20, 2021
  3. May 10, 2021
  4. Jan 22, 2021
  5. Aug 19, 2020
  6. Aug 06, 2020
    • Stephan Bosch's avatar
      testsuite: Reliably terminate tests upon failure. · d71045c1
      Stephan Bosch authored
      Before, it would only terminate the test when it failed explicitly using the
      test_fail command.
      d71045c1
    • Stephan Bosch's avatar
      testsuite: Drop needless result reference in testsuite_run(). · c3fca0a1
      Stephan Bosch authored
      This holds a reference to the initial result, causing it to linger after
      test_result_reset, thereby also holding a reference to the message context,
      preventing it from being cleared. This in turn, can keep references to modified
      message versions that cause the main message object to remain referenced. This
      causes a panic in specific cases upon test_result_reset:
      
      Panic: Input stream data unexpectedly has references
      c3fca0a1
    • Stephan Bosch's avatar
      testsuite: Properly check address value parsed from message. · 4635acae
      Stephan Bosch authored
      Caused a panic when input was not valid. This is only relevant to the test suite
      and doesn't occur anywhere else (apart from the previous similar commit for
      lib-sieve-tool).
      
      Panic was:
      
      Panic in file smtp-address.c: line 684 (smtp_address_write): assertion failed: (smtp_char_is_qpair(*p))`
      4635acae
  7. Jun 17, 2020
    • Stephan Bosch's avatar
      lib-sieve: plugins: relational: Fix segfault occurring in mcht_relational_validate(). · 0cf888a0
      Stephan Bosch authored
      The segfault happens when this match type is the last argument of the test
      command. This situation is not possible in a valid script; positional arguments
      are normally present after that, which would prevent the segfault. A variant of
      this bug occurs when the match type also has no argument of its own. In either
      case the segfault is caused by referring to absent tag arguments, which causes
      a NULL dereference.
      0cf888a0
  8. May 27, 2020
  9. Dec 11, 2019
  10. Oct 13, 2019
  11. Oct 10, 2019
  12. Dec 11, 2018
    • Stephan Bosch's avatar
      lib-sieve: redirect action: Implement additional protection against mail loops. · 78f5952c
      Stephan Bosch authored
      Also check the X-Sieve-Redirected-From header for our own e-mail addresses. This
      header is added by the redirect action itself and in a mail loop it would see
      that same header with that same content. This is less reliable than the other
      mail loop detection (sender may set such a header), so, unlike the existing loop
      detection based on the duplicate db, the implicit keep is not canceled when the
      new loop detection is triggered.
      78f5952c
  13. Aug 01, 2018
  14. Jun 28, 2018
  15. May 11, 2018
  16. Apr 16, 2018
  17. Apr 13, 2018
  18. Mar 10, 2018
  19. Jan 10, 2018
  20. Jan 04, 2018
  21. Dec 18, 2017
  22. Dec 15, 2017
  23. Nov 26, 2017
    • Stephan Bosch's avatar
      Adjusted to the lib-smtp changes in Dovecot. · fbedb2db
      Stephan Bosch authored
      Now using struct smtp_address rather than sieve_address.
      In some cases, struct message_address may prove to be more suitable, but this is the best fit for now.
      Adjusted to the renamed fields in struct mail_deliver_context.
      fbedb2db
  24. Nov 18, 2017
  25. Oct 03, 2017
  26. Sep 30, 2017
  27. Sep 13, 2017
    • Stephan Bosch's avatar
      lib-sieve: vacation extension: Allow ignoring the envelope sender while... · 8643cbde
      Stephan Bosch authored
      lib-sieve: vacation extension: Allow ignoring the envelope sender while composing the "To:" header for the reply.
      
      This adds a new setting "sieve_vacation_to_header_ignore_envelope".
      With this setting enabled, the "To:" header is always composed from the first "Sender", "Resent-From" or "From" header found in the message (in that order).
      Normally, the "To:" header is composed from the address found in the "Sender", "Resent-From" or "From" headers that is equal to the envelope sender.
      If none is then found, the bare envelope sender is used.
      The new setting allows ignoring the envelope, which is useful e.g. when SRS is used.
      8643cbde
  28. Aug 17, 2017
    • Stephan Bosch's avatar
      lib-sieve: vacation extension: Compose the "To:" header from full sender... · d55d8773
      Stephan Bosch authored
      lib-sieve: vacation extension: Compose the "To:" header from full sender address found in the first "Sender:", "From:" or "Resent-From:" header.
      
      Before, it would create a "To:" header without a phrase part. The new behavior is nicer, since the reply will be addressed to the sender by name if possible.
      This addresses an old FIXME.
      d55d8773
  29. Aug 16, 2017
  30. Oct 21, 2016
    • Stephan Bosch's avatar
      lib-sieve: vacation extension: Use Microsoft X-Auto-Response-Suppress header... · 036d5191
      Stephan Bosch authored
      lib-sieve: vacation extension: Use Microsoft X-Auto-Response-Suppress header to prevent unwanted responses.
      
      We've seen a few situations where Pigeonhole and Microsoft products start a useless machine conversation.
      At least older versions of Outlook ignore the standards on multiple points to make this happen.
      We prevent this now by recognizing and generating the X-Auto-Response-Suppress header.
      036d5191
Loading

Consent

On this website, we use the web analytics service Matomo to analyze and review the use of our website. Through the collected statistics, we can improve our offerings and make them more appealing for you. Here, you can decide whether to allow us to process your data and set corresponding cookies for these purposes, in addition to technically necessary cookies. Further information on data protection—especially regarding "cookies" and "Matomo"—can be found in our privacy policy. You can withdraw your consent at any time.