Re: Walk-thru for Ubuntu Bionic Mailman 3 Full setup
Hi, I came across this really useful guide (posted to the list earlier). It has all gone really well and mailman 3 is installed. However, I have an issue, when I go to login using Postorius, I get the login page when I enter my credentials the page appears to hang and eventually goes to a Error 500 page. This totally hangs all of the mailman 3 web interface (but not apache). I then have to reboot the server to even get back to the login page.
Any tips please?
Thanks
On Wed, Jun 12, 2019, at 8:08 AM, Michael Sage wrote:
Hi, I came across this really useful guide (posted to the list earlier). It has all gone really well and mailman 3 is installed. However, I have an issue, when I go to login using Postorius, I get the login page when I enter my credentials the page appears to hang and eventually goes to a Error 500 page. This totally hangs all of the mailman 3 web interface (but not apache). I then have to reboot the server to even get back to the login page.
Sorry, but can you post the URL to the guide you were following? It it hard to keep up with all the previous emails on this list.
Any tips please?
Thanks
Mailman-users mailing list -- mailman-users@mailman3.org To unsubscribe send an email to mailman-users-leave@mailman3.org https://lists.mailman3.org/mailman3/lists/mailman-users.mailman3.org/
-- thanks, Abhilash Raj (maxking)
On Wed, Jun 12, 2019, at 8:08 AM, Michael Sage wrote:
Hi, I came across this really useful guide (posted to the list earlier). It has all gone really well and mailman 3 is installed. However, I have an issue, when I go to login using Postorius, I get the login page when I enter my credentials the page appears to hang and eventually goes to a Error 500 page. This totally hangs all of the mailman 3 web interface (but not apache). I then have to reboot the server to even get back to the login page.
Sorry, but can you post the URL to the guide you were following? It it hard to keep up with all the previous emails on this list.
Of course sorry! https://docs.google.com/document/d/1xIcSsoNFp2nHi7r4eQys00s9a0k2sHhu1V5Plant...
On 6/12/19 2:54 AM, Michael Sage wrote:
Hi, I came across this really useful guide (posted to the list earlier). It has all gone really well and mailman 3 is installed. However, I have an issue, when I go to login using Postorius, I get the login page when I enter my credentials the page appears to hang and eventually goes to a Error 500 page. This totally hangs all of the mailman 3 web interface (but not apache). I then have to reboot the server to even get back to the login page.
This seems like something I've seen reported before, but I can't find it now.
Is anything logged in the various Mailman, Django, Apache logs?
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
This seems like something I've seen reported before, but I can't find it now.
Is anything logged in the various Mailman, Django, Apache logs?
Nothing at the time in the Mailman, Mailman web or apache (error or access) logs, I can't find any Django logs I am afraid. I only have standard logging, happy to turn any debugging logging that you think might help
Thanks
On 6/12/19 9:53 AM, Michael Sage wrote:
This seems like something I've seen reported before, but I can't find it now.
Is anything logged in the various Mailman, Django, Apache logs?
Nothing at the time in the Mailman, Mailman web or apache (error or access) logs, I can't find any Django logs I am afraid. I only have standard logging, happy to turn any debugging logging that you think might help
The Django log is most likely the one named mailman_web.
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
Thanks for your tip about digging deeper into the logs! Turns out it was a postfix issue (the hash files hadn't been created), which was causing it to loop and crash out.
-----Original Message----- From: Mark Sapiro <mark@msapiro.net> Sent: 12 June 2019 17:56 To: mailman-users@mailman3.org Subject: [MM3-users] Re: Walk-thru for Ubuntu Bionic Mailman 3 Full setup
On 6/12/19 9:53 AM, Michael Sage wrote:
This seems like something I've seen reported before, but I can't find it now.
Is anything logged in the various Mailman, Django, Apache logs?
Nothing at the time in the Mailman, Mailman web or apache (error or access) logs, I can't find any Django logs I am afraid. I only have standard logging, happy to turn any debugging logging that you think might help
The Django log is most likely the one named mailman_web.
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
Mailman-users mailing list -- mailman-users@mailman3.org To unsubscribe send an email to mailman-users-leave@mailman3.org https://lists.mailman3.org/mailman3/lists/mailman-users.mailman3.org/
Hi! I am the creator of the guide that is referenced in this thread, and I apologize that I wasn't able to help at the time. But THANK YOU for chasing this down because I am now setting up a new Mailman3 server and hit the same issue! I will update the guide to reflect this. Michael Sage - can you tell me what you did to resolve the missing hash files?
I am using an Amazon Web Services EC2 instance and had some trouble getting Postfix installed, but it was related to how Amazon handles Port 25 for new accounts. I'll update the guide with that info as well.
Way to go team!
~Kelly
I resolved this myself with a search that turned up a 2018 post from Mark that suggested typing "mailman aliases" to create the hash/alias/lookup table/file things in /var/lib/mailman3/data (that's where they are on Ubuntu 18.04). I looked in that folder and sure enough it was empty so I typed "sudo mailman aliases" which did indeed create the 4 things that needed to be there: postfix_domans postfix_domains.db postfix_lmtp postfix_lmtp.db
But, they were owned by root:root and everything else under that /ver/lib/mailman3 folder is owned by "list" so I took a guess changed the ownership on the 4 files to list:list.
Seems to have worked! I was perplexed about why I had to do this though because these were created automatically last time I did this, but I figured that out too. There is a manual step with this install (mailman3-full on Ubuntu 18.04) that involves added 4 lines to the end of your postfix config file (/etc/postfix/main.cf). Those 4 lines are tricky because 2 of them are long and wrap in my documentation. I had a typo probably introduced by copy and paste, whereby 2 of the lines were on the same line and yes, those are the lines that specify where the hash tables go.
So - lesson learned, follow your own instructions :-) I'm pretty sure that had i set those lines up properly the hash files would have been set up properly when mailman first tried to initialize. Maybe I'll try this again one day and see...
~Kelly
On 6/16/20 5:03 PM, kelly.close@lrewater.com wrote:
I resolved this myself with a search that turned up a 2018 post from Mark that suggested typing "mailman aliases" to create the hash/alias/lookup table/file things in /var/lib/mailman3/data (that's where they are on Ubuntu 18.04). I looked in that folder and sure enough it was empty so I typed "sudo mailman aliases" which did indeed create the 4 things that needed to be there: postfix_domans postfix_domains.db postfix_lmtp postfix_lmtp.db
But, they were owned by root:root and everything else under that /ver/lib/mailman3 folder is owned by "list" so I took a guess changed the ownership on the 4 files to list:list.
Because that's how you ran it. Run
sudo -u list mailman aliases.
Seems to have worked! I was perplexed about why I had to do this though because these were created automatically last time I did this, but I figured that out too.
Current mailman start
should create the aliases.
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
Thanks for those clarifications Mark.
--
K. Kelly Close, P. E. Senior Project Manager | Water Rights Engineer | Technology Team Lead
Office: 303-455-9589 Direct: 303-867-7665 Kelly.Close@LREwater.com
LREWATER.COM 1221 Auraria Parkway Denver, CO 80204
**CONFIDENTIALITY NOTICE: This email message is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply email and destroy all copies of the original message. Thank you.
On Tue, Jun 16, 2020, 7:51 PM Mark Sapiro <mark@msapiro.net> wrote:
I resolved this myself with a search that turned up a 2018 post from Mark that suggested typing "mailman aliases" to create the hash/alias/lookup table/file things in /var/lib/mailman3/data (that's where
On 6/16/20 5:03 PM, kelly.close@lrewater.com wrote: they are on Ubuntu 18.04). I looked in that folder and sure enough it was empty so I typed "sudo mailman aliases" which did indeed create the 4 things that needed to be there:
postfix_domans postfix_domains.db postfix_lmtp postfix_lmtp.db
But, they were owned by root:root and everything else under that /ver/lib/mailman3 folder is owned by "list" so I took a guess changed the ownership on the 4 files to list:list.
Because that's how you ran it. Run
sudo -u list mailman aliases.
Seems to have worked! I was perplexed about why I had to do this though because these were created automatically last time I did this, but I figured that out too.
Current
mailman start
should create the aliases.-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
Mailman-users mailing list -- mailman-users@mailman3.org To unsubscribe send an email to mailman-users-leave@mailman3.org https://lists.mailman3.org/mailman3/lists/mailman-users.mailman3.org/
participants (5)
-
Abhilash Raj
-
Kelly Close
-
kelly.close@lrewater.com
-
Mark Sapiro
-
Michael Sage