Switch back to regular ports

This commit is contained in:
niten 2023-09-27 13:04:51 -07:00
parent 4f3ec6e12e
commit 84a80feaf4

View File

@ -290,7 +290,7 @@ in {
"${hostSecrets.dovecotLdapConfig.target-file}:/run/dovecot2/conf.d/ldap.conf:ro" "${hostSecrets.dovecotLdapConfig.target-file}:/run/dovecot2/conf.d/ldap.conf:ro"
"${cfg.smtp.ssl-directory}:/run/certs/smtp" "${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" ]; depends_on = [ "imap" "ldap-proxy" ];
}; };
nixos = { nixos = {
@ -345,7 +345,7 @@ in {
imap = { imap = {
service = { service = {
networks = [ "internal_network" ]; networks = [ "internal_network" ];
ports = [ "9143:143" "9993:993" ]; ports = [ "143:143" "993:993" ];
volumes = [ volumes = [
"${cfg.state-directory}/dovecot:/state" "${cfg.state-directory}/dovecot:/state"
"${hostSecrets.dovecotLdapConfig.target-file}:/run/dovecot2/conf.d/ldap.conf:ro" "${hostSecrets.dovecotLdapConfig.target-file}:/run/dovecot2/conf.d/ldap.conf:ro"