nixbld: setup email server for m-labs.hk
This commit is contained in:
parent
8bc44199fc
commit
6333165321
@ -851,14 +851,11 @@ in
|
|||||||
mailserver = {
|
mailserver = {
|
||||||
enable = true;
|
enable = true;
|
||||||
localDnsResolver = false; # conflicts with dnsmasq
|
localDnsResolver = false; # conflicts with dnsmasq
|
||||||
# Some mail servers do reverse DNS lookups to filter spam.
|
fqdn = "mail.m-labs.hk";
|
||||||
# Getting a proper reverse DNS record from ISP is difficult, so use whatever already exists.
|
domains = [ "m-labs.hk" ];
|
||||||
fqdn = "42-200-147-171.static.imsbiz.com";
|
|
||||||
domains = [ "nmigen.org" ];
|
|
||||||
loginAccounts = (import /etc/nixos/secret/email_accounts.nix);
|
loginAccounts = (import /etc/nixos/secret/email_accounts.nix);
|
||||||
certificateScheme = 3;
|
certificateScheme = 3;
|
||||||
};
|
};
|
||||||
security.acme.certs."${config.mailserver.fqdn}".extraDomainNames = [ "mail.nmigen.org" ];
|
|
||||||
|
|
||||||
system.stateVersion = "21.05";
|
system.stateVersion = "21.05";
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user