Make archives private by default
Dear all,
in mailman2 there was a setting that ensured that the archives of newly created lists are by default privat (
DEFAULT_ARCHIVE_PRIVATE = 1
Is there something similar in Mailman3?
Johannes
Johannes Rohr writes:
DEFAULT_ARCHIVE_PRIVATE = 1
Is there something similar in Mailman3?
As far as I know, there is not. It should be possible to create a default list style that does this, but that requires writing the style in Python, and hooking it into the list. I'm not sure how that works, maybe Mark knows.
Steve
On 1/8/23 06:40, Johannes Rohr wrote:
Dear all,
in mailman2 there was a setting that ensured that the archives of newly created lists are by default privat (
DEFAULT_ARCHIVE_PRIVATE = 1
Is there something similar in Mailman3?
Set
[styles] default: private-default
in mailman.cfg. There are other effects to this style. namely, in addition to setting archives to private, it also sets the subscription policy to confirm then moderate and sets the list unadvertised.
If you want a style that's like ordinary discussion list style except with private archives, but advertised and subscription policy = confirm, you'd need to create a plugin with your own style.
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
Hi - I imported mailman 2 mailboxes which were private. Settings show them to be private, but they are not. It's possible to view them without being logged in. Should that be happening?
I did run /opt/mailman/venv/bin/mailman-web runjob sync_mailman, but that didn't seem to help.
Can someone point to me the documentation on mailman.cfg features? I.e., I read on this mailing list that one can set archives for new lists to be private using:
[styles] default: private-default
But where can I find that and other features? Thanks.
On 5/11/23 12:03 PM, mrl@psfc.mit.edu wrote:
Hi - I imported mailman 2 mailboxes which were private. Settings show them to be private, but they are not. It's possible to view them without being logged in. Should that be happening?
No. I don't know what the issue is, but if Postorius shows the list's Archive policy as Private archives HyperKitty should not allow a non-logged in user to view that archive.
Can someone point to me the documentation on mailman.cfg features? I.e., I read on this mailing list that one can set archives for new lists to be private using:
[styles] default: private-default
That's correct.
But where can I find that and other features? Thanks.
I don't think there is a good doc on this, but https://gitlab.com/mailman/mailman/-/blob/master/src/mailman/config/schema.c... has a fair amount of documentation in comments.
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
Thanks for the link.
And sorry, yes the archives were private. I had a case of snow blindness.
participants (4)
-
Johannes Rohr
-
Mark Sapiro
-
mrl@psfc.mit.edu
-
Stephen J. Turnbull