imap stuff

This commit is contained in:
Gene Liverman 2025-06-08 19:45:59 -04:00
parent 9f0baa6337
commit 5f2005a8c3
3 changed files with 20 additions and 1 deletions

View file

@ -26,9 +26,11 @@
22 # ssh 22 # ssh
25 # SMTP (unencrypted) 25 # SMTP (unencrypted)
80 # http to local Nginx 80 # http to local Nginx
143 # imap
443 # https to local Nginx 443 # https to local Nginx
465 # SMTP with TLS 465 # SMTP with TLS
587 # SMTP with STARTTLS 587 # SMTP with STARTTLS
993 # imaps
8333 # Bitcoin Core 8333 # Bitcoin Core
8448 # Matrix Synapse 8448 # Matrix Synapse
9735 # LND 9735 # LND
@ -54,6 +56,12 @@
"tailscale0" "tailscale0"
]; ];
}; };
openssh.settings = {
# require public key authentication for better security
PasswordAuthentication = false;
KbdInteractiveAuthentication = false;
PermitRootLogin = "no";
};
postgresql = { postgresql = {
enable = true; enable = true;
package = pkgs.postgresql_16; package = pkgs.postgresql_16;

View file

@ -11,11 +11,14 @@ in {
mailserver = { mailserver = {
enable = true; enable = true;
enableImap = false; enableImap = false;
enableImapSsl = false; enableImapSsl = true;
enableSubmission = false;
enableSubmissionSsl = true;
fqdn = "mail.alt.${domain}"; fqdn = "mail.alt.${domain}";
domains = [ domains = [
"alt.${domain}" "alt.${domain}"
"indianspringsbsa.org" "indianspringsbsa.org"
"pack1828.org"
]; ];
forwards = { forwards = {
"webmaster@indianspringsbsa.org" = "gene+indianspringsbsa.org@geneliverman.com"; "webmaster@indianspringsbsa.org" = "gene+indianspringsbsa.org@geneliverman.com";

View file

@ -160,6 +160,14 @@ in {
# OwnTracks Frontend container # OwnTracks Frontend container
locations."/".proxyPass = "http://127.0.0.1:8082"; locations."/".proxyPass = "http://127.0.0.1:8082";
}; };
"pack1828.org" = {
enableACME = true;
acmeRoot = null;
forceSSL = true;
locations."/" = {
return = "307 https://cloud.pack1828.org";
};
};
"recorder.${domain}" = { "recorder.${domain}" = {
enableACME = true; enableACME = true;
acmeRoot = null; acmeRoot = null;