Onwards. Seems I need to create a domain.
Two undefined terms" Web host" and "Mail host".
Web host seems to be a DNS domain name that becomes part of a pulldown.
Am I supposed to enter the names of servers (e.g. where an smtp server and httpserver live)? Or are these domain names?
lets assume smtp server and domain name.
Try to create a list. Gets more confusing. List name - that's obvious. Mail host "Choose a domain", and the prompt is "Choose a domain". But the choice is --- the smtp server? OK, another issue - 140.
Complete the list creation
HTTP Error 500: A server error occurred. Please contact yourself (I mean, 'the administrator').
Nothing unusual on the console.
Well, there's mailman-suite/mailman-suite_project/logs/mailmansuite.log - nothing there either.
./mailman/var/logs/debug.log is empty
Ah, `./mailman/var/logs/mailman.log' has
Jun 21 16:48:40 2017 (15370) command failure: /usr/sbin/postmap /root/mailman3/mailman/var/data/postfix_lmtp, 127, Key has expired
Jun 21 16:48:41 2017 (15370) command failure: /usr/sbin/postmap /root/mailman3/mailman/var/data/postfix_domains, 127, Key has expired
Jun 21 16:48:41 2017 (15370) REST request handler error:
Traceback (most recent call last):
File "/usr/lib64/python3.5/wsgiref/handlers.py", line 137, in run
self.result = application(self.environ, self.start_response)
File "/usr/lib/python3.5/site-packages/mailman/database/transaction.py", line 50, in wrapper
rtn = function(*args, **kws)
File "/usr/lib/python3.5/site-packages/mailman/rest/wsgiapp.py", line 214, in __call__
return super().__call__(environ, start_response)
File "/usr/lib/python3.5/site-packages/falcon/api.py", line 227, in __call__
responder(req, resp, **params)
File "/usr/lib/python3.5/site-packages/mailman/rest/lists.py", line 245, in on_post
mlist = create_list(**validator(request))
File "/usr/lib/python3.5/site-packages/mailman/app/lifecycle.py", line 100, in create_list
call_name(config.mta.incoming).create(mlist)
File "/usr/lib/python3.5/site-packages/mailman/mta/postfix.py", line 66, in create
self.regenerate()
File "/usr/lib/python3.5/site-packages/mailman/mta/postfix.py", line 103, in regenerate
raise RuntimeError(NL.join(errors))
RuntimeError: command failure: /usr/sbin/postmap /root/mailman3/mailman/var/data/postfix_lmtp, 127, Key has expired
command failure: /usr/sbin/postmap /root/mailman3/mailman/var/data/postfix_domains, 127, Key has expired
Jun 21 16:48:41 2017 (15370) 127.0.0.1 - - "POST /3.0/lists HTTP/1.1" 500 59
Well, it's true that I didn't setup postix (because I don't plan to use it). but 'key has expired' is a very strange error.
Studying the traceback, we find: /root/mailman3/mailman/var/data/postfix_lmtp contains the desired aliases
And the failure was running /usr/sbin/postmap - I guess I need to provide a replacement that captures the contents and configures my inbound mailer (instead of setting up postfix.).
It seems that this failure prevented the list setup from being committed.
/usr/sbin/postmap does not exist. "key has expired" is definitely the wrong error.
We can fix that for now...:
cat >/usr/sbin/postmap
#!/bin/bash
exit 0
chmod +x /usr/sbin/postmap
List created!
So now I can work on trying to hook up my data source...