iredapd / settings.py.sample

Zhang Huangbin c39c38a 










Zhang Huangbin ebaf5b2 
Zhang Huangbin c39c38a 


Zhang Huangbin 3cd5f78 

Zhang Huangbin c39c38a 




Zhang Huangbin 56e4d63 


Zhang Huangbin 3084cc0 
Zhang Huangbin c39c38a 
Zhang Huangbin ebaf5b2 
Zhang Huangbin c39c38a 




Zhang Huangbin 38bfa32 
Zhang Huangbin c39c38a 
Zhang Huangbin ebaf5b2 
Zhang Huangbin c39c38a 






Zhang Huangbin ebaf5b2 



# Listen address and port.
listen_address = '127.0.0.1'
listen_port = 7777

# Run as a low privileged user.
# If you don't want to create one, you can try 'nobody'.
run_as_user = 'iredapd'

# Path to pid file.
pid_file = '/var/run/iredapd.pid'

# Path to log file.
# Set 'log_file = /dev/null' if you don't want to keep the log.
log_file = '/var/log/iredapd.log'

# Log level: info, debug.
log_level = 'info'

# Backend: ldap, mysql, pgsql.
backend = 'ldap'

# Enabled plugins.
# - Plugin name is file name which placed under 'plugins/' directory,
#   without file extension '.py'.
# - Plugin names MUST be seperated by comma.
plugins = ['ldap_maillist_access_policy', 'ldap_amavisd_block_blacklisted_senders']

####################
# For ldap backend.
#
# LDAP server setting.
# Uri must starts with ldap:// or ldaps:// (TLS/SSL).
#
# Tip: You can get binddn, bindpw from /etc/postfix/ldap/*.cf.
#
ldap_uri = 'ldap://127.0.0.1:389'
ldap_basedn = 'o=domains,dc=iredmail,dc=org'
ldap_binddn = 'cn=vmail,dc=iredmail,dc=org'
ldap_bindpw = 'mRAEWpGRtlCs1O0QuWpXoaJ36EjRql'

#
# For MySQL and PostgreSQL backends.
#
sql_server = '127.0.0.1'
sql_port = '3306'
sql_db = 'vmail'
sql_user = 'vmail'
sql_password = 'Psaf68wsuVctYSbj4PJzRqmFsE0rlQ'
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.