From 8aaded1faa85072860b5988d4922a77e7111a12b Mon Sep 17 00:00:00 2001 From: Quentin Aristote Date: Sat, 14 Aug 2021 21:03:12 +0200 Subject: add dummy smtp server for ihatemoney --- config/services/web/quentin/ihatemoney/default.nix | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/config/services/web/quentin/ihatemoney/default.nix b/config/services/web/quentin/ihatemoney/default.nix index a0eafac..df94392 100644 --- a/config/services/web/quentin/ihatemoney/default.nix +++ b/config/services/web/quentin/ihatemoney/default.nix @@ -18,4 +18,12 @@ in { ''; }; + services.opensmtpd = lib.mkIf cfg.enable { + enable = true; + serverConfiguration = '' + listen on lo + action block mda "cat >/dev/null" + match from any for any action block + ''; + }; } -- cgit v1.2.3