From 455750938 at qq.com Sat Apr 21 00:58:44 2018 From: 455750938 at qq.com (=?gb18030?B?y+/WvtPC?=) Date: Sat, 21 Apr 2018 12:58:44 +0800 Subject: [Mailman-Developers] mailman3 on debian Message-ID: Hello, I installed mailman3 on debian through the command: $ aptitude install mailman3-full does it need to do further config following http://docs.mailman3.org/en/latest/config-core.html and http://docs.mailman3.org/en/latest/config-web.html ? where is manage.py and settings.py if install from the above command line? or it is already well configued to use? If yes, how to visit the frontend page? I try to follow http://docs.mailman3.org/en/latest/userguide.html, but it is not so straightforward. During installation thru the command line, it did not ask for creating the first list, so do not know how to change LISTNAME.DOMAIN in http://WEBSERVER/mailman3/lists/LISTNAME.DOMAIN. . Thank you and regards, Rex From mark at msapiro.net Sat Apr 21 12:06:08 2018 From: mark at msapiro.net (Mark Sapiro) Date: Sat, 21 Apr 2018 09:06:08 -0700 Subject: [Mailman-Developers] mailman3 on debian In-Reply-To: References: Message-ID: <5ea53ab0-c9a8-0727-9af5-9cf88dbc9580@msapiro.net> On 04/20/2018 09:58 PM, ??? wrote: > > I installed mailman3 on debian through the command: > > > $ aptitude install mailman3-full > > > does it need to do further config following http://docs.mailman3.org/en/latest/config-core.html and http://docs.mailman3.org/en/latest/config-web.html ? where is manage.py and settings.py if install from the above command line? You should be following Debian's documentation. If that doesn't exist or you can't find it, you need to take that up with Debian. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From turnbull.stephen.fw at u.tsukuba.ac.jp Sat Apr 21 12:42:20 2018 From: turnbull.stephen.fw at u.tsukuba.ac.jp (Stephen J. Turnbull) Date: Sun, 22 Apr 2018 01:42:20 +0900 Subject: [Mailman-Developers] mailman3 on debian In-Reply-To: References: Message-ID: <23259.27116.22997.121626@turnbull.sk.tsukuba.ac.jp> ??? writes: > I installed mailman3 on debian through the command: > > $ aptitude install mailman3-full > > does it need to do further config As usual, Mark beat me to it. I have some advice to add: First, look for /usr/share/doc/mailman3/README.Debian or a similarly named file. I would expect to find documentation explaining how to get started, specifically for the standard Debian setup, there. You may get an answer here, so check back in a couple of days, but as Mark said, since a Debian package is supposed to be configured through the package manager, this is properly a question for a Debian channel. > following http://docs.mailman3.org/en/latest/config-core.html and > http://docs.mailman3.org/en/latest/config-web.html ? Unless you are sophisticated in installing software and know your Debian system well, DO NOT try to follow those instructions by yourself. Mixing our instructions with a Debian package install may create a big mess. tl;dr: Mailman's generic documentation assumes a "vanilla Unix" system, and does not necessarily conform to Debian's interpretation of the Filesystem Hierarchy Standard and other parts of the Linux Standard Base. There is no guarantee that Debian's package corresponds to the version described in "latest", especially not in locations of various files. There is no guarantee that Debian's configuration of the webserver looks anything like our generic configuration, which is similar to the real configuration of the Mailman 3 server we use. > or it is already well configued to use? If yes, how to visit the > frontend page? These are also Debian questions, and should be answered by the resources mentioned previously. Regards, -- Associate Professor Division of Policy and Planning Science http://turnbull/sk.tsukuba.ac.jp/ Faculty of Systems and Information Email: turnbull at sk.tsukuba.ac.jp University of Tsukuba Tel: 029-853-5175 Tennodai 1-1-1, Tsukuba 305-8573 JAPAN From 455750938 at qq.com Sun Apr 22 06:31:32 2018 From: 455750938 at qq.com (=?gb18030?B?y+/WvtPC?=) Date: Sun, 22 Apr 2018 18:31:32 +0800 Subject: [Mailman-Developers] mailman3 on debian In-Reply-To: <23259.27116.22997.121626@turnbull.sk.tsukuba.ac.jp> References: <23259.27116.22997.121626@turnbull.sk.tsukuba.ac.jp> Message-ID: OK, I follow the instruction of /usr/share/doc/mailman3/README.Debian, 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 at xx.com': (451, '4.3.0 : Temporary lookup failure')} # xxx at 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 how to solve it? thank you. ------------------ Original ------------------ From: "Stephen J. Turnbull"; Date: Sun, Apr 22, 2018 00:42 AM To: "???"<455750938 at qq.com>; Cc: "mailman-developers"; Subject: [Mailman-Developers] mailman3 on debian ??? writes: > I installed mailman3 on debian through the command: > > $ aptitude install mailman3-full > > does it need to do further config As usual, Mark beat me to it. I have some advice to add: First, look for /usr/share/doc/mailman3/README.Debian or a similarly named file. I would expect to find documentation explaining how to get started, specifically for the standard Debian setup, there. You may get an answer here, so check back in a couple of days, but as Mark said, since a Debian package is supposed to be configured through the package manager, this is properly a question for a Debian channel. > following http://docs.mailman3.org/en/latest/config-core.html and > http://docs.mailman3.org/en/latest/config-web.html ? Unless you are sophisticated in installing software and know your Debian system well, DO NOT try to follow those instructions by yourself. Mixing our instructions with a Debian package install may create a big mess. tl;dr: Mailman's generic documentation assumes a "vanilla Unix" system, and does not necessarily conform to Debian's interpretation of the Filesystem Hierarchy Standard and other parts of the Linux Standard Base. There is no guarantee that Debian's package corresponds to the version described in "latest", especially not in locations of various files. There is no guarantee that Debian's configuration of the webserver looks anything like our generic configuration, which is similar to the real configuration of the Mailman 3 server we use. > or it is already well configued to use? If yes, how to visit the > frontend page? These are also Debian questions, and should be answered by the resources mentioned previously. Regards, -- Associate Professor Division of Policy and Planning Science http://turnbull/sk.tsukuba.ac.jp/ Faculty of Systems and Information Email: turnbull at sk.tsukuba.ac.jp University of Tsukuba Tel: 029-853-5175 Tennodai 1-1-1, Tsukuba 305-8573 JAPAN From mark at msapiro.net Sun Apr 22 10:09:12 2018 From: mark at msapiro.net (Mark Sapiro) Date: Sun, 22 Apr 2018 07:09:12 -0700 Subject: [Mailman-Developers] mailman3 on debian In-Reply-To: References: <23259.27116.22997.121626@turnbull.sk.tsukuba.ac.jp> Message-ID: <45142f8b-eae4-0ad4-2614-069be3c05819@msapiro.net> 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 at xx.com': (451, '4.3.0 : Temporary lookup failure')} > # xxx at 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 The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From simon at hannaweb.eu Sun Apr 22 16:03:57 2018 From: simon at hannaweb.eu (Simon Hanna) Date: Sun, 22 Apr 2018 22:03:57 +0200 Subject: [Mailman-Developers] mailman3 on debian In-Reply-To: References: <23259.27116.22997.121626@turnbull.sk.tsukuba.ac.jp> Message-ID: On 04/22/2018 12:31 PM, ??? wrote: > OK, I follow the instruction of /usr/share/doc/mailman3/README.Debian, > > > 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 at xx.com': (451, '4.3.0 : Temporary lookup failure')} > # xxx at xx.com is superuser email address. Did you use a valid email address? From what you describe what is happening is that the frontend is trying to confirm your email address but can't deliver it. It might also be a configuration issue with the MTA you are using. Try to send an email to that address from the command line on the server. To work around this particular issue you could do the following: open a django shell (I don't know where debian puts the manage.py file, but you should have one): python manage.py shell in the shell do the following: from allauth.account.models import EmailAddress e = EmailAddress.objects.get(email='xxx at xx.com') e.verified = True e.save() Of course you need to replace the email, with the one you have used. That should mark the email as verified in the database and let you login. Note that this is sort of a hack and you should figure out what's going on there... From 455750938 at qq.com Sun Apr 22 21:37:25 2018 From: 455750938 at qq.com (=?gb18030?B?y+/WvtPC?=) Date: Mon, 23 Apr 2018 09:37:25 +0800 Subject: [Mailman-Developers] mailman3 on debian In-Reply-To: <45142f8b-eae4-0ad4-2614-069be3c05819@msapiro.net> References: <23259.27116.22997.121626@turnbull.sk.tsukuba.ac.jp> <45142f8b-eae4-0ad4-2614-069be3c05819@msapiro.net> Message-ID: 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"; Date: Sun, Apr 22, 2018 10:09 PM To: "mailman-developers"; 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 at xx.com': (451, '4.3.0 : Temporary lookup failure')} > # xxx at 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 The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan _______________________________________________ Mailman-Developers mailing list Mailman-Developers at 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.com Security Policy: http://wiki.list.org/x/QIA9