Excision Mail is an open-source, self-hosted email server that is easy to install and use. In this tutorial, we will show you how to install Excision Mail on Debian Latest.
Before we begin, you'll need the following:
Before installing any package, it's a good practice to update your system to the latest version. This can be done by running;
sudo apt update
sudo apt upgrade
Next, we'll need to install several dependencies. Enter the following command to install them:
sudo apt install -y golang-go git gcc build-essential
After installing the necessary dependencies, we can proceed with the installation of Excision Mail by running:
go get -u github.com/Excision-Mail/Excision-Mail
This command will download and install the source code of Excision Mail from GitHub. It will also compile the code into an executable binary file.
Before starting the Excision Mail server, we'll need to configure the following environment variables by creating a .env file in the Excision-Mail directory.
cd $HOME/go/src/github.com/Excision-Mail/Excision-Mail
touch .env
nano .env
Add the following content to the .env file:
HOST=my-exc email.example.com
PORT=587
USERNAME=admin@domain.com
PASSWORD=your_password
SMTP_SERVER=Your_SMTP_server_address
SMTP_PORT=Your_SMTP_server_port
DOMAIN=your_domain.com
After configuring Excision Mail, we can now start the server by running:
go run main.go
To verify that Excision Mail is running correctly, open your web browser and go to https://your_domain.com:2020.
This will take you to the Excision Mail login page, where you can use the username and password you set in Step 4 to log in and access the Excision Mail dashboard.
Now that you have successfully installed Excision Mail, you can connect your email client to the server.
Here are manual configuration settings you should use:
Note that the exact settings may vary depending on your email client.
Congratulations! You have successfully installed Excision Mail on Debian Latest.
If you want to self-host in an easy, hands free way, need an external IP address, or simply want your data in your own hands, give IPv6.rs a try!
Alternatively, for the best virtual desktop, try Shells!