On 12/23/24 09:01, Arte Chambers via Mailman-users wrote:
Output from mailman log after sending a test message to the list:

Dec 23 16:52:23 2024 (684048) Traceback (most recent call last):
   File
"/opt/mailman/venv/lib/python3.12/site-packages/mailman_hyperkitty/__init__.py",
line 158, in _archive_message
     url = self._send_message(mlist, msg)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   File
"/opt/mailman/venv/lib/python3.12/site-packages/mailman_hyperkitty/__init__.py",
line 228, in _send_message
     raise ValueError(result.text)
ValueError:
<!doctype html>
<html lang="en">
<head>
   <title>Bad Request (400)</title>
</head>
<body>
   <h1>Bad Request (400)</h1><p></p>
</body>
</html>

mailman_hyperkitty is sending the message to hyperkitty to be archived and receiving the 400 response. Presumably it has previously requested and received the list_url and the permalink to put in the message headers. This can be confirmed by the presence of List-Archive: and Archived-At: headers with values in the messages from the list. So the configuration seems to be correct to allow mailman_hyperkitty to communicate with hyperkitty. It is not clear why, but this code https://gitlab.com/mailman/hyperkitty/-/blob/master/hyperkitty/views/mailman.py?ref_type=heads#L162-L170 is getting the ValueError. That can come from one of three places in https://gitlab.com/mailman/hyperkitty/-/blob/master/hyperkitty/lib/incoming.py?ref_type=heads. The lack of a Message-ID: is not it because Mailman's lmtp runner will add one. Most likely it is the non-ascii sender address from https://gitlab.com/mailman/hyperkitty/-/blob/master/hyperkitty/lib/incoming.py?ref_type=heads#L83-L85

What do you get from
```
mailman qfile var/archives/hyperkitty/spool/xxx.pck
```
where xxx.pck is one of the (hopefully smaller) files. In particular, what is the From: header in that?

--
Mark Sapiro <m...@msapiro.net>        The highway is for gamblers,
San Francisco Bay Area, California    better use your sense - B. Dylan

_______________________________________________
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/JBUGY7XI74VQTCIMDNNIAA7TELLJ6DG3/

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

Reply via email to