Held message notifications are not being sent to moderators
![](https://secure.gravatar.com/avatar/91d4ad5d2d8c192b3d6d683f40eb80e8.jpg?s=120&d=mm&r=g)
We have numerous lists set as announcement lists by setting all members as moderated. However the moderators are not getting notifications for held messages; only the list owner is getting the notifications.
This is a new-ish phenomenon, since I know they used to be sent to all the moderators, too.
I can see the held messages in the vette logfile, and the smtp logfile shows the message to the list owner being sent, twice, but that’s it.
vette:
Jun 22 11:02:39 2022 (1248) Faculty post from johnson@pharmacy.arizona.edu held, message-id=<980174D2-74F6-4C25-8E2B-A21440D9D698@pharmacy.arizona.edu>: Post by non-member to a members-only list
SMTP:
Jun 22 11:02:41 2022 (1260) <mailman.358.1655920959.1248.faculty@pharmacy.arizona.edu> smtp to faculty for 1 recips, completed in 0.105 seconds Jun 22 11:02:41 2022 (1260) <mailman.360.1655920959.1248.faculty@pharmacy.arizona.edu> smtp to faculty for 1 recips, completed in 0.105 seconds
As our office gets the emails for the list owners I was able to confirm the message ID for the notification.
This is a problem, obviously. Is there any weird setting I could have made to break this?
-- Bruce Johnson University of Arizona College of Pharmacy Information Technology Group
Institutions do not have opinions, merely customs
![](https://secure.gravatar.com/avatar/56f108518d7ee2544412cc80978e3182.jpg?s=120&d=mm&r=g)
On 6/22/22 11:16, Bruce Johnson via Mailman-Users wrote:
This is very strange. You see two entries in the smtp log because the notice is first sent to LISTNAME-owner@example.com and then Mailman receives that message and resends it to the list's owners and moderators. Unless you have some change in Mailman/Handlers/OwnerRecips.py, I don't see how this can not include the moderators.
What is the content of the list's moderator 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/91d4ad5d2d8c192b3d6d683f40eb80e8.jpg?s=120&d=mm&r=g)
On Jun 22, 2022, at 2:14 PM, Mark Sapiro <mark@msapiro.net<mailto:mark@msapiro.net>> wrote:
On 6/22/22 11:16, Bruce Johnson via Mailman-Users wrote: We have numerous lists set as announcement lists by setting all members as moderated. However the moderators are not getting notifications for held messages; only the list owner is getting the notifications. This is a new-ish phenomenon, since I know they used to be sent to all the moderators, too. I can see the held messages in the vette logfile, and the smtp logfile shows the message to the list owner being sent, twice, but that’s it.
This is very strange. You see two entries in the smtp log because the notice is first sent to LISTNAME-owner@example.com<mailto:LISTNAME-owner@example.com> and then Mailman receives that message and resends it to the list's owners and moderators. Unless you have some change in Mailman/Handlers/OwnerRecips.py, I don't see how this can not include the moderators.
What is the content of the list's moderator setting?
The list administrator email addresses. Multiple administrator addresses, each on separate line is okay. (Details for owner)<https://lists.pharmacy.arizona.edu/mailman/admin/faculty/?VARHELP=general/ow...> The list moderator email addresses. Multiple moderator addresses, each on separate line is okay. (Details for moderator)<https://lists.pharmacy.arizona.edu/mailman/admin/faculty/?VARHELP=general/mo...>
Anonymized but they are all valid addresses.
We have a service account created for all list ownership that goes to our it ticketing system.
I have never messed with that afaik:
more /usr/lib/mailman/Mailman/Handlers/OwnerRecips.py # Copyright (C) 2001-2018 by the Free Software Foundation, Inc. # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License # as published by the Free Software Foundation; either version 2 # of the License, or (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
"""Calculate the list owner recipients (includes moderators). """
^L def process(mlist, msg, msgdata): # The recipients are the owner and the moderator msgdata['recips'] = mlist.owner + mlist.moderator # Don't decorate these messages with the header/footers msgdata['nodecorate'] = 1 msgdata['personalize'] = 0
I know that getting mlist.moderator works because one of my other scripts uses a withlist command that gets the owners and moderators.
Not sure what the ^L is in there, though….
-- Bruce Johnson University of Arizona College of Pharmacy Information Technology Group
Institutions do not have opinions, merely customs
![](https://secure.gravatar.com/avatar/91d4ad5d2d8c192b3d6d683f40eb80e8.jpg?s=120&d=mm&r=g)
Well THAT did not go through as I expected it to
The list owner has one address, the list moderator has three addresses. All are valid, and I've cleared and re-entered the addresses just in case a hidden control character got stuck in there.
The only recent change in the server was setting up https:// to work properly, but that should have nothing to do with this.
On Jun 22, 2022, at 2:29 PM, Bruce Johnson via Mailman-Users <mailman-users@python.org<mailto:mailman-users@python.org>> wrote:
On Jun 22, 2022, at 2:14 PM, Mark Sapiro <mark@msapiro.net<mailto:mark@msapiro.net><mailto:mark@msapiro.net>> wrote:
On 6/22/22 11:16, Bruce Johnson via Mailman-Users wrote: We have numerous lists set as announcement lists by setting all members as moderated. However the moderators are not getting notifications for held messages; only the list owner is getting the notifications. This is a new-ish phenomenon, since I know they used to be sent to all the moderators, too. I can see the held messages in the vette logfile, and the smtp logfile shows the message to the list owner being sent, twice, but that’s it.
This is very strange. You see two entries in the smtp log because the notice is first sent to LISTNAME-owner@example.com<mailto:LISTNAME-owner@example.com><mailto:LISTNAME-owner@example.com> and then Mailman receives that message and resends it to the list's owners and moderators. Unless you have some change in Mailman/Handlers/OwnerRecips.py, I don't see how this can not include the moderators.
So I should see a smtp log entry message for one recipient, then a second for 4, the list owner and three moderators.
What is the content of the list's moderator setting?
The list administrator email addresses. Multiple administrator addresses, each on separate line is okay. (Details for owner)<https://lists.pharmacy.arizona.edu/mailman/admin/faculty/?VARHELP=general/ow...> The list moderator email addresses. Multiple moderator addresses, each on separate line is okay. (Details for moderator)<https://lists.pharmacy.arizona.edu/mailman/admin/faculty/?VARHELP=general/mo...>
-- Bruce Johnson University of Arizona College of Pharmacy Information Technology Group
Institutions do not have opinions, merely customs
![](https://secure.gravatar.com/avatar/56f108518d7ee2544412cc80978e3182.jpg?s=120&d=mm&r=g)
On 6/22/22 14:36, Bruce Johnson via Mailman-Users wrote:
So I should see a smtp log entry message for one recipient, then a second for 4, the list owner and three moderators.
Yes.
-- 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/56f108518d7ee2544412cc80978e3182.jpg?s=120&d=mm&r=g)
On 6/22/22 14:29, Bruce Johnson via Mailman-Users wrote:
The ^L is just for formatting. It is just whitespace as far as python is concerned.
Is there anything in Mailman's error log?
What's in the MTA logs?
-- 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/56f108518d7ee2544412cc80978e3182.jpg?s=120&d=mm&r=g)
On 6/22/22 11:16, Bruce Johnson via Mailman-Users wrote:
This is very strange. You see two entries in the smtp log because the notice is first sent to LISTNAME-owner@example.com and then Mailman receives that message and resends it to the list's owners and moderators. Unless you have some change in Mailman/Handlers/OwnerRecips.py, I don't see how this can not include the moderators.
What is the content of the list's moderator 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/91d4ad5d2d8c192b3d6d683f40eb80e8.jpg?s=120&d=mm&r=g)
On Jun 22, 2022, at 2:14 PM, Mark Sapiro <mark@msapiro.net<mailto:mark@msapiro.net>> wrote:
On 6/22/22 11:16, Bruce Johnson via Mailman-Users wrote: We have numerous lists set as announcement lists by setting all members as moderated. However the moderators are not getting notifications for held messages; only the list owner is getting the notifications. This is a new-ish phenomenon, since I know they used to be sent to all the moderators, too. I can see the held messages in the vette logfile, and the smtp logfile shows the message to the list owner being sent, twice, but that’s it.
This is very strange. You see two entries in the smtp log because the notice is first sent to LISTNAME-owner@example.com<mailto:LISTNAME-owner@example.com> and then Mailman receives that message and resends it to the list's owners and moderators. Unless you have some change in Mailman/Handlers/OwnerRecips.py, I don't see how this can not include the moderators.
What is the content of the list's moderator setting?
The list administrator email addresses. Multiple administrator addresses, each on separate line is okay. (Details for owner)<https://lists.pharmacy.arizona.edu/mailman/admin/faculty/?VARHELP=general/ow...> The list moderator email addresses. Multiple moderator addresses, each on separate line is okay. (Details for moderator)<https://lists.pharmacy.arizona.edu/mailman/admin/faculty/?VARHELP=general/mo...>
Anonymized but they are all valid addresses.
We have a service account created for all list ownership that goes to our it ticketing system.
I have never messed with that afaik:
more /usr/lib/mailman/Mailman/Handlers/OwnerRecips.py # Copyright (C) 2001-2018 by the Free Software Foundation, Inc. # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License # as published by the Free Software Foundation; either version 2 # of the License, or (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
"""Calculate the list owner recipients (includes moderators). """
^L def process(mlist, msg, msgdata): # The recipients are the owner and the moderator msgdata['recips'] = mlist.owner + mlist.moderator # Don't decorate these messages with the header/footers msgdata['nodecorate'] = 1 msgdata['personalize'] = 0
I know that getting mlist.moderator works because one of my other scripts uses a withlist command that gets the owners and moderators.
Not sure what the ^L is in there, though….
-- Bruce Johnson University of Arizona College of Pharmacy Information Technology Group
Institutions do not have opinions, merely customs
![](https://secure.gravatar.com/avatar/91d4ad5d2d8c192b3d6d683f40eb80e8.jpg?s=120&d=mm&r=g)
Well THAT did not go through as I expected it to
The list owner has one address, the list moderator has three addresses. All are valid, and I've cleared and re-entered the addresses just in case a hidden control character got stuck in there.
The only recent change in the server was setting up https:// to work properly, but that should have nothing to do with this.
On Jun 22, 2022, at 2:29 PM, Bruce Johnson via Mailman-Users <mailman-users@python.org<mailto:mailman-users@python.org>> wrote:
On Jun 22, 2022, at 2:14 PM, Mark Sapiro <mark@msapiro.net<mailto:mark@msapiro.net><mailto:mark@msapiro.net>> wrote:
On 6/22/22 11:16, Bruce Johnson via Mailman-Users wrote: We have numerous lists set as announcement lists by setting all members as moderated. However the moderators are not getting notifications for held messages; only the list owner is getting the notifications. This is a new-ish phenomenon, since I know they used to be sent to all the moderators, too. I can see the held messages in the vette logfile, and the smtp logfile shows the message to the list owner being sent, twice, but that’s it.
This is very strange. You see two entries in the smtp log because the notice is first sent to LISTNAME-owner@example.com<mailto:LISTNAME-owner@example.com><mailto:LISTNAME-owner@example.com> and then Mailman receives that message and resends it to the list's owners and moderators. Unless you have some change in Mailman/Handlers/OwnerRecips.py, I don't see how this can not include the moderators.
So I should see a smtp log entry message for one recipient, then a second for 4, the list owner and three moderators.
What is the content of the list's moderator setting?
The list administrator email addresses. Multiple administrator addresses, each on separate line is okay. (Details for owner)<https://lists.pharmacy.arizona.edu/mailman/admin/faculty/?VARHELP=general/ow...> The list moderator email addresses. Multiple moderator addresses, each on separate line is okay. (Details for moderator)<https://lists.pharmacy.arizona.edu/mailman/admin/faculty/?VARHELP=general/mo...>
-- Bruce Johnson University of Arizona College of Pharmacy Information Technology Group
Institutions do not have opinions, merely customs
![](https://secure.gravatar.com/avatar/56f108518d7ee2544412cc80978e3182.jpg?s=120&d=mm&r=g)
On 6/22/22 14:36, Bruce Johnson via Mailman-Users wrote:
So I should see a smtp log entry message for one recipient, then a second for 4, the list owner and three moderators.
Yes.
-- 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/56f108518d7ee2544412cc80978e3182.jpg?s=120&d=mm&r=g)
On 6/22/22 14:29, Bruce Johnson via Mailman-Users wrote:
The ^L is just for formatting. It is just whitespace as far as python is concerned.
Is there anything in Mailman's error log?
What's in the MTA logs?
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
participants (2)
-
Bruce Johnson
-
Mark Sapiro