aboutsummaryrefslogtreecommitdiffstats
path: root/modules/by-name
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--modules/by-name/st/stalwart-mail/settings.nix12
1 files changed, 11 insertions, 1 deletions
diff --git a/modules/by-name/st/stalwart-mail/settings.nix b/modules/by-name/st/stalwart-mail/settings.nix
index 8619c98..4eee179 100644
--- a/modules/by-name/st/stalwart-mail/settings.nix
+++ b/modules/by-name/st/stalwart-mail/settings.nix
@@ -348,12 +348,22 @@ in {
protocol = "imap";
tls.implicit = true;
};
+
# SMTP
- "smtp" = {
+ "submissions" = {
bind = ["[::]:465"];
protocol = "smtp";
tls.implicit = true;
};
+ "input" = {
+ bind = ["[::]:25"];
+ protocol = "smtp";
+ tls = {
+ enable = true;
+ # Require an explicit `STARTTLS`
+ implicit = false;
+ };
+ };
# # POP3 (should be disabled, unless there is a real reason to use it)
# "pop3" = {