From f8a73c27684deea8f8224bd23d23ccc9309bff2c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Isma=C3=ABl=20Bouya?= Date: Sat, 26 Jan 2019 17:18:43 +0100 Subject: Configure mailer spool for nextcloud --- nixops/modules/websites/tools/cloud/nextcloud.nix | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/nixops/modules/websites/tools/cloud/nextcloud.nix b/nixops/modules/websites/tools/cloud/nextcloud.nix index 3c6bfc9..1a49025 100644 --- a/nixops/modules/websites/tools/cloud/nextcloud.nix +++ b/nixops/modules/websites/tools/cloud/nextcloud.nix @@ -126,10 +126,10 @@ let 'loglevel' => 0, 'trashbin_retention_obligation' => 'auto', 'htaccess.RewriteBase' => '/', - 'mail_smtpmode' => 'smtp', - 'mail_smtphost' => 'mail.immae.eu', - 'mail_smtpname' => ${"''"}, - 'mail_smtppassword' => ${"''"}, + 'mail_smtpmode' => 'sendmail', + 'mail_smtphost' => '127.0.0.1', + 'mail_smtpname' => ''', + 'mail_smtppassword' => ''', 'mail_from_address' => 'owncloud', 'mail_smtpauth' => false, 'mail_domain' => 'immae.eu', @@ -249,7 +249,7 @@ let php_value[opcache.revalidate_freq] = 1 php_admin_value[memory_limit] = 512M - php_admin_value[open_basedir] = "${basedir}:/proc/meminfo:/dev/urandom:/proc/self/fd:/tmp" + php_admin_value[open_basedir] = "/run/wrappers/bin/sendmail:${basedir}:/proc/meminfo:/dev/urandom:/proc/self/fd:/tmp" php_admin_value[session.save_path] = "${varDir}/phpSessions" ''; }; -- cgit v1.2.3