On Apr 8, 2021, at 5:48 AM, David Partain via Mailman-users <mailman-users@mailman3.org> wrote:
Hi,
I have an (admittedly old) version of Postorius in my install[1] on an Ubuntu 18.04 machine.
Most things work fine. However, my version doesn't seem to have a way to set the maximum number of recipients under Message Acceptance, and mail is getting shunted because there was a setting for lists on the old mailman2 lists that I migrated over. If I'm going to avoid shunting, I have to change the value :)
Since it isn't in Postorius, how should I change it? I'm frankly terrified of screwing things up on my production system, so any help would be appreciated.
If you have access to the server, you can use command line to set the value
of this configuration. You can utilize the mailman withlist
command:
$ mailman withlist -l mylist@example.com
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.
The variable 'm' is the mylist@example.com mailing list
>>> m.max_num_recipients
10
>>> m.max_num_recipients = 5
>>> commit()
This should modify your settings. Make sure you invoke the mailman
command using the correct user, whichever user is running your Mailman
instance. In Debian packages, I think it is called ‘list’ user.
Cheers,
David
[1] python-django-postorius - 1.1.2-3
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/
-- thanks, Abhilash Raj (maxking)