Linux Mail Server

Install, configure, secure, and deploy to production in only 10 minutes A single software package, pre-configured and ready to go for your Linux email platform of choice.

INSTALL NOW

Installation in 5 minutes.
Full setup in under 10 minutes.

This article guides you through the steps of installing, performing basic configuration, and securing a Linux email server on own — physical or virtual — server. The single software package required is the full-featured Axigen all-in-one Linux email platform.

At the end of the article you will have a fully functioning Axigen installation which you can use to evaluate the product. Should you choose to deploy it in production, we've also included links to some articles and documentation pages with guidance on how to implement best practices when it comes to self hosting your email domains.

Linux Mail Server Ecosystem Overview

Jump to: How to Install Axigen on Linux

The Problem

Too Many Open Source Components

The Linux Email Server Ecosystem provides open source and free components for nearly all modules required by a complete Linux mail server (MTA, IMAP and POP3 servers, WebMail, WebAdmin, CalDAV and CardDAV). The internet also abounds in tutorials on how to mix and match these components.

For example, this tutorial provides a blueprint for installing and integrating Postfix (for SMTP), SpamAssassin, and Dovecot (for IMAP and POP3). It also instructs you on how to deploy Let's Encrypt certificates on your SMTP Postfix-based MTA. It stops here though. If you'd want to also install a WebMail interface (e.g. RoundCube or SquirrelMail), your internet search would have to continue.

There are also some already bundled packages that pre-integrate certain components (e.g. mailu, mailinabox, etc.). These clearly come with the convenience of shorter installation times and already available mail client management and access tools (WebAdmin and WebMail). However, you still have to do the work of finding all the components needed for your Linux email service.

The Solution

Axigen as a Premium Linux Mail Server

Axigen does not mix and match any open sources components.

All services and functionalities are built and developed by Axigen and integrated into a single process. This has the following advantages:

  1. The tight integration greatly simplifies the installation, but also enhances the density of mailboxes supported on a certain "hardware unit".
  2. 24/7/365 single vendor support — Customers and Partners can directly access tech support by email at any time.
  3. Axigen is easy to setup and use, and we provide all the information you need, in a single place.

Axigen also features, as a WebMail-centric email platform, a single-page dynamic web interface for having access to your emails, calendars, contacts, tasks, notes, shared folders, shared calendars, shared contacts, or shared notes.

How to Install Axigen on Linux

A Full Step by Step Guide

Before installing Axigen on Linux, make sure all the following checklist items are true:

Pre-flight checklist

  • You have your own domain
  • You have access to making DNS changes (add MX records)
  • You have a static IP address
  • You have already installed your OS — Axigen works on RedHat, CentOS, Ubuntu, SUSE, Debian, Oracle Linux.

You can kickstart your Axigen install through VMWare / VirtualBox or Docker by following the respective links.

Moving forward, our tutorial will focus on setting up the Axigen Mail Server Kit on a minimal Linux install. All you need is to have all pre-flight requirements in check and to follow the following 6 steps:

1. Download Axigen Linux Mail Server

In order to get the Axigen installation kit for RedHat Enterprise Linux, SUSE Linux Enterprise, CentOS, Oracle Linux, or OpenSUSE, run the following command on your server:

wget https://www.axigen.com/mail-server/download/rpm/latest/axigen-10.4.12-1.x86_64.rpm

or, if you have a Debian-based system like Debian or Ubuntu Server, then run the following command:

wget https://www.axigen.com/mail-server/download/deb/latest/axigen_10.4.12-1_amd64.deb

2. Run the installer

After downloading the installation kit file, you can start to install it by running, as root:

dnf install <path>/axigen-10.4.12-1.x86_64.rpm

or, for Debian / Ubuntu:

apt install <path>/axigen_10.4.12-1_amd64.deb

For more details, here you can find the full installation instructions.

3. The installation is done

This installation covered all components required for a fully functioning Linux mail server:

  • Mail Transfer Agent (MTA)
  • POP3 and IMAP
  • WebMail
  • WebAdmin
  • CalDAV
  • CardDAV
  • Mobile devices Exchange ActiveSync
  • Premium AntiVirus and AntiSpam engine

4. Initial product configuration and license key

Once your Axigen Linux mail server install is up and running, go to your WebAdmin by using the following link (you need to insert your server IP):

https://<IP_OF_YOUR_SERVER>:9443/

Next, you need to perform your initial Axigen product configuration. For this we’ve built a quick and simple wizard which will guide you through basic setup options including:

  • Creating your admin account
  • Adding your first domain
  • Creating email addresses and adding users

The process doesn’t take more than a few minutes. During the process, you will receive a Free Mail Server License from Axigen. You can also select a 60-day free trial that works for Business or Service Providers.

Here are the Axigen Plans currently available:

Service Providers

  • 3000 mailboxes (1500 Premium users + 1500 Basic users)
  • Personal organizer and Groupware
  • Axigen AntiVirus & AntiSpam (powered by Cyren)
  • Exchange ActiveSync Add-on for 100 Premium Users
  • 24x7 technical support

MSPs

  • Starting from 150 mailboxes (50 Pro users / 50 Premium users / 50 Basic users)
  • Multi-server license, up to 1024 servers
  • Personal organizer and Groupware
  • Axigen AntiVirus & AntiSpam (powered by Cyren)
  • Exchange ActiveSync Add-on for 100 Premium Users
  • 24x7 technical support

Businesses

  • 100 mailboxes or domains (100 Premium users)
  • Personal organizer and Groupware
  • Axigen AntiVirus & AntiSpam (powered by Cyren)
  • Exchange ActiveSync
  • 24x7 technical support

Free Mail Server

  • 5 domains, 5 users, 5 groups
  • Personal organizer and Groupware
  • Basic Antivirus and AntiSpam
  • Online Support

For a step-by-step guide to purchasing a custom Axigen license without ever interacting with sales, please visit our how to buy page.

5. Create domains and accounts

Now that you’ve configured your Linux mail server, your next task is to add more domains and create your email accounts. To do so:

  1. Navigate to WebAdmin → Domains & Accounts → Manage Domains. Here you will be able to add additional domains. Make sure to remember your Postmaster password.
  2. Navigate to WebAdmin → Domains & Accounts → Manage Accounts. Here you will be able to create email users.

How do accounts gain access?

Simple! Your fresh new Axigen email accounts can be accessed through the WebMail interface, which is available at https://<IP_OF_YOUR_SERVER>/

The only exception to this is if you’ve configured your WebMail Service to listen to a different port. If you’d like to do that, you can review our documentation on Managing Service Listeners here.

6. Linux Email Server configurations before going into production

Once domain and account setups are complete, you will need to configure several settings before being ready to deploy the Axigen Linux mail server into production: