Use implicit TLS port for SMTP client connection

This commit is contained in:
Jakob Lechner 2024-09-17 14:35:31 +02:00
parent 6b8a8c73c5
commit 13b86afac1
4 changed files with 10 additions and 10 deletions

View file

@ -41,7 +41,7 @@ lib.mkIf cfg.enable {
relayPort = cfg.relayPort;
enableSubmission = true; # plain/STARTTLS (latter is forced in submissionOptions)
enableSubmission = false; # plain/STARTTLS (latter is forced in submissionOptions)
enableSubmissions = true; # submission with implicit TLS (TCP/465)
hostname = cfg.fqdn;
@ -147,7 +147,7 @@ lib.mkIf cfg.enable {
networking.firewall.allowedTCPPorts = [
25 # SMTP
587 # SMTP submission
465 # SMTPS (implicit TLS)
];
systemd.services.postfix = {