feat: postfix enable
This commit is contained in:
parent
8bab145d7b
commit
0707395851
1 changed files with 39 additions and 10 deletions
|
|
@ -258,25 +258,52 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
"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;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
roundcube = {
|
};
|
||||||
enable = true;
|
roundcube = {
|
||||||
hostName = "rc.itepastra.nl";
|
enable = true;
|
||||||
extraConfig = ''
|
hostName = "mail.itepastra.nl";
|
||||||
# starttls needed for authentication, so the fqdn required to match
|
extraConfig = ''
|
||||||
# the certificate
|
# starttls needed for authentication, so the fqdn required to match
|
||||||
$config['smtp_server'] = "tls://mail.itepastra.nl";
|
# the certificate
|
||||||
$config['smtp_user'] = "%u";
|
$config['smtp_server'] = "tls://mail.itepastra.nl";
|
||||||
$config['smtp_pass'] = "%p";
|
$config['smtp_user'] = "%u";
|
||||||
'';
|
$config['smtp_pass'] = "%p";
|
||||||
|
'';
|
||||||
|
};
|
||||||
|
postfix = {
|
||||||
|
relayHost = "mail.voorwaarts.nl";
|
||||||
|
relayPort = 125;
|
||||||
|
};
|
||||||
|
|
||||||
|
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";
|
||||||
};
|
};
|
||||||
|
|
||||||
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"
|
||||||
|
|
@ -301,6 +328,8 @@
|
||||||
24454 # minecraft (voice)
|
24454 # minecraft (voice)
|
||||||
|
|
||||||
22000 # syncthing
|
22000 # syncthing
|
||||||
|
|
||||||
|
125 # mail
|
||||||
];
|
];
|
||||||
networking.firewall.allowedUDPPorts = [
|
networking.firewall.allowedUDPPorts = [
|
||||||
22 # ssh
|
22 # ssh
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue