Mailman 3 Issue - Unable to Authenticate with Mailman Core REST API
![](https://secure.gravatar.com/avatar/3a148e12e7f06a508f5275c2ccf97853.jpg?s=120&d=mm&r=g)
Fellow mailman enthusiasts,
I am configuring Mailman 3's web frontend components, Hyperkitty, based on the provided documentation: <https://docs.mailman3.org/en/latest/config-web.html>. I have successfully set up Django and completed various configuration steps, but I am encountering an issue with authenticating with the Mailman Core REST API.
Description of the issue: → Mailman core REST API Configuration: in the Django settings.py file, I have set the MAILMAN_REST_API_URL to the correct URL of the Core's REST API server (http://localhost:8001/). Additionally, I have specified the MAILMAN_REST_API_USER and MAILMAN_REST_API_PASS with the appropriate credentials (default values used in the core are 'restadmin' and 'restpass'). → Authentication failure: despite the correct configuration of the REST API settings, when attempting to interact with the Mailman Core REST API through Hyperkitty, authentication fails. Depicting that authentication credentials are invalid. → MAILMAN_ARCHIVER_KEY configuration: I have also configured the MAILMAN_ARCHIVER_KEY in the Django settings.py file, ensuring that it matches the value set in the mailman-hyperkitty.cfg file as per the documentation. → Documentation: I have carefully followed the documentation related to the Mailman REST API and the configuration parameters. However, I couldn't find any specific troubleshooting steps or additional settings that might be required to ensure successful authentication.
That's why I'm here seeking assistance to identify any potential misconfigurations or steps I might have missed in setting up the authentication between the Mailman web components and the Mailman Core REST API. Your insights, suggestions, or guidance on resolving this authentication issue would be highly appreciated.
Let me know if additional information or specific configurations are needed. Thanks in advance for your support!
Patricia T. Flexing codes with <https://maniflexa.com/services/uganda-web-design-company/>.
![](https://secure.gravatar.com/avatar/56f108518d7ee2544412cc80978e3182.jpg?s=120&d=mm&r=g)
On 11/26/23 07:45, Patricia Traore wrote:
I assume the same is true of Postorius or possibly you mean Postorius rather than HyperKitty, since most interaction via REST is with Postorius.
→ MAILMAN_ARCHIVER_KEY configuration: I have also configured the MAILMAN_ARCHIVER_KEY in the Django settings.py file, ensuring that it matches the value set in the mailman-hyperkitty.cfg file as per the documentation.
This affects Mailman core's interaction with HyperKitty to determine the URL for a message to be archived and to archive the message. It has nothing to do with REST API authentication.
Let me know if additional information or specific configurations are needed. Thanks in advance for your support! What's in logs?, both mailman.log and django's log?
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
![](https://secure.gravatar.com/avatar/3a148e12e7f06a508f5275c2ccf97853.jpg?s=120&d=mm&r=g)
My bad, yes I meant Postorius.
I did restart the configuration following Odhiambo's guide and it worked like a charm. For now, I keep my head up.
Thanks Marks.
Patricia T. Flexing codes with https://maniflexa.com/services/uganda-web-design-company/.
![](https://secure.gravatar.com/avatar/56f108518d7ee2544412cc80978e3182.jpg?s=120&d=mm&r=g)
On 11/26/23 07:45, Patricia Traore wrote:
I assume the same is true of Postorius or possibly you mean Postorius rather than HyperKitty, since most interaction via REST is with Postorius.
→ MAILMAN_ARCHIVER_KEY configuration: I have also configured the MAILMAN_ARCHIVER_KEY in the Django settings.py file, ensuring that it matches the value set in the mailman-hyperkitty.cfg file as per the documentation.
This affects Mailman core's interaction with HyperKitty to determine the URL for a message to be archived and to archive the message. It has nothing to do with REST API authentication.
Let me know if additional information or specific configurations are needed. Thanks in advance for your support! What's in logs?, both mailman.log and django's log?
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
![](https://secure.gravatar.com/avatar/3a148e12e7f06a508f5275c2ccf97853.jpg?s=120&d=mm&r=g)
My bad, yes I meant Postorius.
I did restart the configuration following Odhiambo's guide and it worked like a charm. For now, I keep my head up.
Thanks Marks.
Patricia T. Flexing codes with https://maniflexa.com/services/uganda-web-design-company/.
participants (2)
-
Mark Sapiro
-
Patricia Traore