diff --git a/nixos/modules/mail.nix b/nixos/modules/mail.nix index 720df68..24d144c 100644 --- a/nixos/modules/mail.nix +++ b/nixos/modules/mail.nix @@ -214,9 +214,8 @@ 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. - from-name = "sender"; - return-path = "sender"; + return-path = "sender"; # set the outgoing MAIL FROM to the original sender as specified in the incoming MAIL FROM. + # If we are the sender, we sign the message with DKIM. Else we leave it alone. sign = [ {