On Thu, Dec 04, 2025 at 04:10:53AM +0100, Jan Eden via Postfix-users wrote:
> > Confirmed. With "owner_request_special = no", Postfix will not > > attempt to override the envelope sender address with owner-whatever. > > I can also confirm this setting avoids the loop and gets the message > delivered to [email protected] with aliases_pattern (/.+/ > [email protected]). That wildcard alias is not a good idea. Avoid parttern aliases, but if you absolutely, positively MUST have one: if !/^owner-/ /^/ [email protected] endif > Also, based on the documentation, I would have expected not > owner_request_special but expand_owner_alias to cause the issue, and > this setting default to no: > > expand_owner_alias (default: no) > When delivering to an alias "aliasname" that has an "owner-aliasname" > companion alias, set the envelope sender address to the expansion of the > "owner-aliasname" alias. Normally, Postfix sets the envelope sender > address to the name of the "owner-aliasname" alias. Either way the envelope sender gets replaced, the only question is what it gets replaced with the LHS of the "owner-" alias, or its RHS. -- Viktor. 🇺🇦 Слава Україні! _______________________________________________ Postfix-users mailing list -- [email protected] To unsubscribe send an email to [email protected]
