forked from M-Labs/it-infra
nixbld: setup email server for m-labs.hk
This commit is contained in:
parent
8bc44199fc
commit
6333165321
@ -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";
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user