Skip to content

Commit

Permalink
Merge pull request #59 from systemli/sieve_redirect_envelope_from
Browse files Browse the repository at this point in the history
Set `dovecot_sieve_redirect_envelope_from` to `orig_recipient`
  • Loading branch information
doobry-systemli authored Nov 29, 2024
2 parents 7632714 + adb2cf2 commit 762dc4d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ dovecot_junk_trash_autoexpunge: 30d
dovecot_sieve_location: "file:/var/vmail/%d/%n/sieve;active=/var/vmail/%d/%n/.dovecot.sieve"
dovecot_sieve_before: /etc/dovecot/sieve-before/spam-to-junk.sieve
dovecot_sieve_max_redirects: 20
dovecot_sieve_redirect_envelope_from: orig_recipient

# See https://wiki.dovecot.org/LoginProcess for performance tuning
dovecot_login_service_count: 1
Expand Down
2 changes: 1 addition & 1 deletion templates/90-sieve.conf.j2
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ plugin {
#
# This setting is ignored when the envelope sender is "<>". In that case the
# sender of the redirected message is also always "<>".
#sieve_redirect_envelope_from = sender
sieve_redirect_envelope_from = {{ dovecot_sieve_redirect_envelope_from }}

## TRACE DEBUGGING
# Trace debugging provides detailed insight in the operations performed by
Expand Down

0 comments on commit 762dc4d

Please sign in to comment.