Hi Markus, do you still encounter this problem? I bet there's something wrong on your side. Mailman3 works fine with Exim4 and if you configured it correctly, it certainly doesn't run the Postfix postmap command.
If you still encounter this problem, please paste the output of the following commands: # mailman info # mailman conf | grep -F "[mta]" # cat /etc/mailman3/mailman.cfg Cheers jonas On Thu, 29 Mar 2018 18:15:42 +0200 Markus Gschwendt <mar...@runout.at> wrote: > On Thu, 2018-03-29 at 17:57 +0200, Jonas Meurer wrote: > > > > > ... > > > File "/usr/lib/python2.7/smtplib.py", line 292, in _get_socket > > > return socket.create_connection((host, port), timeout) > > > > File "/usr/lib/python2.7/socket.py", line 575, in create_connection > > > raise err > > > error: [Errno 111] Connection refused > > ... > > my fault. don't know why it worked from command line. exim could not > bind to an unconfigured IPv6 address. > > but again the postfix issue on an exim install during adding a list: > > RuntimeError: command failure: /usr/sbin/postmap > /var/lib/mailman3/data/postfix_lmtp, 127, Key has expired > command failure: /usr/sbin/postmap > /var/lib/mailman3/data/postfix_domains, 127, Key has expired > Mar 29 16:11:38 2018 (8096) 127.0.0.1 - - "POST /3.0/lists HTTP/1.1" > 500 59 > Mar 29 16:12:02 2018 (8096) 127.0.0.1 - - "GET /3.0/domains HTTP/1.1" > 200 294 > Mar 29 16:12:02 2018 (8096) 127.0.0.1 - - "GET > /3.0/domains/mm3a.runout.at HTTP/1.1" 200 189 > Mar 29 16:12:02 2018 (8096) 127.0.0.1 - - "GET > /3.0/domains/mm3a.runout.at HTTP/1.1" 200 189 > Mar 29 16:12:02 2018 (8096) 127.0.0.1 - - "GET > /3.0/domains/mm3a.runout.at HTTP/1.1" 200 189 > Mar 29 16:12:02 2018 (8096) command failure: /usr/sbin/postmap > /var/lib/mailman3/data/postfix_lmtp, 127, Key has expired > Mar 29 16:12:02 2018 (8096) command failure: /usr/sbin/postmap > /var/lib/mailman3/data/postfix_domains, 127, Key has expired > Mar 29 16:12:02 2018 (8096) REST request handler error: > Traceback (most recent call last): > File "/usr/lib/python3.6/wsgiref/handlers.py", line 137, in run > self.result = application(self.environ, self.start_response) > File "/usr/lib/python3/dist- > packages/mailman/database/transaction.py", line 50, in wrapper > rtn = function(*args, **kws) > File "/usr/lib/python3/dist-packages/mailman/rest/wsgiapp.py", line > 214, in __call__ > return super().__call__(environ, start_response) > File "falcon/api.py", line 215, in falcon.api.API.__call__ > File "falcon/api.py", line 189, in falcon.api.API.__call__ > File "/usr/lib/python3/dist-packages/mailman/rest/lists.py", line > 245, in on_post > mlist = create_list(**validator(request)) > File "/usr/lib/python3/dist-packages/mailman/app/lifecycle.py", line > 100, in create_list > call_name(config.mta.incoming).create(mlist) > File "/usr/lib/python3/dist-packages/mailman/mta/postfix.py", line > 66, in create > self.regenerate() > File "/usr/lib/python3/dist-packages/mailman/mta/postfix.py", line > 103, in regenerate > raise RuntimeError(NL.join(errors)) > RuntimeError: command failure: /usr/sbin/postmap > /var/lib/mailman3/data/postfix_lmtp, 127, Key has expired > command failure: /usr/sbin/postmap
signature.asc
Description: OpenPGP digital signature