How to create user accounts and mail addresses through CURL instead of Site Administration ?
Hi Team,
I am currently running Mailman 3 with version 3.3.1 and in built postfix version 2.10.1-6 on RHEL 7.5 in production environment from the past 3 months almost.
I am currently automating a few things using the CURL commands but only postorius related as of now. Now I have a requirement.
I need to create a lot many users and their mapping email ids through Site Administration almost daily. But it is becoming to do the same through Graphical Interface.
So, I just want to know the CURL commands that can be used to create the user accounts and email ids mapped to user accounts.
Please do the needful.
-- Thanks & Regards, Shashi Kanth.K 9052671936
<https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail> Virus-free. www.avast.com <https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail> <#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
On 8/10/20 11:18 AM, Shashikanth Komandoor wrote:
I am currently automating a few things using the CURL commands but only postorius related as of now. Now I have a requirement.
I need to create a lot many users and their mapping email ids through Site Administration almost daily. But it is becoming to do the same through Graphical Interface.
So, I just want to know the CURL commands that can be used to create the user accounts and email ids mapped to user accounts.
The accounts you are talking about are Django accounts. You cannot create these via CURL to the Mailman core REST API.
You might find <https://www.django-rest-framework.org/tutorial/quickstart/> of interest.
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
Thank you Mark for you response in time.
On Tue, Aug 11, 2020 at 9:40 AM Mark Sapiro <mark@msapiro.net> wrote:
I am currently automating a few things using the CURL commands but only postorius related as of now. Now I have a requirement.
I need to create a lot many users and their mapping email ids through Site Administration almost daily. But it is becoming to do the same
Graphical Interface.
So, I just want to know the CURL commands that can be used to create
On 8/10/20 11:18 AM, Shashikanth Komandoor wrote: through the
user accounts and email ids mapped to user accounts.
The accounts you are talking about are Django accounts. You cannot create these via CURL to the Mailman core REST API.
You might find <https://www.django-rest-framework.org/tutorial/quickstart/> of interest.
-- 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 & Regards, Shashi Kanth.K 9052671936
participants (2)
-
Mark Sapiro
-
Shashikanth Komandoor