How to Install Axigen Mail Server on Debian 13
Install the Axigen X7 mail server on Debian 13 from the official DEB package, finish onboarding in WebAdmin and apply a free or commercial license.
This guide installs the Axigen mail server on Debian 13 from the vendor's DEB package and takes you through the browser-based first-run setup, licensing and the checks to run afterwards. The same steps apply to Debian 12. Axigen is proprietary software: it is free for small personal and lab setups and licensed commercially beyond that.
Debian 7 (Wheezy), which older tutorials for Axigen 10.0 target, is long out of support. The current product line, Axigen X7 (10.7.x), supports Debian 12 and 13 and Ubuntu Server 24.04 and 26.04 LTS among other distributions; Debian 11 is no longer supported by X7.
Requirements
- A 64-bit Debian 13 or Debian 12 server and a user with
sudorights. - A CPU that supports the x86-64-v2 instruction set (Intel Nehalem or newer, AMD Bulldozer or newer). Axigen's Linux packages do not run on older processors.
- A fully qualified hostname such as
mail.example.comwith an A record, an MX record for your domain pointing to it, and a matching reverse DNS (PTR) record set through your hosting control panel. - Outbound port 25 allowed by your provider. Many block it by default on new servers.
- No other mail server listening on the mail ports.
Check the CPU level and whether anything already uses port 25:
/lib64/ld-linux-x86-64.so.2 --help | grep supported
sudo ss -ltnp | grep ':25 'The first command must list x86-64-v2 as supported. If the second shows Exim or Postfix, be aware that the Axigen package declares a conflict with every other package that provides a mail transport agent, IMAP server or POP3 server, so apt will propose removing them during installation. Back up anything you still need from that mail server first.
Set the hostname
sudo hostnamectl set-hostname mail.example.comDownload the package
The Axigen download page lists one package for DEB-based distributions (amd64), covering Debian 12 and 13. At the time of writing it is version 10.7.4:
cd /tmp
wget https://download.axigen.com/mail-server/axigen_10.7.4-1_amd64.debThe file is about 144 MB. The version is part of the file name, so when a newer build is out, use the Copy Download Link button next to the DEB entry on the download page and adjust the file name in the commands below.
Install Axigen
Axigen documents installing the package with apt, which also resolves dependencies:
sudo apt update
sudo apt install /tmp/axigen_10.7.4-1_amd64.debThe installer shows the license agreement in a pager. Press q to leave the pager and type yes when asked to accept it. When the installation finishes, Axigen starts automatically and tells you to continue in WebAdmin.
Open WebAdmin for onboarding
WebAdmin is enabled by default. At the end of the installation the package prints the onboarding addresses in the form https://203.0.113.10:9443/, one for each IP address of the server. Until you set the administrator password, whoever opens that page first can complete the setup, so do the onboarding immediately after installing. If a firewall in front of the server blocks port 9443, or you prefer not to open it, reach WebAdmin through an SSH tunnel from your own computer instead:
ssh -L 9443:127.0.0.1:9443 deploy@203.0.113.10Leave that session open and browse to https://localhost:9443/. Your browser warns about the certificate because Axigen generates a self-signed one at install time; accept it for now.
The onboarding wizard then asks you to:
- Read and accept the EULA.
- Set the administrator password.
- Choose a license option: apply a license you already have, request a free or trial license, or skip. If you apply or request one, Axigen restarts and onboarding continues. Without a license the server runs in demo mode for 3 days.
- Add your first (primary) domain, for example
example.com. - Set the password for that domain's
postmasteraccount, which receives system and security alerts.
Initial services are configured automatically, and you land on the WebAdmin dashboard. A skipped license can be applied later from the dashboard.
About the free license
Axigen's free license is a yearly license for personal and lab use that covers up to 10 mailboxes, 10 domains and 10 groups and includes product updates. Vendor technical support is reserved for commercial licenses; the documentation, knowledge base and community forum are open to everyone. Moving to a commercial edition later only requires applying a new license.
Open the mail ports
If you run a firewall, allow only what you use. Axigen's standard listeners are:
| Service | Plain | TLS |
|---|---|---|
| SMTP | 25 | 465 |
| IMAP | 143 | 993 |
| POP3 | 110 | 995 |
| WebMail | 80 | 443 |
| WebAdmin | 9000 | 9443 |
Port 25 must be reachable from the internet to receive mail. Keep WebAdmin closed to the public and use the SSH tunnel or an IP allow-list for it.
Verify the installation
The package installs an init script, /etc/init.d/axigen, and registers it to start at boot. Axigen documents controlling the server through that script with start, stop, restart and status. Check that the server is running and listening:
sudo /etc/init.d/axigen status
sudo ss -ltnp | grep axigenThen create a mailbox in WebAdmin, log in to WebMail over HTTPS, and send a message to an external address and back. If outgoing mail stays in the queue, outbound port 25 is usually blocked by the provider. If incoming mail does not arrive, check the MX record with dig +short MX example.com.
After the first login
- Replace the self-signed certificate with a trusted one for
mail.example.com. Mail clients and Axigen's mobile apps reject or warn about self-signed certificates. - Publish SPF, DKIM and DMARC records for your domain; without them large mailbox providers are likely to reject or junk your mail.
- To update, download the newer package and install it the same way with
apt install. Back up the Axigen data directory before a major upgrade: once a server has started on X7, its storage cannot be downgraded to X6.
Frequently asked questions
Can I run Axigen in Docker instead?
Yes. Axigen publishes an official image, axigen/axigen, with the server pre-installed. Data lives in /axigen/var inside the container, which you should map to a host directory or volume, and onboarding is the same WebAdmin wizard on port 9443. See the Axigen documentation for the full run command.
Does Axigen still work on Debian 11 or older?
Not with the current line. Axigen X7 dropped Debian 11, and X6 supports Debian 12 as its newest Debian release. Upgrade the operating system first, then install or upgrade Axigen.
Why does the installer fail on an older or emulated CPU?
The Linux packages require x86-64-v2. Some virtual machines present a generic CPU model that hides those instructions; ask your provider for host CPU passthrough or a newer CPU model.
Is the old command-line configuration wizard still used?
No. Since Axigen X3 the initial configuration is done in the browser through the onboarding wizard described above.