Simple NixOS Mailserver
Self-hosted mail server package for NixOS that configures SMTP, IMAP, DNS, and anti-spam services through the NixOS module system for a complete, easily…
Platform availability
Available on 1 of 10 platforms
- Unraid (not listed)
- TrueNAS (not listed)
- Umbrel (not listed)
- ZimaOS (not listed)
- Proxmox (not listed)
- Helm (not listed)
- Mac (not listed)
- Windows (not listed)
- Linux (not listed)
- Any server
Health score?A 0-100 score computed nightly from four factors: maintained (40%: recent commits and steady activity), popular (25%: GitHub stars, log scale), easy to install (20%: platforms, install notes, setup guides, Docker image) and light to run (15%: minimum RAM, ARM support). When the source code has been checked, a fifth factor, security check (20%: automated scan for committed secrets, unsafe desktop-app settings, known-vulnerable dependencies and project hygiene; any serious finding caps it at 20), is added. Factors without data are left out and the rest are rescaled.
14/100 Low
- Maintained
- 0last commit 955 days ago
- Popular
- 61 GitHub stars
- Easy to install
- 251 install platform, install notes
- Light to run
- 502 GB minimum RAM
Availability: platform listings confirmed today
- GitHub stars
- 1
- Open issues
- 0
- Last commit
- 2024-04-11
- License
- GPL-3.0
- Activity
- stale
Checked today - source: GitHub (GoldsteinE/simple-nixos-mailserver)
Resources & Compatibility
Minimum requirements: 2 GB RAM, 1 CPU core(s).
Checked today - source: Docker Hub image tags and published docs
First-install notes
- System Requirements Requires a small NixOS server (e.g., 1 CPU core / 2 GB RAM) with stable outbound internet connectivity. source
- Branch Selection Use the SNM release branch that matches your NixOS version (e.g., nixos-23.11 for NixOS 23.11); per-branch documentation and release notes are linked in each section. source
Fetched today - each note links to its source
Variants
Alternatives (6)
- Axigen - Axigen provides a multi-tenant, fully integrated, multi-platform, all-in-one email, calendaring and collaboration messaging solution.
- MailEnable
- WildDuck - WildDuck is a scalable no-SPOF IMAP/POP3 mail server.
- b1gMail
- mailu - Mailu is a simple yet full-featured mail server as a set of Docker images.
- smartermail - SmarterMail is the Microsoft Exchange alternative, offering the only other email, groupware, and collaboration server on the market with na…
Checked today - source: AlternativeTo
Common questions
Which SNM branch should I use for my NixOS version?
Use the SNM release branch that matches your NixOS version, such as nixos-23.11 for NixOS 23.11. For NixOS unstable, use the master branch.
Which mail ports does the server provide?
It supports SMTP on port 25, TLS submission on 465, STARTTLS submission on 587, IMAP TLS on 993, IMAP STARTTLS on 143, POP3 TLS on 995, and POP3 STARTTLS on 110.
What if my VPS blocks outgoing port 25?
One approach discussed for this setup is to route outgoing SMTP traffic through a WireGuard VPN so it can reach an upstream mail destination.
Can it be used to migrate an existing mail server to NixOS?
A NixOS help thread discusses using it as a starting point for migrating a mail server. It also notes that declaratively configuring multiple users and passwords can be difficult.
How can I tune rspamd spam filtering?
The documentation describes tuning via auto-learning, training from existing folders, symbol weights, and action thresholds. It also covers accessing the rspamd web UI using SSH forwarding or an nginx reverse proxy.
Can the server use Let's Encrypt for TLS?
Yes. It supports manual certificates, on-the-fly certificate creation, and Let's Encrypt.
Answers sourced from discourse.nixos.org, discourse.nixos.org, github.com, nixos-mailserver.readthedocs.io
Community
- Mailserver with nixos - Help - NixOS Discourse (forum)
- A complete and Simple NixOS Mailserver : r/linux - Reddit (reddit)
- Simple NixOS Mailserver and outgoing SMTP over VPN (forum)
- Simple NixOS Mailserver - Tools - TMPDIR (other)
Collected today - public community threads