iredapd / etc / iredapd.ini.sample

[general]
# Listen address and port.
listen_addr     = 127.0.0.1
listen_port     = 7777

# Background/daemon mode: yes, no.
# Detach iredapd from terminal. Enable when you're happy
# that things are working as expected.
run_as_daemon   = yes

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

# Log type: file.
# Note:
#   - Currently, only 'file' type is supported.
#   - If log_type is 'file', log_file is required.
#   - If log_type is 'mysql', sql related info are required.
log_type        = file
log_file        = /var/log/iredapd.log

log_sql_server  = 127.0.0.1
log_sql_port    = 3306
log_sql_dbname  = iredadmin
log_sql_dbuser  = iredadmin
log_sql_dbpass  = your_passwd

# Log level: info, warning, error, debug.
# 'info' is recommended for product use. sample log entry:
#       INFO user@domain.ltd -> list@domain.ltd, OK
log_level       = info

[ldap]
# LDAP server setting.
# Uri must starts with ldap:// or ldaps:// (TLS/SSL).
#
# Tip: You can get binddn, bindpw from /etc/postfix/ldap_*.cf.
#
uri         = ldap://127.0.0.1:389
binddn      = cn=vmail,dc=iredmail,dc=org
bindpw      = 5NC4VyRJdws3ounpcKJw9zXu0B8ou6
basedn      = o=domains,dc=iredmail,dc=org

# Attribute name which used to store mail list access policy
attr_access_policy  = accessPolicy

# Attribute name which used to store mail address of mail list members.
attr_member = mail

# Attribute name used to store moderators.
# Note: Do NOT forget to change 'filter_allowed_senders' below if you don't
#       use default attribute name.
attr_moderator = listAllowedUser

# LDAP filter used to search mail list
# Note: placeholder '%(recipient)s' can be used here, will be
# replaced by mail list address.
filter_maillist = (&(objectclass=mailList)(accountStatus=active)(mail=%(recipient)s))

# LDAP filter used to search members of mail list
# Note:
# - placeholder '%(recipient)s' can be used here, will be replacd
#   by mail list address.
# - placeholder '%(sender)s' can be used here, will be replaced
#   by sender address.
filter_member   = (&(objectclass=mailUser)(accountStatus=active)(memberOfGroup=%(recipient)s)(mail=%(sender)s))

# LDAP filter used to search allowed users.
# Note:
# - placeholder '%(recipient)s' can be used here, will be replacd
#   by mail list address.
# - placeholder '%(sender)s' can be used here, will be replaced
#   by sender address.
filter_allowed_senders = (&(objectclass=mailList)(accountStatus=active)(mail=%(recipient)s)(listAllowedUser=%(sender)s))
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.