Commits

Zhang Huangbin  committed 8f79c7f

Sync settings.ini.samples.

  • Participants
  • Parent commits 9f2d420

Comments (0)

Files changed (1)

File settings.ini.sample

 skin = default
 
 # Default language.
-lang = zh_CN
+lang = en_US
 
 # Database backend: ldap.
 backend = ldap
 
 # Base directory used to store all mail data.
+# You can find it via command:
+#   $ sudo postconf virtual_mailbox_base
 storage_base_directory = /var/vmail/vmail01
 
 # Mailbox type: maildir, mbox.
+# maildir is recommend for better performance.
 mailbox_type = maildir
 
 # Hashed maildir: True, False.
+# Example:
+#   - hashed: domain.ltd/u/us/use/username-2009.09.04.12.05.33/
+#   - non-hashed: domain.ltd/username-2009.09.04.12.05.33/
+# hashed maildir is RECOMMEND for better performance.
 hashed_maildir = True
 
 # Default quota size (in MB). 0 means unlimited.
 default_quota = 1024
 
-# Default mta transport.
+# Default mta transport: dovecot.
+# Warning: Please DO use 'dovecot' as transport for iRedMail.
 mtaTransport = dovecot
 
 # Min/Max password length.
-#   - min_passwd_length: 0 means unlimited, but at least 1 character.
+#   - min_passwd_length: 0 means unlimited, but at least 1 character
+#                        is required.
 #   - max_passwd_length: 0 means unlimited.
 min_passwd_length = 6
 max_passwd_length = 0
 
 [iredadmin]
 # Database used to store iRedAdmin data. e.g. sessions, log.
+# NOTE: currently, only mysql dbn is supported.
 dbn = mysql
 host = localhost
 port = 3306
 [ldap]
 # Settings used for LDAP backend.
 
-# LDAP server uri. use 'ldaps://' for TLS/SSL communite.
+# LDAP server uri.
+# Warning: LDAPS is not supported yet.
 uri = ldap://127.0.0.1:389
 
 # LDAP protocol version. 3 (LDAP v3) is recommend.
 protocol_version = 3
 
-# Enable TLS/SSL: True, False.
-#use_tls = False
-
-# Debug level of LDAP communite: 0, 2, [...], 255.
+# Debug level of LDAP operations: 0, 2, [...], 255.
+# Warning: it's not RECOMMEND to increase debug level in product server.
 debug_level = 0
 
 # LDAP suffix.
 suffix = dc=iredmail,dc=org
 basedn = o=domains,dc=iredmail,dc=org
 domainadmin_dn = o=domainAdmins,dc=iredmail,dc=org
+# Bind dn and password.
+# Warning: bind dn should have write privilege in LDAP.
 bind_dn = cn=vmailadmin,dc=iredmail,dc=org
 bind_pw = passwd
 
 
 # Size limit.
 sizelimit = 500
-
-[mysql]
-# Settings used for MySQL backend.
-host = localhost
-
-[policyd]
-# Settings used for policyd database.
-# Tip: You can get username and password from its config file:
-#   - on RHEL/CentOS:   /etc/policyd.conf
-#   - on Debian/Ubuntu: /etc/postfix-policyd.conf
-
-host        = localhost
-dbn         = mysql
-db          = policyd
-user        = policyd
-password    = passwd
-
-# Limits set how many results are returned. 
-sets_limit = 30