nixos/httpd: replace ssmtp with system-sendmail

This commit is contained in:
Aaron Andersen 2019-03-31 20:45:38 -04:00
parent 88b32b2004
commit 9c9a6f380e

View File

@ -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 =