Merge pull request #59056 from aanderse/mod_php-sendmail

nixos/httpd: replace ssmtp with system-sendmail

authored by

Léo Gaspard and committed by
GitHub
07fdcb34 714d9130

+1 -4
+1 -4
nixos/modules/services/web-servers/apache-httpd/default.nix
··· 705 706 path = 707 [ httpd pkgs.coreutils pkgs.gnugrep ] 708 - ++ # Needed for PHP's mail() function. !!! Probably the 709 - # ssmtp module should export the path to sendmail in 710 - # some way. 711 - optional config.networking.defaultMailServer.directDelivery pkgs.ssmtp 712 ++ concatMap (svc: svc.extraServerPath) allSubservices; 713 714 environment =
··· 705 706 path = 707 [ httpd pkgs.coreutils pkgs.gnugrep ] 708 + ++ optional enablePHP pkgs.system-sendmail # Needed for PHP's mail() function. 709 ++ concatMap (svc: svc.extraServerPath) allSubservices; 710 711 environment =