diff options
Diffstat (limited to 'modules/by-name/st')
-rw-r--r-- | modules/by-name/st/stalwart-mail/settings.nix | 12 |
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" = { |