I'm having a lot of trouble with trying to set up mailman3 on my mail
server.
It's on an AWS instance, running Ubuntu 20.04 LTS. All software is
installed from Ubuntu packages. Mailman version is 3.2.2.
The problem I am trying to troubleshoot first is how this can be happening:
Oct 14 11:27:26 2021 (2341) ACCEPT:
<f36e1ed0-9d25-b661-9c94-4ce999f6d5fd(a)elyograg.org>
Oct 14 11:27:27 2021 (2344) Cannot connect to SMTP server 127.0.0.1 on
port 25
From the shell, I can "telnet localhost 25" successfully, even as the
"list" user. Apparmor is disabled. The UFW firewall is enabled, which
allows all traffic on the loopback interface. I disabled ipv6 at the
kernel level, but had the same problem with ipv6 enabled, so I don't
think ipv6 is related at all. I do not see any connections in the
postfix log that correspond to the mailman connection error.
From a fresh install of mailman, I created two mailing lists. Once upon
a time I had those lists active on a Debian 6 machine running mailman
2.1.13 ... I copied the mailing list config from that machine over and
used the "import21" facility to import the configuration into the new
mailman3 install. That worked without error and I can see the lists and
their members with the "mailman" command. I found instructions for
integration with postfix, and added the required three config lines to
the postfix config.
When I try to send a message to the list, I get what I pasted above in
the mailman log. I think that means the postfix integration is working,
and is forwarding to mailman.
I'm hoping somebody can give me some pointers, and if more information
is needed for troubleshooting, let me know what is needed.
I'm also having trouble with the web UI ... I thought I had found what
to do with Apache, but it's having problems and I do not know what to do
so it works. The UI is not super important right now, I'd like to get
the lists working first.
I first tried to get help on the IRC channel, but that appears to be a
dead end. I did give it several hours.
Thanks,
Shawn