Finding a mailman3 installation description that works
WE are currently using mailman2. I have the task to setup and install a maiman3 server. Postfix is installed and working. Can anybody point me to a link where the actual installation is described using RHEL 7 or RHEL 8. This will be a hardened DISA compliant server, so I am trying to avoid installing compilers and tools that are not part of the standard RHEL 7 repos.
Thank You, Best regards, Ralf Wiegand
ralf.wiegand@tena-sda.org wrote:
WE are currently using mailman2. I have the task to setup and install a maiman3 server. Postfix is installed and working. Can anybody point me to a link where the actual installation is described using RHEL 7 or RHEL 8. This will be a >hardened DISA compliant server, so I am trying to avoid installing compilers and tools that are not part of the standard RHEL 7 repos.
Have you looked at creating a development environment using a Python3 venv somewhere else (eg another server or container) then copying the venv out to the production server?
I found the following very useful: https://wiki.list.org/DOC/Mailman%203%20installation%20experience
Granted you will need RedHat packages for Python, Postfix and the web server, but everything else can be installed in the Python virtual environment and ran from there using the scripts on that site with minor tweaking.
Hope this helps. Andrew.
On Tue, Mar 31, 2020, at 11:28 AM, Andrew Hodgson wrote:
ralf.wiegand@tena-sda.org wrote:
WE are currently using mailman2. I have the task to setup and install a maiman3 server. Postfix is installed and working. Can anybody point me to a link where the actual installation is described using RHEL 7 or RHEL 8. This will be a >hardened DISA compliant server, so I am trying to avoid installing compilers and tools that are not part of the standard RHEL 7 repos.
Have you looked at creating a development environment using a Python3 venv somewhere else (eg another server or container) then copying the venv out to the production server?
Python virtualenvs are really not movable because of the paths that are in there. It is tricky to get that working right, I would caution against doing that.
There is a Virtualenv based installation guide at
https://docs.mailman3.org/en/latest/install/virtualenv.html#virtualenv-insta...
I found the following very useful: https://wiki.list.org/DOC/Mailman%203%20installation%20experience
Granted you will need RedHat packages for Python, Postfix and the web server, but everything else can be installed in the Python virtual environment and ran from there using the scripts on that site with minor tweaking.
Hope this helps. Andrew.
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)
Abhilash Raj wrote:
On Tue, Mar 31, 2020, at 11:28 AM, Andrew Hodgson wrote:
ralf.wiegand@tena-sda.org wrote:
WE are currently using mailman2. I have the task to setup and install a maiman3 server. Postfix is installed and working. Can anybody point me to a link where the actual installation is described using RHEL 7 or RHEL 8. This will be a >hardened DISA compliant server, so I am trying to avoid installing compilers and tools that are not part of the standard RHEL 7 repos.
Have you looked at creating a development environment using a Python3 venv somewhere else (eg another server or container) then copying the venv out to the production server?
Python virtualenvs are really not movable because of the paths that are in there. It is tricky to get that working right, I would caution against doing that.
Thanks for this, I actually did this work over the weekend to test a restore on a new server using the same paths because I was worried about this being an issue. It did work, but the paths were exactly the same.
I may have to re-investigate quick restore options (probably writing a script to create the venv and re-constitute the packages).
Andrew.
On Wed, Apr 1, 2020, at 11:21 AM, Andrew Hodgson wrote:
Abhilash Raj wrote:
On Tue, Mar 31, 2020, at 11:28 AM, Andrew Hodgson wrote:
ralf.wiegand@tena-sda.org wrote:
WE are currently using mailman2. I have the task to setup and install a maiman3 server. Postfix is installed and working. Can anybody point me to a link where the actual installation is described using RHEL 7 or RHEL 8. This will be a >hardened DISA compliant server, so I am trying to avoid installing compilers and tools that are not part of the standard RHEL 7 repos.
Have you looked at creating a development environment using a Python3 venv somewhere else (eg another server or container) then copying the venv out to the production server?
Python virtualenvs are really not movable because of the paths that are in there. It is tricky to get that working right, I would caution against doing that.
Thanks for this, I actually did this work over the weekend to test a restore on a new server using the same paths because I was worried about this being an issue. It did work, but the paths were exactly the same.
I may have to re-investigate quick restore options (probably writing a script to create the venv and re-constitute the packages).
You could look into Shiv project1, which will basically bundle Python application into a single binary that you can move around without having to worry about dependencies & virtualenv.
Only thing you probably need constant is the version of the Python, which isn't bundled. But, otherwise, you can just use this to create a relocatable binary artifact.
Andrew.
-- thanks, Abhilash Raj (maxking)
participants (3)
-
Abhilash Raj
-
Andrew Hodgson
-
ralf.wiegand@tena-sda.org