On 7/13/18 7:10 AM, jon.kokko@us.fujitsu.com wrote:
I've gone through a few iterations of recreating the domains with the same result.
After the commented header, my postfix_domains contains:
<empty line> domain.org<single whitespace>domain.org <empty line>
OK. Apparently the first sentence of the OP in this thread, "For some weird reason, the file /mailman/var/data/postfix_domains has a whitespace added to every mail domain.", doesn't apply in your case and may have been unrelated to the actual issue throwing the exception.
The "KeyError" is also misleading. In the OP traceback at least that comes during error handling of the original exception. See the line
During handling of the above exception (HTTP Error 500: b'A server error occurred. Please contact the administrator.'), another exception occurred:
You need to look in mailman.log to see if you can find more info about the '500'.
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan