1
0
mirror of https://github.com/mail-in-a-box/mailinabox.git synced 2025-04-21 03:02:09 +00:00

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.
This commit is contained in:
Pascal Garber 2018-08-22 20:38:59 +02:00 committed by GitHub
parent e0004ad268
commit 4224ed26a1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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',
);