mirror of
https://github.com/genebean/dots.git
synced 2026-03-27 09:27:44 -04:00
imap stuff
This commit is contained in:
parent
9f0baa6337
commit
5f2005a8c3
3 changed files with 20 additions and 1 deletions
|
|
@ -26,9 +26,11 @@
|
|||
22 # ssh
|
||||
25 # SMTP (unencrypted)
|
||||
80 # http to local Nginx
|
||||
143 # imap
|
||||
443 # https to local Nginx
|
||||
465 # SMTP with TLS
|
||||
587 # SMTP with STARTTLS
|
||||
993 # imaps
|
||||
8333 # Bitcoin Core
|
||||
8448 # Matrix Synapse
|
||||
9735 # LND
|
||||
|
|
@ -54,6 +56,12 @@
|
|||
"tailscale0"
|
||||
];
|
||||
};
|
||||
openssh.settings = {
|
||||
# require public key authentication for better security
|
||||
PasswordAuthentication = false;
|
||||
KbdInteractiveAuthentication = false;
|
||||
PermitRootLogin = "no";
|
||||
};
|
||||
postgresql = {
|
||||
enable = true;
|
||||
package = pkgs.postgresql_16;
|
||||
|
|
|
|||
|
|
@ -11,11 +11,14 @@ in {
|
|||
mailserver = {
|
||||
enable = true;
|
||||
enableImap = false;
|
||||
enableImapSsl = false;
|
||||
enableImapSsl = true;
|
||||
enableSubmission = false;
|
||||
enableSubmissionSsl = true;
|
||||
fqdn = "mail.alt.${domain}";
|
||||
domains = [
|
||||
"alt.${domain}"
|
||||
"indianspringsbsa.org"
|
||||
"pack1828.org"
|
||||
];
|
||||
forwards = {
|
||||
"webmaster@indianspringsbsa.org" = "gene+indianspringsbsa.org@geneliverman.com";
|
||||
|
|
|
|||
|
|
@ -160,6 +160,14 @@ in {
|
|||
# OwnTracks Frontend container
|
||||
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}" = {
|
||||
enableACME = true;
|
||||
acmeRoot = null;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue