Commits

Zhang Huangbin committed 1463b29

Don't enable auth_default_realm in Dovecot by default.

Comments (0)

Files changed (3)

iRedMail/functions/dovecot1.sh

 
 # Default realm/domain to use if none was specified.
 # This is used for both SASL realms and appending '@domain.ltd' to username in plaintext logins.
-auth_default_realm = ${FIRST_DOMAIN}
+#auth_default_realm = ${FIRST_DOMAIN}
 
 # ---- NFS storage ----
 # Set to 'no' For NFSv2. Default is 'yes'.

iRedMail/samples/conf/dovecot2.conf

 
 # Authentication related settings.
 # Append this domain name if client gives empty realm.
-auth_default_realm = PH_AUTH_DEFAULT_REALM
+#auth_default_realm = PH_AUTH_DEFAULT_REALM
 
 # Authentication mechanisms.
 auth_mechanisms = PH_AUTH_MECHANISMS

iRedMail/samples/used_quota.sql

-#
-# Table `used_quota`. Used for Dovecot to store realtime quota.
-#
-# WARNING:
-#   - Works only with Dovecot 1.2+.
-#   - This table is not required in MySQL backend.
-#
+--
+-- Table `used_quota`. Used for Dovecot to store realtime quota.
+--
+-- WARNING:
+--   - Works only with Dovecot 1.2+.
+--   - This table is not required in MySQL backend.
+--
 CREATE TABLE IF NOT EXISTS `used_quota` (
     `username` VARCHAR(255) NOT NULL,
     `bytes` BIGINT NOT NULL DEFAULT 0,