feat: disable mail
This commit is contained in:
parent
1d618d08e1
commit
ef0b8754a7
1 changed files with 0 additions and 47 deletions
|
|
@ -240,12 +240,6 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
"pfa.itepastra.nl" = {
|
|
||||||
forceSSL = true;
|
|
||||||
enableACME = false;
|
|
||||||
useACMEHost = "itepastra.nl";
|
|
||||||
};
|
|
||||||
|
|
||||||
"locked.itepastra.nl" = {
|
"locked.itepastra.nl" = {
|
||||||
forceSSL = true;
|
forceSSL = true;
|
||||||
useACMEHost = "itepastra.nl";
|
useACMEHost = "itepastra.nl";
|
||||||
|
|
@ -259,54 +253,15 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
"calendar.itepastra.nl" = proxy "itepastra.nl" "http://[::1]:29341";
|
"calendar.itepastra.nl" = proxy "itepastra.nl" "http://[::1]:29341";
|
||||||
"mail.itepastra.nl" = {
|
|
||||||
forceSSL = true;
|
|
||||||
enableACME = true;
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
postfix = {
|
|
||||||
relayHost = "mail.voorwaarts.nl";
|
|
||||||
relayPort = 125;
|
|
||||||
};
|
|
||||||
roundcube = {
|
|
||||||
enable = true;
|
|
||||||
hostName = "mail.itepastra.nl";
|
|
||||||
extraConfig = ''
|
|
||||||
# starttls needed for authentication, so the fqdn required to match
|
|
||||||
# the certificate
|
|
||||||
$config['smtp_server'] = "tls://mail.itepastra.nl";
|
|
||||||
$config['smtp_user'] = "%u";
|
|
||||||
$config['smtp_pass'] = "%p";
|
|
||||||
'';
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
|
|
||||||
mailserver = {
|
|
||||||
enable = true;
|
|
||||||
fqdn = "mail.itepastra.nl";
|
|
||||||
domains = [ "itepastra.nl" ];
|
|
||||||
debug = true;
|
|
||||||
hierarchySeparator = "/";
|
|
||||||
|
|
||||||
loginAccounts = {
|
|
||||||
"noa@itepastra.nl" = {
|
|
||||||
hashedPasswordFile = "/etc/passwords/noa@itepastra.nl";
|
|
||||||
aliases = [ "@itepastra.nl" ];
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
certificateScheme = "acme";
|
|
||||||
acmeCertificateName = "mail.itepastra.nl";
|
|
||||||
|
|
||||||
openFirewall = true;
|
|
||||||
};
|
|
||||||
|
|
||||||
security.acme = {
|
security.acme = {
|
||||||
acceptTerms = true;
|
acceptTerms = true;
|
||||||
defaults.email = "noa@voorwaarts.nl";
|
defaults.email = "noa@voorwaarts.nl";
|
||||||
certs = {
|
certs = {
|
||||||
"mail.itepastra.nl".extraDomainNames = [ ];
|
|
||||||
"noa.voorwaarts.nl".extraDomainNames = [
|
"noa.voorwaarts.nl".extraDomainNames = [
|
||||||
"images.noa.voorwaarts.nl"
|
"images.noa.voorwaarts.nl"
|
||||||
"maintenance.noa.voorwaarts.nl"
|
"maintenance.noa.voorwaarts.nl"
|
||||||
|
|
@ -331,8 +286,6 @@
|
||||||
24454 # minecraft (voice)
|
24454 # minecraft (voice)
|
||||||
|
|
||||||
22000 # syncthing
|
22000 # syncthing
|
||||||
|
|
||||||
25 # mail
|
|
||||||
];
|
];
|
||||||
networking.firewall.allowedUDPPorts = [
|
networking.firewall.allowedUDPPorts = [
|
||||||
22 # ssh
|
22 # ssh
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue