mailman3 not sending emails and archives not populating
Hi Mark Can you please help me resolve mailman3 issues? It was working well until recently and now no emails delivery to mailbox The first issue, not receiving email from my list, it gets removed in postfix /var/log/mailman3/smtp.log May 06 22:08:46 2022 (6713) ('127.0.0.1', 50690) handling connection May 06 22:08:46 2022 (6713) ('127.0.0.1', 50690) Data: b'LHLO rush.ai.net' May 06 22:08:46 2022 (6713) ('127.0.0.1', 50690) Data: b'MAIL FROM:<kim@kim.net>' May 06 22:08:46 2022 (6713) ('127.0.0.1', 50690) sender: kim@kim.net May 06 22:08:46 2022 (6713) ('127.0.0.1', 50690) Data: b'RCPT TO:<shiftchange@ kim.net >' May 06 22:08:46 2022 (6713) ('127.0.0.1', 50690) recip: shiftchange@ kim.net May 06 22:08:46 2022 (6713) ('127.0.0.1', 50690) Data: b'DATA' May 06 22:08:46 2022 (6713) ('127.0.0.1', 50690) Data: b'QUIT' May 06 22:08:46 2022 (6713) ('127.0.0.1', 50690) connection lost May 06 22:08:46 2022 (6713) Connection lost during _handle_client()
/var/log/mail.log May 6 22:30:57 rush postfix/qmgr[1554]: C0401140119: from=< kim@kim.net >, size=459278, nrcpt=1 (queue active) May 6 22:30:57 rush postfix/smtpd[3872]: disconnect from ex13-3.ai.net[205.134.169.66] ehlo=2 starttls=1 mail=1 rcpt=1 bdat=1 quit=1 commands=7 May 6 22:30:58 rush postfix/lmtp[3897]: C0401140119: to=< shiftchange@kim.net >, relay=127.0.0.1[127.0.0.1]:8024, delay=1.3, delays=0.8/0.01/0.01/0.5, dsn=2.0.0, status=sent (250 Ok) May 6 22:30:58 rush postfix/qmgr[1554]: C0401140119: removed
I think the issue is with python3, below is my mailman.log /var/log/mailman3/mailman.log
May 06 23:16:02 2022 (21149) in runner started. May 06 23:17:18 2022 (21149) Uncaught runner exception: module 'time' has no attribute 'clock' May 06 23:17:18 2022 (21149) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/mailman/core/runner.py", line 173, in _one_iteration self._process_one_file(msg, msgdata) File "/usr/lib/python3/dist-packages/mailman/core/runner.py", line 266, in _process_one_file keepqueued = self._dispose(mlist, msg, msgdata) File "/usr/lib/python3/dist-packages/mailman/runners/incoming.py", line 79, in _dispose process(mlist, msg, msgdata, start_chain) File "/usr/lib/python3/dist-packages/mailman/core/chains.py", line 79, in process link.function(mlist, msg, msgdata) File "/usr/lib/python3/dist-packages/mailman/chains/hold.py", line 147, in _process request_id = hold_message(mlist, msg, msgdata, SEMISPACE.join(reasons)) File "/usr/lib/python3/dist-packages/mailman/app/moderator.py", line 88, in hold_message request_id = requestsdb.hold_request( File "/usr/lib/python3/dist-packages/mailman/database/transaction.py", line 85, in wrapper return function(args[0], config.db.store, *args[1:], **kws) File "/usr/lib/python3/dist-packages/mailman/model/requests.py", line 100, in hold_request token = getUtility(IPendings).add(pendable, timedelta(days=5000)) File "/usr/lib/python3/dist-packages/mailman/database/transaction.py", line 85, in wrapper return function(args[0], config.db.store, *args[1:], **kws) File "/usr/lib/python3/dist-packages/mailman/model/pending.py", line 91, in add token = token_factory.new() File "/usr/lib/python3/dist-packages/mailman/utilities/uid.py", line 79, in new return self._next_unpredictable_id() File "/usr/lib/python3/dist-packages/mailman/utilities/uid.py", line 155, in _next_unpredictable_id x = random.random() + right_now % 1.0 + time.clock() % 1.0 AttributeError: module 'time' has no attribute 'clock' May 06 23:17:18 2022 (21149) SHUNTING: 1651893438.227104+1458f689c5f8220ef4db9f18bf3999e312675cd9
The other issue that I need help with is my archives to populate in Postorius(hyperkitty).
Thanks in advance Kim
On 5/6/22 20:43, nyafum--- via Mailman-users wrote:
May 06 23:16:02 2022 (21149) in runner started. May 06 23:17:18 2022 (21149) Uncaught runner exception: module 'time' has no attribute 'clock'
This is a known incompatibility between Mailman < 3.3.0 and Python >= 3.8
See https://lists.mailman3.org/archives/list/mailman-users@mailman3.org/thread/K...
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
On 5/6/22 21:37, nyafum--- via Mailman-users wrote:
Thanks Mark which version of mailman and python will you recommend?
That depends on how your Mailman is installed. If at all possible, I recommend the latest Mailman core which is 3.3.5. This will work with any Python >= 3.6.
The installations I manage are running Mailman from the head of the gitlab branch at https://gitlab.com/mailman/mailman and Python 3.9.
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
participants (2)
-
Mark Sapiro
-
nyafum@yahoo.com