Message getting held due to max number of recipients and maximum message size
Hi all, I am running into an issue with messages getting held for a list with the following reasons:
The message is being held because:
Message has more than 10 recipients The message is larger than the 40 KB maximum size
Either the message will get posted to the list, or you will receive notification of the moderator's decision.
Currently, the settings are set to 0 for both settings on the list so I am not sure where mailman is getting the default settings. Is this default hard coded somewhere in the Mailman core? The version of Mailman running is 3.3.6.
Any help for this issue is greatly appreciate.
wesley
Wesley Wong Senior Systems Engineer Anderson Computing & Information Services | ACIS 310-206-2571 [ucla-logo---new_smaller]
Mailman's content filtering has removed the following MIME parts from this message.
Content-Type: image/png Name: image001.png
Replaced multipart/alternative part with first alternative.
On 9/22/23 11:37, Wong, Wesley wrote:
Currently, the settings are set to 0 for both settings on the list so I am not sure where mailman is getting the default settings. Is this default hard coded somewhere in the Mailman core? The version of Mailman running is 3.3.6.
This is very strange. Are you certain the list's settings are 0? Are there possibly two lists in different domains or otherwise similar names and you are looking at the wrong one?
The only place where the defaults are set is in mailman/styles/base.py and this only affects the default settings for a new list. The values in the
Message has more than 10 recipients
The message is larger than the 40 KB maximum size
messages come from the list's settings.
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
I can confirm that the list was set to 0 for max recipients and message size. In addition, I checked the base.py and the defaults are the ones in the message. If I went ahead and modified the settings in base.py, would this immediately to all existing lists in Mailman?
wesley
-----Original Message----- From: Mark Sapiro <mark@msapiro.net> Sent: Friday, September 22, 2023 1:04 PM To: mailman-users@mailman3.org Subject: [MM3-users] Re: Message getting held due to max number of recipients and maximum message size
On 9/22/23 11:37, Wong, Wesley wrote:
Currently, the settings are set to 0 for both settings on the list so I am not sure where mailman is getting the default settings. Is this default hard coded somewhere in the Mailman core? The version of Mailman running is 3.3.6.
This is very strange. Are you certain the list's settings are 0? Are there possibly two lists in different domains or otherwise similar names and you are looking at the wrong one?
The only place where the defaults are set is in mailman/styles/base.py and this only affects the default settings for a new list. The values in the Message has more than 10 recipients The message is larger than the 40 KB maximum size
messages come from the list's settings.
-- 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@mailman3.org To unsubscribe send an email to mailman-users-leave@mailman3.org https://lists.mailman3.org/mailman3/lists/mailman-users.mailman3.org/ Archived at: https://lists.mailman3.org/archives/list/mailman-users@mailman3.org/message/...
This message sent to wesley.wong@anderson.ucla.edu
On 9/22/23 14:56, Wong, Wesley wrote:
I can confirm that the list was set to 0 for max recipients and message size. In addition, I checked the base.py and the defaults are the ones in the message. If I went ahead and modified the settings in base.py, would this immediately to all existing lists in Mailman?
No. It would only affect lists created after you did that.
I suggest the following mailman shell interaction
$ ./mailman shell
Welcome to the GNU Mailman shell
Use commit() to commit changes.
Use abort() to discard changes since the last commit.
Exit with ctrl+D does an implicit commit() but exit() does not.
>>> for mlist in getUtility(IListManager):
... if (mlist.max_num_recipients == 10 and
... mlist.max_message_size == 40):
... print(mlist.list_id)
...
This will print the list ids of all lists with max_num_recipients = 10 and max_message_size = 40
Your held message notice is for one of those lists.
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
participants (2)
-
Mark Sapiro
-
Wong, Wesley