OpenSMTPD

From NixOS Wiki

OpenSMTPD is a simple mail server developed by the OpenBSD project.

Installation

services.opensmtpd.enable = true;