problem with non-member Sender rules
![](https://secure.gravatar.com/avatar/75b307ab358dc90ed5be7481dc21fee1.jpg?s=120&d=mm&r=g)
Our non-member Sender rules work fine with emails coming directly from the sender, but our servers send emails to root@<server> and those are forwarded to the mail list. The Sender filters do not seem to be working on this forwarded email. How can we get around this?
Andrea
Andrea Laack Research & Tech Innov Svcs Mayo Clinic 507-538-3831 Laack.Andrea@mayo.edu
![](https://secure.gravatar.com/avatar/0fbcef57d028af495d8c9a5992405f78.jpg?s=120&d=mm&r=g)
On Thu, Jun 27, 2024 at 12:05 AM Laack, Andrea P. via Mailman-Users < mailman-users@python.org> wrote:
On Unix systems, emails sent to root@<server> should be aliased to the System Administrator's email address, i.e. Laack.Andrea@mayo.edu. They should NEVER be sent anywhere else.
-- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254 7 3200 0004/+254 7 2274 3223 In an Internet failure case, the #1 suspect is a constant: DNS. "Oh, the cruft.", egrep -v '^$|^.*#' ¯\_(ツ)_/¯ :-) [How to ask smart questions: http://www.catb.org/~esr/faqs/smart-questions.html]
![](https://secure.gravatar.com/avatar/75b307ab358dc90ed5be7481dc21fee1.jpg?s=120&d=mm&r=g)
They are sent to a mail group which goes to all of the system admins.
Andrea
From: Odhiambo Washington <odhiambo@gmail.com> Sent: Thursday, June 27, 2024 4:41 AM To: Laack, Andrea P. <Laack.Andrea@mayo.edu> Cc: mailman-users@python.org Subject: [EXTERNAL] Re: [Mailman-Users] problem with non-member Sender rules
On Thu, Jun 27, 2024 at 12:05 AM Laack, Andrea P. via Mailman-Users <mailman-users@python.org<mailto:mailman-users@python.org>> wrote: Our non-member Sender rules work fine with emails coming directly from the sender, but our servers send emails to root@<server> and those are forwarded to the mail list. The Sender filters do not seem to be working on this forwarded email. How can we get around this?
On Unix systems, emails sent to root@<server> should be aliased to the System Administrator's email address, i.e. Laack.Andrea@mayo.edu<mailto:Laack.Andrea@mayo.edu>. They should NEVER be sent anywhere else.
-- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254 7 3200 0004/+254 7 2274 3223 In an Internet failure case, the #1 suspect is a constant: DNS. "Oh, the cruft.", egrep -v '^$|^.*#' ¯\_(ツ)_/¯ :-) [How to ask smart questions: http://www.catb.org/~esr/faqs/smart-questions.html]
![](https://secure.gravatar.com/avatar/56f108518d7ee2544412cc80978e3182.jpg?s=120&d=mm&r=g)
On 6/27/24 4:15 AM, Laack, Andrea P. via Mailman-Users wrote:
They are sent to a mail group which goes to all of the system admins.
How does this work. Is this a straight redirect as with an alias, or is some process involved?
The *_these_nonmembers rules test the one address returned by the Message.get_sender() method. See the doc string at https://bazaar.launchpad.net/~mailman-coders/mailman/2.1/view/head:/Mailman/... for how this is determined and how it is affected by the mm_cfg.USE_ENVELOPE_SENDER setting.
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
![](https://secure.gravatar.com/avatar/75b307ab358dc90ed5be7481dc21fee1.jpg?s=120&d=mm&r=g)
Straight redirect with an alias.
-----Original Message----- From: Mark Sapiro <mark@msapiro.net> Sent: Thursday, June 27, 2024 10:18 AM To: mailman-users@python.org Subject: [EXTERNAL] [Mailman-Users] Re: Re: problem with non-member Sender rules
On 6/27/24 4:15 AM, Laack, Andrea P. via Mailman-Users wrote:
They are sent to a mail group which goes to all of the system admins.
How does this work. Is this a straight redirect as with an alias, or is some process involved?
The *_these_nonmembers rules test the one address returned by the Message.get_sender() method. See the doc string at https://bazaar.launchpad.net/~mailman-coders/mailman/2.1/view/head:/Mailman/... for how this is determined and how it is affected by the mm_cfg.USE_ENVELOPE_SENDER setting.
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
Mailman-Users mailing list -- mailman-users@python.org To unsubscribe send an email to mailman-users-leave@python.org https://mail.python.org/mailman3/lists/mailman-users.python.org/ Mailman FAQ: http://wiki.list.org/x/AgA3 Security Policy: http://wiki.list.org/x/QIA9 Searchable Archives: https://www.mail-archive.com/mailman-users@python.org/ https://mail.python.org/archives/list/mailman-users@python.org/ Member address: laack.andrea@mayo.edu
![](https://secure.gravatar.com/avatar/56f108518d7ee2544412cc80978e3182.jpg?s=120&d=mm&r=g)
On 6/27/24 8:20 AM, Laack, Andrea P. via Mailman-Users wrote:
Straight redirect with an alias.
That shouldn't affect the relevant headers used to determine the sender for *_these_nonmembers. Can you give a specific example of the issue and what you are trying to accomplish. You say "our servers send emails to root@<server>". Perhaps this issue has something to do with specific From: or Sender: headers in these mails.
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
![](https://secure.gravatar.com/avatar/0fbcef57d028af495d8c9a5992405f78.jpg?s=120&d=mm&r=g)
On Thu, Jun 27, 2024 at 12:05 AM Laack, Andrea P. via Mailman-Users < mailman-users@python.org> wrote:
On Unix systems, emails sent to root@<server> should be aliased to the System Administrator's email address, i.e. Laack.Andrea@mayo.edu. They should NEVER be sent anywhere else.
-- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254 7 3200 0004/+254 7 2274 3223 In an Internet failure case, the #1 suspect is a constant: DNS. "Oh, the cruft.", egrep -v '^$|^.*#' ¯\_(ツ)_/¯ :-) [How to ask smart questions: http://www.catb.org/~esr/faqs/smart-questions.html]
![](https://secure.gravatar.com/avatar/75b307ab358dc90ed5be7481dc21fee1.jpg?s=120&d=mm&r=g)
They are sent to a mail group which goes to all of the system admins.
Andrea
From: Odhiambo Washington <odhiambo@gmail.com> Sent: Thursday, June 27, 2024 4:41 AM To: Laack, Andrea P. <Laack.Andrea@mayo.edu> Cc: mailman-users@python.org Subject: [EXTERNAL] Re: [Mailman-Users] problem with non-member Sender rules
On Thu, Jun 27, 2024 at 12:05 AM Laack, Andrea P. via Mailman-Users <mailman-users@python.org<mailto:mailman-users@python.org>> wrote: Our non-member Sender rules work fine with emails coming directly from the sender, but our servers send emails to root@<server> and those are forwarded to the mail list. The Sender filters do not seem to be working on this forwarded email. How can we get around this?
On Unix systems, emails sent to root@<server> should be aliased to the System Administrator's email address, i.e. Laack.Andrea@mayo.edu<mailto:Laack.Andrea@mayo.edu>. They should NEVER be sent anywhere else.
-- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254 7 3200 0004/+254 7 2274 3223 In an Internet failure case, the #1 suspect is a constant: DNS. "Oh, the cruft.", egrep -v '^$|^.*#' ¯\_(ツ)_/¯ :-) [How to ask smart questions: http://www.catb.org/~esr/faqs/smart-questions.html]
![](https://secure.gravatar.com/avatar/56f108518d7ee2544412cc80978e3182.jpg?s=120&d=mm&r=g)
On 6/27/24 4:15 AM, Laack, Andrea P. via Mailman-Users wrote:
They are sent to a mail group which goes to all of the system admins.
How does this work. Is this a straight redirect as with an alias, or is some process involved?
The *_these_nonmembers rules test the one address returned by the Message.get_sender() method. See the doc string at https://bazaar.launchpad.net/~mailman-coders/mailman/2.1/view/head:/Mailman/... for how this is determined and how it is affected by the mm_cfg.USE_ENVELOPE_SENDER setting.
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
![](https://secure.gravatar.com/avatar/75b307ab358dc90ed5be7481dc21fee1.jpg?s=120&d=mm&r=g)
Straight redirect with an alias.
-----Original Message----- From: Mark Sapiro <mark@msapiro.net> Sent: Thursday, June 27, 2024 10:18 AM To: mailman-users@python.org Subject: [EXTERNAL] [Mailman-Users] Re: Re: problem with non-member Sender rules
On 6/27/24 4:15 AM, Laack, Andrea P. via Mailman-Users wrote:
They are sent to a mail group which goes to all of the system admins.
How does this work. Is this a straight redirect as with an alias, or is some process involved?
The *_these_nonmembers rules test the one address returned by the Message.get_sender() method. See the doc string at https://bazaar.launchpad.net/~mailman-coders/mailman/2.1/view/head:/Mailman/... for how this is determined and how it is affected by the mm_cfg.USE_ENVELOPE_SENDER setting.
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
Mailman-Users mailing list -- mailman-users@python.org To unsubscribe send an email to mailman-users-leave@python.org https://mail.python.org/mailman3/lists/mailman-users.python.org/ Mailman FAQ: http://wiki.list.org/x/AgA3 Security Policy: http://wiki.list.org/x/QIA9 Searchable Archives: https://www.mail-archive.com/mailman-users@python.org/ https://mail.python.org/archives/list/mailman-users@python.org/ Member address: laack.andrea@mayo.edu
![](https://secure.gravatar.com/avatar/56f108518d7ee2544412cc80978e3182.jpg?s=120&d=mm&r=g)
On 6/27/24 8:20 AM, Laack, Andrea P. via Mailman-Users wrote:
Straight redirect with an alias.
That shouldn't affect the relevant headers used to determine the sender for *_these_nonmembers. Can you give a specific example of the issue and what you are trying to accomplish. You say "our servers send emails to root@<server>". Perhaps this issue has something to do with specific From: or Sender: headers in these mails.
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
participants (3)
-
Laack, Andrea P.
-
Mark Sapiro
-
Odhiambo Washington