updates to core
This commit is contained in:
15
patch.sh
15
patch.sh
@@ -147,17 +147,6 @@ cat >> $configSite <<EOF
|
||||
\$config['IMAP_PORT'] = 993;
|
||||
\$config['IMAP_SSL'] = true;
|
||||
|
||||
// authentication against an ldap directory (disabled by default)
|
||||
//\$config['ENABLE_LDAP_AUTH'] = 1;
|
||||
//\$config['LDAP_HOST'] = '$SMARTHOST';
|
||||
//\$config['LDAP_PORT'] = 389;
|
||||
//\$config['LDAP_HELPER_DN'] = 'cn=administrator,cn=users,dc=mydomain,dc=local';
|
||||
//\$config['LDAP_HELPER_PASSWORD'] = 'myxxxxpasswd';
|
||||
//\$config['LDAP_MAIL_ATTR'] = 'mail';
|
||||
//\$config['LDAP_AUDITOR_MEMBER_DN'] = '';
|
||||
//\$config['LDAP_ADMIN_MEMBER_DN'] = '';
|
||||
//\$config['LDAP_BASE_DN'] = 'ou=Benutzer,dc=krs,dc=local';
|
||||
|
||||
// authentication against an Uninvention based ldap directory
|
||||
//\$config['ENABLE_LDAP_AUTH'] = 1;
|
||||
//\$config['LDAP_HOST'] = '$SMARTHOST';
|
||||
@@ -187,7 +176,7 @@ if ! grep -qF "// Mailcow API" "$configSite"; then
|
||||
cat >> $configSite <<EOF
|
||||
|
||||
// ### Begin added by Piler-Installer ###
|
||||
// Mailcow API
|
||||
// mailcow API
|
||||
\$config['MAILCOW_API_KEY'] = '$MAILCOW_APIKEY';
|
||||
\$config['MAILCOW_SET_REALNAME'] = true;
|
||||
\$config['CUSTOM_EMAIL_QUERY_FUNCTION'] = 'query_mailcow_for_email_access';
|
||||
@@ -200,7 +189,7 @@ fi
|
||||
wget https://raw.githubusercontent.com/patschi/mailpiler-mailcow-integration/master/auth-mailcow.php -O $etcPth/auth-mailcow.php
|
||||
fi
|
||||
|
||||
echo "Patch Mailcow Api-Key config"
|
||||
echo "Patch mailcow Api-Key config"
|
||||
|
||||
#######################################################################################
|
||||
|
||||
|
||||
Reference in New Issue
Block a user