Is there an example of a complete installation for https://docs.mailman3.org/en/latest/install/virtualenv.html#virtualenv-install (ie. standard installation)?
What i'm looking for is the directory structure, files, configs of a working mailman3 installation (with passwords/secrets obscured, etc). - /etc/mailman3, /opt/mailman, /etc/nginx, /etc/postfix, etc...
I've tried 3 or 4 installations with varying degrees of success. For me, more issues seem related to configuration, not the actual installation. So having an example installation to compare proper configuration (and perhaps file/directory placement) would really help to sanity check what i've installed.
Since this installed copy would be created for each release, it would exist at some point.
Is it possible this could be made available (with pws/secrets obscured...)? I've seen quite a few threads related to configuration issues...hopefully it would help with those as well.
On 2/1/22 10:00, matt@fes.org wrote:
What i'm looking for is the directory structure, files, configs of a working mailman3 installation (with passwords/secrets obscured, etc). - /etc/mailman3, /opt/mailman, /etc/nginx, /etc/postfix, etc...
See https://wiki.list.org/DOC/Mailman%203%20installation%20experience which may or may not be what you're looking for.
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
It's close, the config contents are good, but doesn't appear to be using the standard installation locations...or I missed some things?
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 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.
Thank you for your help Mark!!
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
participants (2)
-
Mark Sapiro
-
matt@fes.org