From 9c9a6f380e16d8c8b6c6c1c3af5af72b5e99e2c9 Mon Sep 17 00:00:00 2001 From: Aaron Andersen Date: Sun, 31 Mar 2019 20:45:38 -0400 Subject: [PATCH] nixos/httpd: replace ssmtp with system-sendmail --- nixos/modules/services/web-servers/apache-httpd/default.nix | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/nixos/modules/services/web-servers/apache-httpd/default.nix b/nixos/modules/services/web-servers/apache-httpd/default.nix index 1eac5be2f8d..8f00f81b078 100644 --- a/nixos/modules/services/web-servers/apache-httpd/default.nix +++ b/nixos/modules/services/web-servers/apache-httpd/default.nix @@ -705,10 +705,7 @@ in path = [ httpd pkgs.coreutils pkgs.gnugrep ] - ++ # Needed for PHP's mail() function. !!! Probably the - # ssmtp module should export the path to sendmail in - # some way. - optional config.networking.defaultMailServer.directDelivery pkgs.ssmtp + ++ optional enablePHP pkgs.system-sendmail # Needed for PHP's mail() function. ++ concatMap (svc: svc.extraServerPath) allSubservices; environment =