diff --git a/changelog.md b/changelog.md index a787e1316..0efa02433 100644 --- a/changelog.md +++ b/changelog.md @@ -1,5 +1,7 @@ -[v0.59.11](https://github.com/nextcloud/nextcloudpi/commit/701dcd6) (2018-09-16) lamp: add referrer policy for enhanced privacy +[v0.59.12](https://github.com/nextcloud/nextcloudpi/commit/5fc8986) (2018-09-07) Change email program from PHP to Sendmail + +[v0.59.11](https://github.com/nextcloud/nextcloudpi/commit/5be7866) (2018-09-16) lamp: add referrer policy for enhanced privacy [v0.59.10](https://github.com/nextcloud/nextcloudpi/commit/fcbd661) (2018-09-04) ncp-web: add hover text for ncp admin header icons diff --git a/etc/ncp-config.d/nc-init.sh b/etc/ncp-config.d/nc-init.sh index c247a88b4..f4241c559 100644 --- a/etc/ncp-config.d/nc-init.sh +++ b/etc/ncp-config.d/nc-init.sh @@ -111,7 +111,7 @@ EOF sudo -u www-data php occ config:system:set trusted_domains 5 --value="nextcloudpi.local" # email - sudo -u www-data php occ config:system:set mail_smtpmode --value="php" + sudo -u www-data php occ config:system:set mail_smtpmode --value="sendmail" sudo -u www-data php occ config:system:set mail_smtpauthtype --value="LOGIN" sudo -u www-data php occ config:system:set mail_from_address --value="admin" sudo -u www-data php occ config:system:set mail_domain --value="ownyourbits.com" diff --git a/update.sh b/update.sh index 17d2e5d6c..35ab8a41d 100755 --- a/update.sh +++ b/update.sh @@ -144,6 +144,9 @@ chmod 770 /var/www/ncp-web EOF } + # NC14 doesnt support php mail + sudo -u www-data php /var/www/nextcloud/occ config:system:set mail_smtpmode --value="sendmail" + } # end - only live updates exit 0