diff options
author | TomTurnschuh <36013390+TomTurnschuh@users.noreply.github.com> | 2018-09-07 16:23:53 +0300 |
---|---|---|
committer | nacho <nacho@ownyourbits.com> | 2018-09-16 18:35:27 +0300 |
commit | 241f2e053140e1c0804c3840f263a5ccdaa1b023 (patch) | |
tree | 7219223dad85fbbaa52218beb1464784b7de262f | |
parent | 5be786659f1d7731827f43bfc18239098f41c634 (diff) |
Change email program from PHP to Sendmailv0.59.12
PHP seems to be no longer supported in Nextcloud 14.
This modification might need further testing in different environments.
-rw-r--r-- | changelog.md | 4 | ||||
-rw-r--r-- | etc/ncp-config.d/nc-init.sh | 2 | ||||
-rwxr-xr-x | update.sh | 3 |
3 files changed, 7 insertions, 2 deletions
diff --git a/changelog.md b/changelog.md index a787e131..0efa0243 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 c247a88b..f4241c55 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" @@ -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 |