#1120641 mailman3: hyperkitty archiving broken after upgrade to trixie

#1120641#5
Date:
2025-11-13 20:15:17 UTC
From:
To:
Dear Maintainer,

hyperkitty archiving stopped after updating from bookworm to trixie.

mailman.log had this,

Nov 13 02:13:28 2025 (411369) Exception in the HyperKitty archiver:
<html><title>Forbidden</title><body>
                <h1>Access is forbidden</h1><p>Please check the IP addresses
                 assigned to MAILMAN_ARCHIVER_FROM in the settings file.
                </p></body></html>
Nov 13 02:13:28 2025 (411369) Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/mailman_hyperkitty/__init__.py", line
158, in _archive_message
    url = self._send_message(mlist, msg)
  File "/usr/lib/python3/dist-packages/mailman_hyperkitty/__init__.py", line
228, in _send_message
    raise ValueError(result.text)

and similar issue was reported by other people

https://lists.mailman3.org/archives/list/mailman-
users@mailman3.org/thread/3YD6VHFHVE2GMCBK3AIEQL3N6LT2DXYR/

This was fixed by adding public ip in /etc/mailman3/mailman-web.py

MAILMAN_ARCHIVER_FROM = ('127.0.0.1',
'::1','37.27.84.17','2a01:4f9:c012:9b2::1')

I think this should be documented more prominently so others updating can find
it more easily.