On 4/22/25 1:35 PM, sun zi via Mailman-users wrote:
As mentioned in the subject, I am getting the following error after every post. 
Any assistance would be much appreciated:

The error is from an attempt to archive a message. Since it fails, the problem message is queued in Mailman's var/archives/hyperkitty/spool/ directory and is retried with each post.

The message is in a Python pickle, *.pck, file in that directory. Yoy can examine the message by giving it to `mailman qfile`.

From the tracebacks you posted, it appears that the issue is that the sender's address is longer than 255 bytes.

Move the .pck file out of the var/archives/hyperkitty/spool/ directory and that will stop the recurring error.

If the message is spam you can ignore it. If you want to archive it you need to edit the message's sender, but you can't edit the *.pck directly. You can use `mailman shell` and do something like
```
import pickle
with open('path/to/the/pickle', 'rb') as fp:
    msg = pickle.load(fp)
# code here to edit the sender
with open('path/to/the/pickle', 'wb') as fp:
    msg = pickle.dump(msg, fp)
```

--
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/IB5UUHFVIJAGRT7IY6K2OHAGCRVIYWVQ/

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

Reply via email to