1
0
Fork 0

nixbld: setup email server for m-labs.hk

This commit is contained in:
Sebastien Bourdeauducq 2022-06-27 18:17:30 +08:00
parent 8bc44199fc
commit 6333165321
1 changed files with 2 additions and 5 deletions

View File

@ -851,14 +851,11 @@ in
mailserver = {
enable = true;
localDnsResolver = false; # conflicts with dnsmasq
# Some mail servers do reverse DNS lookups to filter spam.
# Getting a proper reverse DNS record from ISP is difficult, so use whatever already exists.
fqdn = "42-200-147-171.static.imsbiz.com";
domains = [ "nmigen.org" ];
fqdn = "mail.m-labs.hk";
domains = [ "m-labs.hk" ];
loginAccounts = (import /etc/nixos/secret/email_accounts.nix);
certificateScheme = 3;
};
security.acme.certs."${config.mailserver.fqdn}".extraDomainNames = [ "mail.nmigen.org" ];
system.stateVersion = "21.05";
}