Merge pull request #59056 from aanderse/mod_php-sendmail

nixos/httpd: replace ssmtp with system-sendmail
This commit is contained in:
Léo Gaspard 2019-04-06 20:57:58 +02:00 committed by GitHub
commit 07fdcb348f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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 =