From 4224ed26a1f3ecd6c8a290771efaff3cbb3b7342 Mon Sep 17 00:00:00 2001 From: Pascal Garber Date: Wed, 22 Aug 2018 20:38:59 +0200 Subject: [PATCH] Fix pattern The pattern we should use is %USERID% and not %EMAIL% because %EMAIL% is undefined in or setup and %USERID% is the email address we are looking for. --- setup/owncloud.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/setup/owncloud.sh b/setup/owncloud.sh index 992ea991..ae217e71 100755 --- a/setup/owncloud.sh +++ b/setup/owncloud.sh @@ -349,12 +349,14 @@ include("$STORAGE_ROOT/owncloud/config.php"); \$CONFIG['mail_domain'] = '$PRIMARY_HOSTNAME'; \$CONFIG['app.mail.accounts.default'] = array( - 'email' => '%EMAIL%', + 'email' => '%USERID%', 'imapHost' => '$PRIMARY_HOSTNAME', 'imapPort' => 993, + 'imapUser' => '%USERID%', 'imapSslMode' => 'ssl', 'smtpHost' => '$PRIMARY_HOSTNAME', 'smtpPort' => 587, + 'smtpUser' => '%USERID%', 'smtpSslMode' => 'tls', );