On 2/1/22 14:34, matt@fes.org wrote:
It's close, the config contents are good, but doesn't appear to be using the standard installation locations...or I missed some things?
The issue is there is no standard
installation.
For instance, my mailman.cfg is in /etc/mailman3/mailman.cfg) vs /opt/mailman/mm/mailman.cfg (from link you provided), same with settings.py and settings_local.py. "mailman info" shows "config file: /etc/mailman3/mailman.cfg". Also, don't have an /opt/mailman/mm/bin...
This all depends on how Mailman is installed. For example, for my installations I create /opt/mailman/mm/bin where I put scripts that execute the corresponding mm/venv/bin/ commands after setting appropriate environment variables and/or with options pointing to config files, etc.
But even ignoring that, a lot of locations depend on the chosen setting
for layout: in the [mailman] section of mailman.cfg. That controls
locations based on
https://gitlab.com/mailman/mailman/-/blob/master/src/mailman/config/mailman....
where the xxx
in paths.xxx
is the value of layout
.
This sort of illustrates my issues - trying to resolve problems is a challenge if my config/files/paths are incorrect. Comparing to a (formerly) working installation would clear up many of these issues and i think would be a great reference for anyone making the switch to mailman3.
There is no one size fits all
answer. I support three different
production installations of Mailman 3 at lists.mailman3.org,
mail.python.org and the server for my bicycling club. They are all quite
similar, but they all differ in detail, in part because some were
initially installed using the obsolete mailman-bundler package, and in
part because two use Apache and one uses nginx. At least they all use
gunicorn as the web wsgi server, but mail.python.org used to use Apache
mod_wsgi, and uWSGI is another possible choice.
If I gave you one of these as an example, it might cause you to make a bunch of changes that aren't in fact necessary, just because you and I have made different, equally valid choices.
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan