On 7/10/26 09:01, Thomas Ward via Mailman-users wrote:
Upon deeper trackdown of this, our owner user mailman@example.com is seeing messages sent to it from @lists.example.com and @distro.example.com from mailman@example.com (despite the From in the envelope being list-bounces+mailman=example.com@[lists|distro].example.com)
These messages are sent to (envelope recipients) the list admins but with a To: header of `list-owner@...` and a From: header of the address configured as the site_owner in mailman.cfg. You can change the From: from the site owner address to the `list-owner@...` address with a patch like: ``` --- a/src/mailman/email/message.py +++ b/src/mailman/email/message.py @@ -237,10 +237,11 @@ class OwnerNotification(UserNotification): if roster is None: recipients = set([config.mailman.site_owner]) to = config.mailman.site_owner + sender = config.mailman.site_owner else: recipients = set(address.email for address in roster.addresses) to = mlist.owner_address - sender = config.mailman.site_owner + sender = mlist.owner_address super().__init__(recipients, sender, subject, text, mlist.preferred_language) # Envelope sender ``` -- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan