On 10-Jan-22 13:30, Mark Sapiro wrote:
On 1/10/22 1:58 AM, Axel Rau wrote:
Anyway, the above is saying that restadmin:??? doesn't match what's configured in Mailman core and reported by
mailman info
. Please check carefully that these are the same in both mailman.cfg admin_pass and settings MAILMAN_REST_API_PASS.Yes, again with password disclosed:
... (mailman_33) [root@lists5 /usr/local/mailman3]# grep admin var/etc/mailman.cfg admin_user: restadmin admin_pass: restpass
Does
mailman info
show the same password?
A common issue that may (or may not) be in play here is leading/trailing whitespace and/or non-spacing control characters.
It may be worth making the output (& input) use quotes & escaping, where the input should accept non-spacing controls, leading/trailing whitespace, and non-traditional interior whitespace (e.g. nbsp, numsp, NoBreak, tab) only in escaped form. By escaped form, I mean one or more formats like HTML's , or Python's at https://python-reference.readthedocs.io/en/latest/docs/str/escapes.html
When dealing with user quantities, if it looks like a space, it should be a space. And if you can't see it, it shouldn't be there (using escapes to make the invisible visible is fine).
Mailman's content filtering has removed the following MIME parts from this message.
Replaced multipart/alternative part with first alternative.