diff --git a/nixos/modules/mail.nix b/nixos/modules/mail.nix index 720df68..67e5877 100644 --- a/nixos/modules/mail.nix +++ b/nixos/modules/mail.nix @@ -214,7 +214,7 @@ in { ++ ["sieve.trusted.*"]; #for macros to be able to include our redirection script sieve.trusted = { scripts.redirects.contents = "%{file:/tmp/virt_aliases}%"; # generated redirect script - from-addr = "sender"; # set the from-address to the original sender as specified in the MAIL FROM. + trusted.from-addr = "sender"; # set the from-address to the original sender as specified in the MAIL FROM. from-name = "sender"; return-path = "sender"; # If we are the sender, we sign the message with DKIM. Else we leave it alone.