On 7/10/26 09:01, Thomas Ward via Mailman-users wrote:

Upon deeper trackdown of this, our owner user [email protected] is seeing messages sent to it from @lists.example.com and @distro.example.com from [email protected] (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 <[email protected]>        The highway is for gamblers,
San Francisco Bay Area, California    better use your sense - B. Dylan

_______________________________________________
Mailman-users mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://lists.mailman3.org/mailman3/lists/mailman-users.mailman3.org/
Archived at: 
https://lists.mailman3.org/archives/list/[email protected]/message/OH372WFINVVJGY5BTKPKYJYEWMIQNTI4/

This message sent to [email protected]

Reply via email to