![](https://secure.gravatar.com/avatar/e69c68a25104fcc2ab4c1f6c62ab494d.jpg?s=120&d=mm&r=g)
Hi Mark,
Thank you.
Yesterday someone from debian list replied me, he asked to do:
$ touch /var/lib/mailman3/data/postfix_{domains,lmtp} $ chmod 660 /var/lib/mailman3/data/postfix_{domains,lmtp} $ chown list:list /var/lib/mailman3/data/postfix_{domains,lmtp} $ postmap /var/lib/mailman3/data/postfix_{domains,lmtp}
and then it works, I think your solution: $ mailman aliases should also work.
------------------ Original ------------------ From: "Mark Sapiro"<mark@msapiro.net>; Date: Sun, Apr 22, 2018 10:09 PM To: "mailman-developers"<mailman-developers@python.org>;
Subject: Re: [Mailman-Developers] mailman3 on debian
On 04/22/2018 03:31 AM, 孙志勇 wrote:
it can visit http://server/mailman3/postorius/lists/, but when login, it says Sever Error (500). in /var/log/mailman3/web/mailman-web.log there is a line: SMTPRecipientsRefused: {u'xxx@xx.com': (451, '4.3.0 <xxx@xx.com>: Temporary lookup failure')} # xxx@xx.com is superuser email address.
in postfix log file, there is: Apr 22 18:05:53 mail postfix/smtpd[12870]: error: open database /var/lib/mailman3/data/postfix_domains.db: No such file or directory Apr 22 18:05:53 mail postfix/smtpd[12870]: error: open database /var/lib/mailman3/data/postfix_lmtp.db: No such file or directory
Please report these issues to Debian. Otherwise their package/documentation won't get fixed.
That said, the above errors are because Postfix can't send mail and there are no Mailman specific Postfix alias files. This is because you haven't yet created a list.
Try
mailman aliases
This should create the /var/lib/mailman3/data/postfix_domains.db and /var/lib/mailman3/data/postfix_lmtp.db files.
Fixing this may fix the 500 error. If not, we need more info as to what the issue is. There may be a more detailed error in the web server's error log or in mailman's log. The latter might be in /var/lib/mailman3/logs/ or probably somewhere in /var/log/mailman3/ depending on how Debian set this up.
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
Mailman-Developers mailing list Mailman-Developers@python.org https://mail.python.org/mailman/listinfo/mailman-developers Mailman FAQ: http://wiki.list.org/x/AgA3 Searchable Archives: http://www.mail-archive.com/mailman-developers%40python.org/ Unsubscribe: https://mail.python.org/mailman/options/mailman-developers/455750938%40qq.co...
Security Policy: http://wiki.list.org/x/QIA9