summaryrefslogtreecommitdiffstats
path: root/lass/2configs
diff options
context:
space:
mode:
authorlassulus <lassulus@lassul.us>2020-09-27 15:31:40 +0200
committerlassulus <lassulus@lassul.us>2020-09-27 15:31:40 +0200
commit63412ba8b964d0782e2cbb1f48d0d5e30b5cd298 (patch)
tree1aba03790202237d2b60e18ab551f73fba57fa51 /lass/2configs
parent2dcf7167e7f4c60be29ab629a1f4d3f529ceaca0 (diff)
l blue: add dovecot2 to serve mails
Diffstat (limited to 'lass/2configs')
-rw-r--r--lass/2configs/blue.nix7
1 files changed, 7 insertions, 0 deletions
diff --git a/lass/2configs/blue.nix b/lass/2configs/blue.nix
index a4000cada..15408a200 100644
--- a/lass/2configs/blue.nix
+++ b/lass/2configs/blue.nix
@@ -26,6 +26,8 @@ with (import <stockholm/lib>);
{ predicate = "-i wiregrill -p udp --dport 60000:61000"; target = "ACCEPT";}
{ predicate = "-i retiolum -p tcp --dport 9998:9999"; target = "ACCEPT";}
{ predicate = "-i wiregrill -p tcp --dport 9998:9999"; target = "ACCEPT";}
+ { predicate = "-i retiolum -p tcp --dport imap"; target = "ACCEPT";}
+ { predicate = "-i wiregrill -p tcp --dport imap"; target = "ACCEPT";}
];
systemd.services.chat = let
@@ -64,4 +66,9 @@ with (import <stockholm/lib>);
ExecStop = "${tmux} kill-session -t IM";
};
};
+
+ services.dovecot2 = {
+ enable = true;
+ mailLocation = "maildir:~/Maildir";
+ };
}