commit febad30758a0361488e4ab21fb506c2625869841
parent 88ce9e9d8e1acedd7bd9b6525cea0430a397cc0e
Author: William Casarin <jb55@jb55.com>
Date: Thu, 22 Apr 2021 11:21:26 -0700
imap: listen on wireguard only
Signed-off-by: William Casarin <jb55@jb55.com>
Diffstat:
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/nix-config/services/mailz/default.nix b/nix-config/services/mailz/default.nix
@@ -215,6 +215,7 @@ in
before2 = pkgs.writeText "sieves" cfg.sieves;
};
extraConfig = ''
+ disable_plaintext_auth = no
postmaster_address = postmaster@${cfg.domain}
mail_attribute_dict = file:/var/spool/mail/%n/dovecot-attributes
@@ -231,8 +232,9 @@ in
service imap-login {
inet_listener imaps {
+ address = 10.100.0.7
port = 12788
- ssl = yes
+ ssl = no
}
}