From 71bc8234a23d6255cac175bd73921de38160fea0 Mon Sep 17 00:00:00 2001 From: Rouven Seifert Date: Mon, 4 Mar 2024 12:18:23 +0100 Subject: [PATCH] opendkim: disable --- modules/mail/default.nix | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/modules/mail/default.nix b/modules/mail/default.nix index 0ec2f8d..c18ab7a 100644 --- a/modules/mail/default.nix +++ b/modules/mail/default.nix @@ -43,7 +43,6 @@ in 993 # IMAP 4190 # sieve ]; - users.users.postfix.extraGroups = [ "opendkim" ]; users.users.rspamd.extraGroups = [ "redis-rspamd" ]; environment.etc = { "dovecot/sieve-pipe/sa-learn-spam.sh" = { @@ -139,8 +138,6 @@ in alias_maps = [ "hash:/etc/aliases" ]; alias_database = [ "hash:/etc/aliases" ]; # alias_maps = [ "hash:/etc/aliases" "ldap:${ldap-aliases}" ]; - smtpd_milters = [ "local:/run/opendkim/opendkim.sock" ]; - non_smtpd_milters = [ "local:/var/run/opendkim/opendkim.sock" ]; smtpd_sasl_auth_enable = true; smtpd_sasl_path = "/var/lib/postfix/auth"; smtpd_sasl_type = "dovecot"; @@ -274,14 +271,6 @@ in } ''; }; - opendkim = { - enable = true; - domains = "csl:${config.networking.domain}"; - selector = config.networking.hostName; - configFile = pkgs.writeText "opendkim-config" '' - UMask 0117 - ''; - }; rspamd = { enable = true; postfix.enable = true; -- 2.44.2