Skip to content

Commit

Permalink
nixos/httpd: replace ssmtp with system-sendmail
Browse files Browse the repository at this point in the history
(cherry picked from commit 9c9a6f3)
  • Loading branch information
aanderse authored and Ekleog committed Apr 6, 2019
1 parent fdc7b8a commit 67bc63f
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions nixos/modules/services/web-servers/apache-httpd/default.nix
Expand Up @@ -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 =
Expand Down

0 comments on commit 67bc63f

Please sign in to comment.