From 84a80feaf4950697c470f819a5646076c9859499 Mon Sep 17 00:00:00 2001 From: niten Date: Wed, 27 Sep 2023 13:04:51 -0700 Subject: [PATCH] Switch back to regular ports --- mail-server.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mail-server.nix b/mail-server.nix index 28fcb40..1205f12 100644 --- a/mail-server.nix +++ b/mail-server.nix @@ -290,7 +290,7 @@ in { "${hostSecrets.dovecotLdapConfig.target-file}:/run/dovecot2/conf.d/ldap.conf:ro" "${cfg.smtp.ssl-directory}:/run/certs/smtp" ]; - ports = [ "9025:25" "9587:587" "9465:465" ]; + ports = [ "25:25" "587:587" "465:465" ]; depends_on = [ "imap" "ldap-proxy" ]; }; nixos = { @@ -345,7 +345,7 @@ in { imap = { service = { networks = [ "internal_network" ]; - ports = [ "9143:143" "9993:993" ]; + ports = [ "143:143" "993:993" ]; volumes = [ "${cfg.state-directory}/dovecot:/state" "${hostSecrets.dovecotLdapConfig.target-file}:/run/dovecot2/conf.d/ldap.conf:ro"