mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-24 16:03:23 +00:00
nixos/httpd: replace ssmtp with system-sendmail
This commit is contained in:
parent
88b32b2004
commit
9c9a6f380e
@ -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 =
|
||||
|
Loading…
Reference in New Issue
Block a user