From 607904b451f31fe1c5e85c93751f1453000bcf02 Mon Sep 17 00:00:00 2001 From: niten Date: Wed, 11 Oct 2023 22:25:45 -0700 Subject: [PATCH] Open solr for just a minute --- mail-server.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/mail-server.nix b/mail-server.nix index acc1843..31c98e3 100644 --- a/mail-server.nix +++ b/mail-server.nix @@ -203,6 +203,9 @@ in { }; }; + # FIXME: verify solr then kill this + networking.firewall.allowedTCPPorts = [ 8983 ]; + fudo.secrets.host-secrets."${hostname}" = { mailLdapProxyEnv = { source-file = pkgs.writeText "ldap-proxy.env" '' @@ -402,6 +405,7 @@ in { networks = [ "solr_network" ]; volumes = [ "${cfg.state-directory}/solr:/opt/solr/server/solr/dovecot" ]; + ports = [ "8983:8983" ]; }; antispam = { service = {