mailman3 with exim configuration seems to try running postmap
Hi,
This is a forwarded bug from debian, it seems that mailman3 tries to poke postmap even though it's configured to run with exim4.
Here is the initial bug report: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=891881
The user gave us this traceback:
File "/usr/lib/python3.5/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__
(falcon/api.c:2571)
File "falcon/api.py", line 189, in falcon.api.API.__call__
(falcon/api.c:2190)
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
/var/lib/mailman3/data/postfix_domains, 127, Key has expired
Mar 01 21:34:02 2018 (11537) 127.0.0.1 - - "POST /3.0/lists HTTP/1.1"
500 59
He claims that this occurs with a specific mention of exim as the LMTP and even after rebooting his VM.
Do you have an idea of what could have happened, as the postfix call is inferred from config.mta.incoming, so it seems that somehow the config.mta.incoming still contains a trace of postfix?