[mdlug] mailman on ubuntu
admin at bclug.ca
admin at bclug.ca
Sun Apr 28 12:41:49 EDT 2024
Carl T. Miller wrote on 2024-04-28 08:58:
> Yes, I'd like to see your notes, profanities and all. Please
> send them to carl at carltm.com.
I'll review them then send along to your personal address today.
I now seem to recall that one does not run `apt install mailman3-web`,
but rather `pip install mailman3-web` (I think that's the package name).
Everything via python with only a pcre dev package installed via apt.
> My first choice is mysql (or mariadb), then sqlite. I'd only go
> for postgresql if nothing else works. I already have mariadb
> running to support the website.
That was how I did it first, for the same reasons.
One would think it wouldn't hurt for them to give an example of which
Python modules are required for that method, plus the specific
incantation to tie Python to MySQL in the documents, but... nope.
I've got them written down too.
That was particularly tricky, for me, as I'm no Python expert.
Here's the contents of my requirements.txt (`pip install -r
requirements.txt`) (again, they could've put this in the docs as an
alternative):
===%<--- requirements.txt --->%===
mailman
mailman-web
mailman-hyperkitty
## PyMySQL is used in the database connection def in mailman.cfg:
PyMySQL
##
## For mailman-web migrate with MySQL, mysqlclient is required!
mysqlclient
## PostgreSQL:
## psycopg2-binary
uwsgi
## Wheel is advised, but (mostly) works without.
wheel
## module error on missing "xapian_backend" when running
## `mailman-web update_index_one_list`
##
##
## ModuleNotFoundError: No module named 'xapian_backend'
##
xapian-haystack
===%<--- requirements.txt --->%===
More information about the mdlug
mailing list