Changing default message limit (max_message_size)
Right, me again. I'm so close to having what I need up and running ... but a showstopper is the max message size that triggers a moderate in it.
40kB these days is just way small ... unless you're a 1% using text-only email.
So found this on list archive: https://lists.mailman3.org/archives/list/mailman-users@mailman3.org/thread/A...
$ bin/mailman shell -l list(a)example.com // Welcome to the GNU Mailman shell // The variable 'm' is the list(a)example.com // mailing list m.max_message_size = nn // commit()
Unfortunately this does not work in the containerised mailman.
So I get the container ID and run: docker exec 3373d426996d /usr/local/bin/mailman shell -i test-list@iotcouncil.org.za
(in the post by Mark it says "-l" but I get "unrecognized argument" -- I assume it should be -i for "interactive"?
Either way, it fires up the mailman shell and then throws me straight out back to the command line:
Welcome to the GNU Mailman shell
The variable 'm' is the test-list@iotcouncil.org.za mailing list
>>>
[root@listman ~]#
So that doesn't help...
On 5/24/19 7:05 AM, roger@reasonal.com wrote:
$ bin/mailman shell -l list(a)example.com // Welcome to the GNU Mailman shell // The variable 'm' is the list(a)example.com // mailing list m.max_message_size = nn // commit()
Unfortunately this does not work in the containerised mailman.
So I get the container ID and run: docker exec 3373d426996d /usr/local/bin/mailman shell -i test-list@iotcouncil.org.za
(in the post by Mark it says "-l" but I get "unrecognized argument" -- I assume it should be -i for "interactive"?
It should be -l or --listspec followed by the list posting address or list ID. I can't explain why you get "unrecognized argument".
Either way, it fires up the mailman shell and then throws me straight out back to the command line:
Welcome to the GNU Mailman shell The variable 'm' is the test-list@iotcouncil.org.za mailing list >>>
[root@listman ~]#
The above indicates there was a recognized '-l test-list@iotcouncil.org.za' argument because it knew to instantiate the list and assign it to 'm'.
So that doesn't help...
I really can't help with Docker, but there is some issue that causes the command to exit as soon as it asks for input. It is waiting for interactive input and gets an end of file.
Maybe @maxking can help with this.
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
On 5/24/19 1:26 PM, Mark Sapiro wrote:
On 5/24/19 7:05 AM, roger@reasonal.com wrote:
$ bin/mailman shell -l list(a)example.com // Welcome to the GNU Mailman shell // The variable 'm' is the list(a)example.com // mailing list m.max_message_size = nn // commit()
Unfortunately this does not work in the containerised mailman.
In my prior reply I was distracted by the above. Actually, the way to set max_message_size is via the Postorius Message Acceptance settings.
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
I found the field in settings that would appear to do this, but it just throws an error for whatever I give it ("An error occured**: Unknown attribute: max_message_size").
~Roger
PS As a suggestion, may be a good idea to indicate what units it's expecting... bytes? kB? Nybbles?
PPS ** Psst: occurred with two r's...
On 5/27/19 12:05 AM, roger@reasonal.com wrote:
I found the field in settings that would appear to do this, but it just throws an error for whatever I give it ("An error occured**: Unknown attribute: max_message_size").
This should be fixed at <https://gitlab.com/mailman/mailman/merge_requests/329>.
Perhaps you need to update your Docker images <https://asynchronous.in/docker-mailman/>
Also, see
<https://gitlab.com/mailman/postorius/issues/246#note_69323948> for a
not about changing this via mailman shell
(withlist), but see the
subsequent comment about quit()
PS As a suggestion, may be a good idea to indicate what units it's expecting... bytes? kB? Nybbles?
Reported at <https://gitlab.com/mailman/postorius/issues/362>, thanks.
PPS ** Psst: occurred with two r's...
Reported at <https://gitlab.com/mailman/postorius/issues/361>, thanks.
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
On Mon, May 27, 2019, at 8:23 AM, Mark Sapiro wrote:
On 5/27/19 12:05 AM, roger@reasonal.com wrote:
I found the field in settings that would appear to do this, but it just throws an error for whatever I give it ("An error occured**: Unknown attribute: max_message_size").
This should be fixed at <https://gitlab.com/mailman/mailman/merge_requests/329>.
Perhaps you need to update your Docker images <https://asynchronous.in/docker-mailman/>
That's right. You are probably using a new version of Postorius but not of Mailman Core. Please make sure the container images you have are updated.
Also, see <https://gitlab.com/mailman/postorius/issues/246#note_69323948> for a not about changing this via
mailman shell
(withlist), but see the subsequent comment aboutquit()
PS As a suggestion, may be a good idea to indicate what units it's expecting... bytes? kB? Nybbles?
Reported at <https://gitlab.com/mailman/postorius/issues/362>, thanks.
PPS ** Psst: occurred with two r's...
Reported at <https://gitlab.com/mailman/postorius/issues/361>, thanks.
-- 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/
-- thanks, Abhilash Raj (maxking)
That was it. The docker compose file from the "how to" references 0.1 of core and web.
So that's all working, thanks.
On Wed, May 29, 2019, at 5:31 AM, roger@reasonal.com wrote:
That was it. The docker compose file from the "how to" references 0.1 of core and web. Can you open an issue on Github to update that to 0.2 instead?
So that's all working, thanks.
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)
participants (3)
-
Abhilash Raj
-
Mark Sapiro
-
roger@reasonal.com