Simple NixOS Mailserver logo

Simple NixOS Mailserver

NixOS module for running a complete email server stack

Activity unknown

No repository statistics available for this project.

Simple NixOS Mailserver screenshot

Simple NixOS Mailserver is a set of NixOS modules that helps you declaratively run a complete mail server on NixOS. It aims to provide a reasonably secure, maintainable setup for hosting email domains with a reproducible Nix configuration.

Key Features

  • Declarative NixOS configuration for end-to-end mail server deployment
  • SMTP service with modern TLS and authentication options
  • IMAP mail access for user mailboxes
  • Spam filtering integration and common email hygiene features
  • Email authentication support (DKIM, DMARC, SPF)
  • Optional webmail support depending on chosen configuration
  • Designed to fit naturally into NixOS system management and upgrades

Use Cases

  • Self-hosting email for a personal domain on NixOS
  • Running mail for small organizations that want reproducible infrastructure
  • Homelab mail setups with strong control over configuration and updates

Limitations and Considerations

  • Intended for NixOS; not a general-purpose mailserver installer for other distributions
  • Deliverability depends on DNS correctness and IP reputation, which must be managed externally

Simple NixOS Mailserver is best suited to users who want an opinionated but flexible email stack managed entirely through NixOS. It provides building blocks for a complete mail system while keeping configuration reproducible and auditable.

Categories:

Tags:

Tech Stack:

Share:

Similar to Simple NixOS Mailserver

mailcow: dockerized logo

mailcow: dockerized

Docker-based email server suite with a web admin interface

13.3k
1.8k
Last commit

Mailcow is a dockerized mail server suite providing SMTP/IMAP, webmail, anti-spam/anti-virus, and domain/mailbox administration via a unified web UI.

GPL-3.0Actively maintained
Alternative to:
Microsoft Exchange Online logo
Microsoft Exchange Online
+16
Mailu logo

Mailu

Docker-based mail server with webmail and admin interface

7.5k
997
Last commit

Mailu is a full-featured mail server distributed as Docker images, providing SMTP/IMAP/POP3, webmail, administration UI, and built-in security and anti-spam features.

Actively maintained
Alternative to:
Microsoft Exchange Online logo
Microsoft Exchange Online
+19
docker-mailserver logo

docker-mailserver

Containerized mail server stack for SMTP and IMAP with anti-spam

18.8k
2k
Last commit

Production-ready mail server stack in a Docker container with SMTP, IMAP/POP3, LDAP auth, anti-spam/AV, DKIM/DMARC, and optional OAuth2 support.

MITActively maintained
Alternative to:
Gmail logo
Gmail
+16

Mox

Modern, secure, all-in-one mail server for self-hosted email

5.8k
218
Last commit

All-in-one secure mail server with SMTP, IMAP, webmail, automatic TLS (ACME), and built-in SPF/DKIM/DMARC plus junk filtering for low-maintenance domains.

MITActively maintained
Alternative to:
Microsoft Exchange Online logo
Microsoft Exchange Online
+19
Modoboa logo

Modoboa

Mail hosting and management platform with web UI and webmail

3.5k
481
Last commit

Modoboa is an open source mail server management platform with a modern web UI, integrating Postfix and Dovecot with admin tools, webmail, calendar, and address book.

ISCActively maintained
Alternative to:
Microsoft Exchange Online logo
Microsoft Exchange Online
+16
iRedMail logo

iRedMail

Open-source full-featured mail server stack for Linux/BSD

1.8k
260
Last commit

Automated open-source mail server installer bundling Postfix, Dovecot, webmail, anti-spam/antivirus and LDAP/SQL backends for mainstream Linux/BSD.

GPL-3.0Actively maintained
Alternative to:
Microsoft Exchange Online logo
Microsoft Exchange Online
+16