You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Naïm Favier c63f6e7b05
docs: fix link
2 months ago
.hydra Release 23.05 3 months ago
docs docs: fix link 2 months ago
mail-server Use umask for race-free permission setting 3 months ago
nixops add flake support 3 years ago
scripts ldap: improve the documentation 3 months ago
tests ldap: do not write password to the Nix store 3 months ago
.editorconfig Remove makefile section from editorconfig 6 years ago
.gitignore add gitignore file for result links 6 years ago
.gitlab-ci.yml ci: pin nixpkgs to 22.05 10 months ago
.readthedocs.yaml docs: drop from the repository 10 months ago
LICENSE Initial commit 7 years ago Fix and improve the setup guide 3 months ago
default.nix ldap: set assertions to forbid ldap and loginAccounts simultaneously 3 months ago
flake.lock Release 23.05 3 months ago
flake.nix Create LDAP test 3 months ago
shell.nix docs: use MarkDown for option docs 10 months ago automatically update readme hash 4 years ago

Simple Nixos MailServer

license pipeline status

Release branches

For each NixOS release, we publish a branch. You then have to use the SNM branch corresponding to your NixOS version.

Subscribe to SNM Announcement List This is a very low volume list where new releases of SNM are announced, so you can stay up to date with bug fixes and updates.



  • Continous Integration Testing
  • Multiple Domains
  • Postfix MTA
    • smtp on port 25
    • submission tls on port 465
    • submission starttls on port 587
    • lmtp with dovecot
  • Dovecot
    • maildir folders
    • imap with tls on port 993
    • pop3 with tls on port 995
    • imap with starttls on port 143
    • pop3 with starttls on port 110
  • Certificates
    • manual certificates
    • on the fly creation
    • Let's Encrypt
  • Spam Filtering
    • via rspamd
  • Virus Scanning
    • via clamav
  • DKIM Signing
    • via opendkim
  • User Management
    • declarative user management
    • declarative password management
  • Sieves
    • A simple standard script that moves spam
    • Allow user defined sieve scripts
    • ManageSieve support
  • User Aliases
    • Regular aliases
    • Catch all aliases

In the future

  • DKIM Signing
    • Allow a per domain selector

Get in touch

  • Subscribe to the mailing list
  • Join the Libera Chat IRC channel #nixos-mailserver

How to Set Up a 10/10 Mail Server Guide

Check out the Setup Guide in the project's documentation.

For a complete list of options, see in readthedocs.


See the How to Develop SNM documentation page.


See the contributor tab

Alternative Implementations