Hello,
I want to whitelist an email address on all lists to bypass moderation. The email address is not a subscriber. On google I found accept_these_nonmembers but I do not know how to use it. Please show me some examples how to whitelist someone@example.org.
Thanks in advance.
M.Z.
On 08/10/2017 07:12 AM, Mark Ziranski wrote:
I want to whitelist an email address on all lists to bypass moderation. The email address is not a subscriber. On google I found accept_these_nonmembers but I do not know how to use it. Please show me some examples how to whitelist someone@example.org.
Since this is a Mailman 3 list, I assume you are asking about MM 3.
Mailman 3 defines the list attribute accept_these_nonmembers, but it is not currently implemented to actually have any effect, nor is it exposed in Postorius.
At the present, I think you would have to create a user record with the address and add that user to all lists with role nonmember and moderation_action 'defer' to apply subsequent tests or 'accept' to unconditionally accept posts from that address.
(In MM 2.1, accept_these_nonmembers is a list of addresses and regexps matching addresses whose posts are to be accepted, subject to subsequent tests, and is exposed in the web admin UI)
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
On Aug 10, 2017, at 13:05, Mark Sapiro <mark@msapiro.net> wrote:
Mailman 3 defines the list attribute accept_these_nonmembers, but it is not currently implemented to actually have any effect, nor is it exposed in Postorius.
Yes, that attribute is deprecated and (almost) completely removed.
At the present, I think you would have to create a user record with the address and add that user to all lists with role nonmember and moderation_action 'defer' to apply subsequent tests or 'accept' to unconditionally accept posts from that address.
That’s the way it should be done. Those actions may not be exposed yet in Postorius or the CLI, so you might have to do it with a wishlist
script.
-Barry
Hi,
thanks for your reply. Can I set the moderation_action on this member? I cannot figure out the API command. All posts of other members should be moderated.
POST: http://localhost:8001/3.1/members role=nonmember
list_id=something.localhost
subscriber=someone@localhost
moderation_action=accept
Reply: Unexpected parameters: moderation_action
Thanks.
Gesendet: Donnerstag, 10. August 2017 um 22:05 Uhr Von: "Mark Sapiro" <mark@msapiro.net> An: mailman-users@mailman3.org Betreff: [MM3-users] Re: Whitelist non subscriber On 08/10/2017 07:12 AM, Mark Ziranski wrote:
I want to whitelist an email address on all lists to bypass
moderation.
The email address is not a subscriber. On google I found accept_these_nonmembers but I do not know how to use it. Please show me some examples how to whitelist someone@example.org. Since this is a Mailman 3 list, I assume you are asking about MM 3. Mailman 3 defines the list attribute accept_these_nonmembers, but it is not currently implemented to actually have any effect, nor is it exposed in Postorius. At the present, I think you would have to create a user record with the address and add that user to all lists with role nonmember and moderation_action 'defer' to apply subsequent tests or 'accept' to unconditionally accept posts from that address. (In MM 2.1, accept_these_nonmembers is a list of addresses and regexps matching addresses whose posts are to be accepted, subject to subsequent tests, and is exposed in the web admin UI)
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 [1]https://lists.mailman3.org/mailman3/lists/mailman-users.mailman3.org /
References
Hello,
sorry to post to an old thread, but we have now the same problem with Mailman 3.1. We need this feature because some of our users have used the whitelists very intensively. As far as I understood it, there is currently no way to set this setting via the web interface, so I want to know how to do it via the Admin API. The steps are as follows, right?
- Add users to the list and give the role "nonmember"
- Set moderation action ('defer' or 'accept')
The only thing missing in the documentation is a note on how to do this via the Admin API. Who can explain that to me?
Translated with www.DeepL.com/Translator
On 08/06/2018 06:43 AM, Stephan Krinetzki wrote:
The steps are as follows, right?
- Add users to the list and give the role "nonmember"
- Set moderation action ('defer' or 'accept')
Right.
The only thing missing in the documentation is a note on how to do this via the Admin API. Who can explain that to me?
Can you be more specific about what you are looking for? If by "Admin API" you mean the REST API, are you asking how to interact with it or what specific POST/PUT/PATCH commands to send?
Or are you asking about the 'mailman shell' command?
Also, we want to expose the nonmember role in Postorius and enable setting moderation action for nonmembers, but we didn't get that in MM 3.2/Postorius 1.2.
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
Mark Sapiro wrote:
On 08/06/2018 06:43 AM, Stephan Krinetzki wrote:
The steps are as follows, right?
- Add users to the list and give the role "nonmember"
- Set moderation action ('defer' or 'accept')
Right.
Good. So i understand it :)
The only thing missing in the documentation is a note on how to do this via the Admin API. Who can explain that to me?
Can you be more specific about what you are looking for? If by "Admin API" you mean the REST API, are you asking how to interact with it or what specific POST/PUT/PATCH commands to send?
Or are you asking about the 'mailman shell' command?
With Admin API I mean the REST API from the localhost. Whether it's the REST API, the Mailman shell or the Admin API, I personally don't care. The only important thing is that we can set and use this role. However, I think that's settled anyway, since you're writing
Also, we want to expose the nonmember role in Postorius and enable setting moderation action for nonmembers, but we didn't get that in MM 3.2/Postorius 1.2.
So the whitelistening is not working at the moment, right?
participants (4)
-
Barry Warsaw
-
Mark Sapiro
-
Mark Ziranski
-
Stephan Krinetzki