mailman3 installation

Ubuntu 20.04.1 LTS / apache 2.4.41 / postfix 3.4.13
I am following the installation guidance at https://docs.mailman3.org/en/latest/install/virtualenv.html#setup-virtualenv
Question: where should I place the available <https://gitlab.com/mailman/mailman-suite/tree/master> mailman-suite repo in my filesystem?

On 11/7/20 8:18 AM, Christian Stalberg via Mailman-Users wrote:
I assume you are asking what your current working directory should be
when you run the git clone
command shown at
<https://docs.mailman3.org/en/latest/install/virtualenv.html#setting-up-djang...>.
If you go back to <https://docs.mailman3.org/en/latest/install/virtualenv.html#virtualenv-setup>, you'll see that this is the /opt/mailman directory, although it really shouldn't matter as long as you are in the mailman-suite/mailman-suite_project/ directory when you run the various manage.py commands.
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan

I am working through installing mailman3 and have a couple of questions.
For some reason my REST credential is not a filename. Does it matter and why isn't it...did I miss something?
(venv) root@localhost:/opt/mailman# mailman info GNU Mailman 3.2.2 (La Villa Strangiato) Python 3.8.5 (default, Jul 28 2020, 12:59:40) [GCC 9.3.0] config file: /etc/mailman3/mailman.cfg db url: sqlite:////var/lib/mailman3/data/mailman.db devmode: DISABLED REST root url: http://localhost:8001/3.1/ REST credentials: restadmin:/7R8zO0/T34EqYivNSH2MRwPoDaladSo9Uzl+V1tRM8k9YFL
In installing Postorius, I installed Apache with mod_wsgi and am creating the virtual server. The Apache VirtualHost settings shown at https://docs.mailman3.org/projects/postorius/en/latest/deployment.html?highl ight=postorius.wsgi#apache-with-mod-wsgi are very different than what I have. Does it matter? For example, I do not have /srv/django/mailman/public/static. What I do have is
/usr/share/gitweb/static /usr/local/lib/python3.8/dist-packages/postorius/static /usr/local/lib/python3.8/dist-packages/django_mailman3/static /usr/local/lib/python3.8/dist-packages/allauth/socialaccount/providers/faceb ook/static /usr/local/lib/python3.8/dist-packages/django/contrib/admin/static /usr/local/lib/python3.8/dist-packages/django/contrib/gis/static
When I search for Django I get
/opt/mailman/venv/lib/python3.8/site-packages/passlib/ext/django /usr/lib/python3/dist-packages/passlib/ext/django /usr/local/lib/python3.8/dist-packages/django /usr/local/lib/python3.8/dist-packages/django/forms/templates/django /usr/local/lib/python3.8/dist-packages/django/forms/jinja2/django
Help! Thank you!
~Christian

On 11/20/20 10:24 AM, Christian Stalberg via Mailman-Users wrote:
For some reason my REST credential is not a filename. Does it matter and why isn't it...did I miss something?
It's not supposed to be a file. There is a rest user and password (default restadmin and restpass that are strings set in the [webservice] section of the Mailman config by settings like
admin_user: restadmin
admin_pass: restpass
That path assumes that Postorius' /static
directory is located there
because you have set everything up for django in
/srv/django/mailman/public/.
In any case, I don't think you should be looking at <https://docs.mailman3.org/projects/postorius/en/latest/deployment.html> which is specific to Postorius only. I recommend starting at <https://docs.mailman3.org/en/latest/install/virtualenv.html>
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan

On 11/20/20 4:57 PM, Mark Sapiro wrote:
...
I should have mentioned in my other reply, this list is for Mailman 2. The appropriate list for Mailman 3 is mailman-users@mailman3.org <https://lists.mailman3.org/mailman3/lists/mailman-users@mailman3.org/>.
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan

On 11/7/20 8:18 AM, Christian Stalberg via Mailman-Users wrote:
I assume you are asking what your current working directory should be
when you run the git clone
command shown at
<https://docs.mailman3.org/en/latest/install/virtualenv.html#setting-up-djang...>.
If you go back to <https://docs.mailman3.org/en/latest/install/virtualenv.html#virtualenv-setup>, you'll see that this is the /opt/mailman directory, although it really shouldn't matter as long as you are in the mailman-suite/mailman-suite_project/ directory when you run the various manage.py commands.
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan

I am working through installing mailman3 and have a couple of questions.
For some reason my REST credential is not a filename. Does it matter and why isn't it...did I miss something?
(venv) root@localhost:/opt/mailman# mailman info GNU Mailman 3.2.2 (La Villa Strangiato) Python 3.8.5 (default, Jul 28 2020, 12:59:40) [GCC 9.3.0] config file: /etc/mailman3/mailman.cfg db url: sqlite:////var/lib/mailman3/data/mailman.db devmode: DISABLED REST root url: http://localhost:8001/3.1/ REST credentials: restadmin:/7R8zO0/T34EqYivNSH2MRwPoDaladSo9Uzl+V1tRM8k9YFL
In installing Postorius, I installed Apache with mod_wsgi and am creating the virtual server. The Apache VirtualHost settings shown at https://docs.mailman3.org/projects/postorius/en/latest/deployment.html?highl ight=postorius.wsgi#apache-with-mod-wsgi are very different than what I have. Does it matter? For example, I do not have /srv/django/mailman/public/static. What I do have is
/usr/share/gitweb/static /usr/local/lib/python3.8/dist-packages/postorius/static /usr/local/lib/python3.8/dist-packages/django_mailman3/static /usr/local/lib/python3.8/dist-packages/allauth/socialaccount/providers/faceb ook/static /usr/local/lib/python3.8/dist-packages/django/contrib/admin/static /usr/local/lib/python3.8/dist-packages/django/contrib/gis/static
When I search for Django I get
/opt/mailman/venv/lib/python3.8/site-packages/passlib/ext/django /usr/lib/python3/dist-packages/passlib/ext/django /usr/local/lib/python3.8/dist-packages/django /usr/local/lib/python3.8/dist-packages/django/forms/templates/django /usr/local/lib/python3.8/dist-packages/django/forms/jinja2/django
Help! Thank you!
~Christian

On 11/20/20 10:24 AM, Christian Stalberg via Mailman-Users wrote:
For some reason my REST credential is not a filename. Does it matter and why isn't it...did I miss something?
It's not supposed to be a file. There is a rest user and password (default restadmin and restpass that are strings set in the [webservice] section of the Mailman config by settings like
admin_user: restadmin
admin_pass: restpass
That path assumes that Postorius' /static
directory is located there
because you have set everything up for django in
/srv/django/mailman/public/.
In any case, I don't think you should be looking at <https://docs.mailman3.org/projects/postorius/en/latest/deployment.html> which is specific to Postorius only. I recommend starting at <https://docs.mailman3.org/en/latest/install/virtualenv.html>
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan

On 11/20/20 4:57 PM, Mark Sapiro wrote:
...
I should have mentioned in my other reply, this list is for Mailman 2. The appropriate list for Mailman 3 is mailman-users@mailman3.org <https://lists.mailman3.org/mailman3/lists/mailman-users@mailman3.org/>.
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
participants (2)
-
Christian Stalberg
-
Mark Sapiro