lavabit / magma

The magma server daemon, is an encrypted email system with support for SMTP, POP, IMAP, HTTP and MOLTEN,. Additional support for DMTP and DMAP is currently in active development.
GNU Affero General Public License v3.0
1.82k stars 165 forks source link

How to install #136

Closed C4T00 closed 4 years ago

C4T00 commented 4 years ago

Hi, I've been trying to install this email server for hours now, i did everything from tweaking the INSTALL script to adding extra files manually so it works. After a couple of hours i got it to successfully compile fully and load a config etc... So i tried to find a way to launch it and couldn't get it working, is there an easy install script or some up to date guide. (BTW i use CentOS7 latest release)

Thanks in advance! -C4T00

ladar commented 4 years ago

Hi @C4T00 installation isn't for the faint of heart. I'd like to change that. See issue #132 for a full write up.

The short version is that INSTALL script is out of date, and should probably be removed. If you want to know, roughly all of the steps involved in setting up a real production magma server, checkout the magmad.install.sh script. In theory you could set the domain variable and run that script for a single server setup, but in practice I'd suggest going line by line and just running the commands that make sense for you, and adjusting as needed.

Ideally the INSTALL script will be replaced with a new bash script that asks questions and performs those steps as needed but doing it right would take some effort.