On Fri, Nov 22, 2024 at 12:16 AM Alain D D Williams <a...@phcomp.co.uk>
wrote:

> 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.
>


The official and supported documentation for installing MM3 doesn't speak
anything about mailman-web.py.
It is here: https://docs.mailman3.org/en/latest/install/virtualenv.html

On this platform, the rule is - IF you don't use the documentation above,
then your primary support is your distro's packagers.

The official documentation speaks of only 3 files: settings.py, mailman.cf
and mailman-hyperkitty.cf (IIRC) and the "quoted here", not quoted there,
is something that I remember
as referring to mailman-hyperkitty.cfg and settings.py.

Those who prefer not to lose hair scratching their heads do follow
https://docs.mailman3.org/en/latest/install/virtualenv.html. It doesn't
address everything, but it's quite close.

-- 
Best regards,
Odhiambo WASHINGTON,
Nairobi,KE
+254 7 3200 0004/+254 7 2274 3223
 In an Internet failure case, the #1 suspect is a constant: DNS.
"Oh, the cruft.", egrep -v '^$|^.*#' ¯\_(ツ)_/¯ :-)
[How to ask smart questions:
http://www.catb.org/~esr/faqs/smart-questions.html]
_______________________________________________
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/W5NCOS4SS4P34DDFZPKQU6FF4WQA4ZPA/

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

Reply via email to