[TODO]: Sieve - Access original recipient address before alias resolution #3904
Labels
area/documentation
area/features
kind/improvement
Improve an existing feature, configuration file or the documentation
kind/question
Someone asked a question - feel free to answer
meta/help wanted
The OP requests help from others - chime in! :D
service/dovecot
service/postfix
stale-bot/ignore
Indicates that this issue / PR shall not be closed by our stale-checking CI
Milestone
Description
I touched on this while adding these notes and reference them with more detailed insights shared in this discussion (focused on resolving the recipient for a catch-all alias).
This issue is more for visibility/discovery, but if a proper solution is identified we could probably document that in our sieve docs page, and consider official feature support on the
master.cf
side at least if the modifications are non-trivial.For now it is believed that the
lmtp
service + transport in/etc/postfix/master.cf
just needs to add some extra flags, and for/etc/postfix/main.cf
to rate limit delivering mail per recipient to Dovecot instead of delegating Dovecot to manage. Doing so would make additional headersDelivered-To
+X-Original-To
available to Sieve:user-patches.sh
:Current queries:
X-Original-To
, whereasDelivered-To
may be what they're after as it's the envelope recipient address which shouldn't be altered AFAIK (even with Amavis involved).The text was updated successfully, but these errors were encountered: