Well, I have finally got it to archive something.

One simple thing that tripped me up was the ARCHIVER_KEY

• mailman-hyperkitty.cfg says:

# The shared api_key, must be identical except for quoting to the value of
# MAILMAN_ARCHIVER_KEY in HyperKitty's settings.
api_key: SecretArchiverAPIKey

Which is confusing as it is referring to "# Mailman API credentials" in the
file mailman-web.py

• mailman-web.py says:

MAILMAN_ARCHIVER_KEY = 'SecretArchiverAPIKey'

It would be good if the lines in mailman-web.py were:

# The value below is the same as api_key in mailman-hyperkitty.cfg except that 
the value here has quotes round it
MAILMAN_ARCHIVER_KEY = 'SecretArchiverAPIKey'

And the lines in mailman-hyperkitty.cfg were:

# The shared api_key, must be identical except for quoting to the value of
# MAILMAN_ARCHIVER_KEY in HyperKitty's settings (mailman-web.py)
# The value here does not have quotes
api_key: SecretArchiverAPIKey


And if you want to be really nice check if the api_key value is enclosed in
quotes and generate a message if so.

Regards

-- 
Alain Williams
Linux/GNU Consultant - Mail systems, Web sites, Networking, Programmer, IT 
Lecturer.
+44 (0) 787 668 0256  https://www.phcomp.co.uk/
Parliament Hill Computers. Registration Information: 
https://www.phcomp.co.uk/Contact.html
#include <std_disclaimer.h>
_______________________________________________
Mailman-users mailing list -- mailman-users@mailman3.org
To unsubscribe send an email to mailman-users-le...@mailman3.org
https://lists.mailman3.org/mailman3/lists/mailman-users.mailman3.org/
Archived at: 
https://lists.mailman3.org/archives/list/mailman-users@mailman3.org/message/DHMZUMLUU2HZQPQXGDYCVUXJAKNLJICK/

This message sent to arch...@mail-archive.com

Reply via email to