On 2025-12-03 18:45, Wietse Venema via Postfix-users wrote: > > > There is definitely no alias like this in /etc/aliases (or my > > > aliases_pattern file). I assumed the owner-root address was created by > > > some internal bounce mechanism. > > > > No. It's probably an unintended match with your PCRE based alias. > > > > If mail is sent to an alias 'foo', and there is a match for alias > > lookup 'owner-foo' then Postfix replaces the envelope sender addrerss > > with owner-foo. > > > > You may be able to turn that off with. > > > > owner_request_special (default: yes) > > Enable special treatment for owner-listname entries in the > > aliases(5) > > file, and don't split owner-listname and listname-request > > address > > localparts when the recipient_delimiter is set to "-". This feature > > is > > useful for mailing lists. > > > > But, I have to catch a train. > > Confirmed. With "owner_request_special = no", Postfix will not > attempt to override the envelope sender address with owner-whatever.
Thank you! I can also confirm this setting avoids the loop and gets the message delivered to [email protected] with aliases_pattern (/.+/ [email protected]). But I am still confused, because aliases_pattern has been in place on mail.example.com for years (also for mapping local admin messages to [email protected]), and it never triggered the special treatment there. 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. - Jan _______________________________________________ Postfix-users mailing list -- [email protected] To unsubscribe send an email to [email protected]
