On Sat, Jun 8, 2019, at 2:12 AM, andrew.bernard@gmail.com wrote:
I'm new to Mailman. I have a Ubuntu 19 production server. I attempted to get Mailman 3 and the web components going with the system packages, but I encountered a few showstopper errors (such as indexing not working at all) which I know have been fixed in the codebase. To that end I erased my installation, and installed mailman from the gitlab source. That all works much more nicely now and I feel I have a lot more control of the layout of all the files (the various Ubuntu packages smear the parts all over the place, confusingly).
Now I want to get Postorius and Hyperkitty going again, independently of Ubuntu packages. I would like to run Postorius and Hyperkitty under one Django project. So I downloaded the git source for mailman_web. I do not know if this is the right way to install.
Mailman Web works okay, there are very few things actually in there. If you want to install things from source, consider using the mailman_suite project as a starting point.
https://gitlab.com/mailman/mailman-suite
Mark wrote down his experience installing Mailman 3 on two machines, which is currently running this very list.
https://wiki.list.org/DOC/Mailman%203%20installation%20experience
I am partially familiar with Django, but to come to the point, I have no idea once having obtained the source from git how to setup and install the project, where it lives in the filesystem, and so on. Are there any pointers to help in this area? The very nice readthedocs format files for Postorius and Hyperkitty are very silent on basic matters like this, which is not of much help! The git README files also define a new level of brevity.
I need some initial hand holding here. If any help is forthcoming, such as links to more full documentation for newbies to Mailman, I would be most grateful.
I'll try to write the steps in short, let me know if you need me to expand on any of these.
Choose a directory to get all the sources. I usually prefer /opt. So, create /opt/mailman
Create a Python 3 virtual environment.
$ cd /opt/mailman $ python3 -m venv vevn $ source venv/bin/activate
Get all the sources and install in this virtualenv, you neeed:
- Mailman Core (mailman/mailman)
- Mailman Client (mailman/mailmanclient
- Mailman-Hyperkitty (mailman/mailman-hyperkitty
- Django-Mailman3 (mailman/django-mailman3
- Postorius (mailman/postorius)
- Hyperkitty (mailman/hyperkitty)
You can also just pip
install those packages, instead of
using git sources. I would actually recommend using the
release versions if you are not ready to deal with the instability
of the git heads.
Finally, you need to create config files in right places:
Mailman Core's config lives at `/etc/mailman.cfg
Django config lives in the django project, mailman-suite.
I am not going to dive into actual runtime configuration here.
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)