I tried routing lists.opensuse.org over hel.i.o.o, which led to the "too many hops", as expected.
Part of the issue is - what do we do with emails to unknown lists? The transport_maps setup in /var/lib/mailman/data/postfix_lmtp
means they are not delivered to mailman, so we just try to deliver them, which is silly. I suggest they ought to bounce.
As a test, I added error:non-existent mailing list
to the regular transport map - that does the trick:
2023-12-04T09:53:55.839183+00:00 mailman3 postfix/smtpd[30995]: connect from mx2.infra.opensuse.org[2a07:de40:b27e:1209::12]
2023-12-04T09:53:55.841617+00:00 mailman3 postfix/smtpd[30995]: NOQUEUE: reject: RCPT from mx2.infra.opensuse.org[2a07:de40:b27e:1209::12]: 550 5.1.1 <klop99@lists.opensuse.org>: Recipient address rejected: non-existent mailing list; from=<SRS0=MQ8t=HP=jessen.ch=per@opensuse.org> to=<klop99@lists.opensuse.org> proto=ESMTP helo=<mx2.opensuse.org>
2023-12-04T09:53:55.850024+00:00 mailman3 postfix/smtpd[30995]: disconnect from mx2.infra.opensuse.org[2a07:de40:b27e:1209::12] ehlo=1 mail=1 rcpt=0/1 data=0/1 rset=1 quit=1 commands=4/6
It also means stuff like this will be rejected:
2023-12-04T09:57:46.688284+00:00 mailman3 postfix/smtpd[31070]: connect from mx2.infra.opensuse.org[2a07:de40:b27e:1209::12]
2023-12-04T09:57:46.690100+00:00 mailman3 postfix/smtpd[31070]: NOQUEUE: reject: RCPT from mx2.infra.opensuse.org[2a07:de40:b27e:1209::12]: 550 5.1.1 <SRS0=qBBF=HP=lists.opensuse.org=risc-v-bounces@lists.opensuse.org>: Recipient address rejected: non-existent mailing list; from=<> to=<SRS0=qBBF=HP=lists.opensuse.org=risc-v-bounces@lists.opensuse.org> proto=ESMTP helo=<mx2.opensuse.org>
Mailman doesn't know what to do with an SRS address, so we might as well bounce it, I think.