On 2025-12-04 17:33, Viktor Dukhovni via Postfix-users wrote: > 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 This is obviously good advice, although I still wonder why the catch-all pattern never caused a problem (loop) on mail.example.com. > > 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. Right, I misread the description. Thanks! - Jan _______________________________________________ Postfix-users mailing list -- [email protected] To unsubscribe send an email to [email protected]
