22 Sep
2023
22 Sep
'23
10:20 p.m.
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