I use the docker-mailman setup. Below is the partial contents of my mailman-extra.cfg. I think by default, you would use the Docker assigned private network IP addresses for communicating with the containers. In my setup, 172.19.199.1 is the host (where postfix is) and 172.19.199.2 is mailman-core...
# EMAIL SERVER / MTA CONFIGURATION [mta] incoming: mailman.mta.postfix.LMTP outgoing: mailman.mta.deliver.deliver lmtp_host: 172.19.199.2 lmtp_port: 8024 smtp_host: 172.19.199.1 smtp_port: 25 configuration: /etc/postfix-mailman.cfg
This is all really going to depend on your particular setup. I'm late to the thread; but let me know if that improves the situation.
- Matt Alberti
-----Original Message----- From: Mark Sapiro <mark@msapiro.net> Sent: Saturday, August 7, 2021 2:04 AM To: mailman-users@mailman3.org Subject: [MM3-users] Re: can't get mail into mailman3 in docker
On 8/6/21 11:28 AM, bob B wrote:
I see nothing for today when the error happens in /opt/mailman/var/logs/smtp.log
But the log has a bunch of these, but these stopped around the 4th
Aug 04 19:46:04 2021 (28) Available AUTH mechanisms: LOGIN(builtin) PLAIN(builtin) Aug 04 19:46:04 2021 (28) Peer: ('127.0.0.1', 33912) Aug 04 19:46:04 2021 (28) ('127.0.0.1', 33912) handling connection Aug 04 19:46:04 2021 (28) ('127.0.0.1', 33912) EOF received Aug 04 19:46:04 2021 (28) ('127.0.0.1', 33912) Connection lost during _handle_client() Aug 04 19:46:04 2021 (28) ('127.0.0.1', 33912) connection lost
These are normal messages from the startup of Mailman's lmtp runner. If you correlate these with mailman.log, you'll probably see the server starting at these times.
The fact that there is nothing in this log correlating with the Postfix message
2021-08-06T09:08:41.974225-04:00 dockerhost postfix/lmtp[109783]: D630B3083ED0: to=<test@mailman-docker.###.####>, relay=localhost[127.0.0.1]:8024, delay=0.11, delays=0.05/0.02/0.04/0, dsn=4.4.2, status=deferred (lost connection with localhost[127.0.0.1] while receiving the initial server greeting)
seems to say that Postfix isn't really connecting to Mailman's lmtp and this is consistent with netstat -l not showing something listening on port 8024.
I note you have
lmtp_host: localhost
in the [mta] section in mailman-extra.cfg. Try changing that to
lmtp_host: 127.0.0.1
-- Mark Sapiro <mark@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-leave@mailman3.org https://lists.mailman3.org/mailman3/lists/mailman-users.mailman3.org/