[dovecot/pigeonhole] 0e5ec4: lib-sieve: vacation extension: Allow ignoring the ...

GitHub noreply at github.com
Thu Aug 24 03:10:55 EEST 2017


  Branch: refs/heads/vacation-to-header-ignore-envelope
  Home:   https://github.com/dovecot/pigeonhole
  Commit: 0e5ec449f701bdc293c5fdc2551d0a7b242703d7
      https://github.com/dovecot/pigeonhole/commit/0e5ec449f701bdc293c5fdc2551d0a7b242703d7
  Author: Stephan Bosch <stephan.bosch at dovecot.fi>
  Date:   2017-08-24 (Thu, 24 Aug 2017)

  Changed paths:
    M doc/extensions/vacation.txt
    M src/lib-sieve/plugins/vacation/cmd-vacation.c
    M src/lib-sieve/plugins/vacation/ext-vacation-common.c
    M src/lib-sieve/plugins/vacation/ext-vacation-common.h
    M tests/extensions/vacation/message.svtest

  Log Message:
  -----------
  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.




More information about the dovecot-cvs mailing list