nc-env / templates / template17-mail-server /
@pmarini pmarini authored on 2 Aug 2023
..
artifacts first commit for mail server template 2 years ago
Readme.md avoid PDF export thanks to the security.syscalls.intercept.mknod option 2 years ago
Vagrantfile first commit for mail server template 2 years ago
provision.sh add MAIL_DOMAIN resolution record in /etc/hosts 2 years ago
Readme.md

Stand-alone Nextcloud server

Setup

  • Assuming that the copy of the template is called mail-server, move to folder mail-server.
  • Check the content of folder artifacts
File name Description
rootCA.pem The rootCA previously created in your host machine
rootCA-key.pem The rootCA key previously created in your host machine
mox The program binary here
domains.conf Domain configuration file for Mox
mox.conf Main configuration file for Mox
mox.service Systemd service unit file for Mox
  • Create folder log
  • Open Vagrantfile and change the value of variable lxd.name. It makes sense to give the same name as the folder, in this example mail-server.
  • Open provision.sh
    • change the value of variable MACHINE_HOSTNAME. It makes sense to give the same name as the folder, plus the domain, in this example mail-server.localenv.com.
    • change the value of variable MAIL_DOMAIN.
  • Run vagrant up > log/provisioning.log
  • Make sure your system is able to resolve the domain name that you specified in variable MACHINE_HOSTNAME, for example by adding an entry in /etc/hosts
  • Start using your environment