Hi Alex,
On Wed, Jul 5, 2017, at 03:21 AM, Alexander Klotz wrote:
Hi,
one of our developers wanted to point out an error he found in mailman 3.1, docker container maxking/mailman-core-0.1
The entries in /opt/mailman/core/var/data/postfix_lmtp are not set correctly, example:
/^testlist@mailman\.example\.com$/ lmtp:[172.19.199.2# IP Address of mailman-core container]:8024
this actually should look like this:
/^testlist@mailman\.example\.com$/ lmtp:[172.19.199.2]:8024
Can you send a copy of your Mailman configuration that you added at
/opt/mailman/core/mailman-extra.cfg
?
I think this is mostly because the configuration parser doesn't understand the in-line comments. So, if you are using the configuration exactly as it is mentioned in the documentation, it could be the cause of this problem.
Solution to that would be to just remove all the in-line comments.
[mta] incoming: mailman.mta.postfix.LMTP outgoing: mailman.mta.deliver.deliver lmtp_host: 172.19.199.2 # IP Address of mailman-core container lmtp_port: 8024 smtp_host: 172.19.199.1 # IP Address of host where postfix is. smtp_port: 25 configuration: /etc/postfix-mailman.cfg
Like the two comments seen in the configuration above.
I will update the documentation too so that others don't get caught in something like this.
Thanks!
-- thanks, Abhilash Raj