Uberspace / lab

The Uberlab provides various tutorials - written by you! - on how to run software and tools on Uberspace 7.
https://lab.uberspace.de
Other
308 stars 406 forks source link

[mailman3] lmtp error on receiving mails to list #1741

Open jskvbinmv opened 3 months ago

jskvbinmv commented 3 months ago

Hello!

I followed the guide three times to the letter with a new uberspace every time and I have no problem getting everything up and running. I can log in and I get confirmation mails for the admin account (and successfully confirmed my account) and list subscriptions but when I try to send a mail to the list I get the following errors:

Hi. This is the qmail-send program at caelum.uberspace.de.
I'm afraid I wasn't able to deliver your message to the following addresses.
This is a permanent error; I've given up. Sorry it didn't work out.

<testliste@redacted.uber.space>:

--- Below this line is a copy of the message.`

[...]

Also there is an error in ~/logs/smtp.log

[redacted@caelum logs]$ cat smtp.log

Mar 25 00:58:57 2024 (25450) Available AUTH mechanisms: LOGIN(builtin) PLAIN(builtin)
Mar 25 00:58:57 2024 (25450) Peer: ('127.0.0.1', 41444)
Mar 25 00:58:57 2024 (25450) ('127.0.0.1', 41444) handling connection
Mar 25 00:58:57 2024 (25450) ('127.0.0.1', 41444) EOF received
Mar 25 00:58:57 2024 (25450) ('127.0.0.1', 41444) Connection lost during _handle_client()
Mar 25 00:58:57 2024 (25450) ('127.0.0.1', 41444) connection lost
Mar 25 01:15:28 2024 (25452) <171132572706.25620.15102442420958544057@caelum.uberspace.de> smtp to testliste@redacted.uber.space for 1 recips, completed in 0.7402050495147705 seconds
Mar 25 01:15:28 2024 (25452) <171132572706.25620.15102442420958544057@caelum.uberspace.de> post to testliste@redacted.uber.space from testliste-request@redacted.uber.space, 1252 bytes
Mar 25 01:16:02 2024 (25450) Available AUTH mechanisms: LOGIN(builtin) PLAIN(builtin)
Mar 25 01:16:02 2024 (25450) Peer: ('100.65.43.1', 59974)
Mar 25 01:16:02 2024 (25450) ('100.65.43.1', 59974) handling connection
Mar 25 01:16:02 2024 (25450) ('100.65.43.1', 59974) >> b'lhlo caelum.uberspace.de'
Mar 25 01:16:02 2024 (25450) ('100.65.43.1', 59974) >> b'mail FROM:<redacted@redacted.de> size=1848'
Mar 25 01:16:02 2024 (25450) ('100.65.43.1', 59974) sender: redacted@redacted.de
Mar 25 01:16:02 2024 (25450) ('100.65.43.1', 59974) >> b'rcpt TO:<testliste@redacted.uber.space>'
Mar 25 01:16:02 2024 (25450) ('100.65.43.1', 59974) recip: testliste@redacted.uber.space
Mar 25 01:16:02 2024 (25450) ('100.65.43.1', 59974) >> b'data'
Mar 25 01:16:02 2024 (25450) ('100.65.43.1', 59974) >> b'rset'
Mar 25 01:16:02 2024 (25450) ('100.65.43.1', 59974) EOF received
Mar 25 01:16:02 2024 (25450) ('100.65.43.1', 59974) Connection lost during _handle_client()
Mar 25 01:16:02 2024 (25450) ('100.65.43.1', 59974) connection lost

Can anyone point me in the right direction?

jskvbinmv commented 3 months ago

Turns out this is the culprit:

https://gitlab.com/mailman/mailman/-/issues/1133

Changing qmail-lmtp as suggested there solves the problem for now. Although this seems to be a workaround at best.

I still see Connection lost during _handle_client() in the log. Don't know if this is a problem or not:

Mar 25 06:24:42 2024 (25100) Available AUTH mechanisms: LOGIN(builtin) PLAIN(builtin)
Mar 25 06:24:42 2024 (25100) Peer: ('100.65.43.1', 33768)
Mar 25 06:24:42 2024 (25100) ('100.65.43.1', 33768) handling connection
Mar 25 06:24:42 2024 (25100) ('100.65.43.1', 33768) >> b'lhlo caelum.uberspace.de'
Mar 25 06:24:42 2024 (25100) ('100.65.43.1', 33768) >> b'mail FROM:<redacted@redacted.de> size=1919'
Mar 25 06:24:42 2024 (25100) ('100.65.43.1', 33768) sender: redacted@redacted.de
Mar 25 06:24:42 2024 (25100) ('100.65.43.1', 33768) >> b'rcpt TO:<testliste@redacted.uber.space>'
Mar 25 06:24:42 2024 (25100) ('100.65.43.1', 33768) recip: testliste@redacted.uber.space
Mar 25 06:24:42 2024 (25100) ('100.65.43.1', 33768) >> b'data'
Mar 25 06:24:42 2024 (25100) ('100.65.43.1', 33768) EOF received
Mar 25 06:24:42 2024 (25100) ('100.65.43.1', 33768) Connection lost during _handle_client()
Mar 25 06:24:42 2024 (25100) ('100.65.43.1', 33768) connection lost
Mar 25 06:24:45 2024 (25102) <em76eb0eeb-6857-4286-9b65-46f6a2832d82@b2417903.com> smtp to testliste@redacted.uber.space for 1 recips, completed in 0.884413480758667 seconds
Mar 25 06:24:45 2024 (25102) <em76eb0eeb-6857-4286-9b65-46f6a2832d82@b2417903.com> post to testliste@redacted.uber.space from redacted@redacted.de, 1919 bytes