summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorQuentin Aristote <quentin@aristote.fr>2021-08-14 21:03:12 +0200
committerQuentin Aristote <quentin@aristote.fr>2021-08-14 21:03:12 +0200
commit8aaded1faa85072860b5988d4922a77e7111a12b (patch)
treef2a24b7f58f5bb287a510f38d09f59c2c73dd987 /config
parent1ad412616cf72ef8df9ef54b6a752bf1c415e2e0 (diff)
add dummy smtp server for ihatemoney
Diffstat (limited to 'config')
-rw-r--r--config/services/web/quentin/ihatemoney/default.nix8
1 files changed, 8 insertions, 0 deletions
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
+ '';
+ };
}