diff options
author | Robin Raymond <robin@robinraymond.de> | 2017-08-23 17:22:44 +0200 |
---|---|---|
committer | Robin Raymond <robin@robinraymond.de> | 2017-08-23 17:22:44 +0200 |
commit | 8551dcffff5c3e4ff1b60638f3736f4a5280d80c (patch) | |
tree | 916e22978fb8e528efe4df1e5c0bf79355bca65e /mail-server/rmilter.nix | |
parent | 7d4809038fdb5abd83e551e267f7382a88c9e7d2 (diff) |
enable dkim signing
Diffstat (limited to 'mail-server/rmilter.nix')
-rw-r--r-- | mail-server/rmilter.nix | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/mail-server/rmilter.nix b/mail-server/rmilter.nix index 173a1e4..911eaf8 100644 --- a/mail-server/rmilter.nix +++ b/mail-server/rmilter.nix @@ -14,7 +14,7 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see <http://www.gnu.org/licenses/> -{ domain, virus_scanning, dkim_signing }: +{ domain, virus_scanning, dkim_signing, dkim_dir, dkim_selector }: let clamav = if virus_scanning @@ -30,9 +30,9 @@ let '' dkim { domain { - key = /etc/nixos/dkim/${domain}.pem; - domain = "${domain}"; - selector = "dkim"; + key = "${dkim_dir}"; + domain = "*"; + selector = "${dkim_selector}"; }; sign_alg = sha256; auth_only = yes; |