1
0
ミラー元 https://github.com/mail-in-a-box/mailinabox.git 前回の同期 2026-03-24 19:07:23 +01:00

Enabled localhost imap for localhost Nextcloud auth

このコミットが含まれているのは:
Jeff Volkenant
2019-05-15 10:34:58 -07:00
コミット 3f4ca9db43
2個のファイルの変更10行の追加2行の削除

ファイルの表示

@@ -135,6 +135,14 @@ service lmtp {
}
}
# Enable imap-login on localhost to allow the user_external plugin
# for Nextcloud to do imap authentication. (See #1577)
service imap-login {
inet_listener imap {
address = 127.0.0.1
port = 143
}
}
protocol imap {
mail_max_userip_connections = 20
}

ファイルの表示

@@ -155,7 +155,7 @@ if [ ! -f $STORAGE_ROOT/owncloud/owncloud.db ]; then
array(
'class' => 'OC_User_IMAP',
'arguments' => array(
'${PRIMARY_HOSTNAME}', 993, 'ssl', ''
'127.0.0.1', 143, '', ''
),
),
),
@@ -229,7 +229,7 @@ include("$STORAGE_ROOT/owncloud/config.php");
\$CONFIG['mail_domain'] = '$PRIMARY_HOSTNAME';
\$CONFIG['user_backends'] = array(array('class' => 'OC_User_IMAP','arguments' => array('${PRIMARY_HOSTNAME}', 993, 'ssl', ''),),);
\$CONFIG['user_backends'] = array(array('class' => 'OC_User_IMAP','arguments' => array('127.0.0.1', 143, '', ''),),);
echo "<?php\n\\\$CONFIG = ";
var_export(\$CONFIG);