From b7a49505bc8328d34ca2db2bb39b0b06034cdc2b Mon Sep 17 00:00:00 2001 From: Sebastien Bourdeauducq Date: Mon, 2 Aug 2021 13:30:29 +0800 Subject: [PATCH] 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. --- nixbld-etc-nixos/configuration.nix | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/nixbld-etc-nixos/configuration.nix b/nixbld-etc-nixos/configuration.nix index 6a12e5b..3a0438d 100644 --- a/nixbld-etc-nixos/configuration.nix +++ b/nixbld-etc-nixos/configuration.nix @@ -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