nixbld: end mailserver experiment
This was going well, until some assholes at Gmail decided to block our IP address and as usual PCCW are useless when it comes to changing to a whitelisted IP. https://support.google.com/mail/answer/10336?p=NotAuthorizedError Fuck Google. Fuck PCCW.
This commit is contained in:
parent
7821200a58
commit
b7a49505bc
|
@ -16,10 +16,6 @@ in
|
|||
[
|
||||
./hardware-configuration.nix
|
||||
./backup-module.nix
|
||||
(builtins.fetchTarball {
|
||||
url = "https://gitlab.com/simple-nixos-mailserver/nixos-mailserver/-/archive/90e8c150a02d4a5108f1f1e5cb7bab2cb1eb4baf/nixos-mailserver-nixos.tar.gz";
|
||||
sha256 = "0xywkr125m9n0iax62bcn7x754clcs1jrl0f9l767yjy6g3qws92";
|
||||
})
|
||||
];
|
||||
|
||||
# Use the systemd-boot EFI boot loader.
|
||||
|
@ -709,18 +705,6 @@ in
|
|||
};
|
||||
services.jitsi-videobridge.openFirewall = true;
|
||||
|
||||
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" ];
|
||||
loginAccounts = (import /etc/nixos/secret/email_accounts.nix);
|
||||
certificateScheme = 3;
|
||||
};
|
||||
security.acme.certs."${config.mailserver.fqdn}".extraDomainNames = [ "mail.nmigen.org" ];
|
||||
|
||||
# This value determines the NixOS release with which your system is to be
|
||||
# compatible, in order to avoid breaking some software such as database
|
||||
# servers. You should change this only after NixOS release notes say you
|
||||
|
|
Loading…
Reference in New Issue