Child pages
  • Serversetup multi-tenant Zarafa+Postfix+SASL+SpamAssassin+Clamav+openLDAP (Ubuntu 14.04 LTS)

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

No Format
title/etc/zarafa/ldap.cfg
ldap_bind_user = userid=zarafaservice,dc=example,dc=com

# LDAP bind password
# Optional, default = empty (no password)
ldap_bind_passwd = secret

# Top level search base, every object should be available under this tree
ldap_search_base = dc=example,dc=com

# attribute name which is/(should: was) used in ldap_user_search_filter
ldap_object_type_attribute = objectClass
ldap_user_type_attribute_value = zarafa-user
ldap_group_type_attribute_value = zarafa-group
ldap_contact_type_attribute_value = zarafa-contact
ldap_company_type_attribute_value = organizationalUnit
ldap_addresslist_type_attribute_value = zarafa-addresslist
ldap_dynamicgroup_type_attribute_value = zarafa-dynamicgroup

# Optional, default = empty (match everything)
# For active directory, use:
#   (objectCategory=Person)
# For LDAP with posix users:
#   no need to use the search filter.
ldap_user_search_filter = (objectClass=zarafa-user)

# unique user id for find the user
# Note: contacts also use this field for uniqueness. If you change this,
# you might need to update the zarafa.schema file too, and change
# the MUST uidNumber to whatever you set here.dnl
ldap_user_unique_attribute = entryUUID

# Type of unique user id
# default: text
# For active directory, use:
#               binary
# For LDAP with posix user, use:
#               text
ldap_user_unique_attribute_type = text

# If set to bind, users are authenticated by trying to bind to the
# LDAP tree using their username + password.  Otherwise, the
# ldap_password_attribute is requested and checked.
ldap_authentication_method = bind

# Group settings
# Search for groups using this LDAP filter.
ldap_group_search_filter = (objectClass=zarafa-group)
 
# Company settings
# Search for companies using this LDAP filter.
ldap_company_search_filter = (objectClass=zarafa-company)
# unique company id for find the company
# Active directory: objectGUID
# LDAP: ou
ldap_company_unique_attribute = ou

# Optional, default = ou
# Active directory: ou
# LDAP: ou
ldap_companyname_attribute = ou

# Mapping from the quota attributes to a number of bytes.  Qmail-LDAP
# schema uses bytes (1), ADS uses kilobytes (1024*1024).
# We need to ajust this to 1MB in Bytes so we can use MB in phpldapadmin,
# otherwise quota won't work! correctly.
ldap_quota_multiplier = 1048576

...

No Format
title/etc/zarafa/dagent.cfg
# drop privileges and run the process as this user
run_as_user             = zarafa

# drop privileges and run the process as this group
run_as_group            = zarafa

# The following e-mail header will mark the mail as spam, so the mail
# is placed in the Junk Mail folder, and not the Inbox.
# possibly other viable spam headers:
#  spamassassin: "X-Spam-Flag: Yes"
#  dspam:        "X-DSPAM-Result: Spam"
spam_header_name = X-Spam-Status

# If the above header is found, and contains the following value
# the mail will be considered as spam.
spam_header_value = Yes,

zarafa-monitor

Daemon which sends quota warnings etc. Not much to adjust except the user.

Code Block
title/etc/zarafa/monitor.cfg
# drop privileges and run the process as this user
run_as_user = zarafa


# drop privileges and run the process as this group
run_as_group =

 

zarafa-gateway

This service talks pop(s) and imap(s) to the outside world.

...

Code Block
# run as specific user
run_as_user         = zarafa


# run as specific group
run_as_group        = zarafa

...

No Format
title/etc/zarafa/spooler.cfg
# drop privileges and run the process as this user
run_as_user             = zarafa

# drop privileges and run the process as this group
run_as_group            = zarafa

 
# set this if you want outlook-style meeting requests
always_send_tnef = yes

 

Z-Push Setup (ActiveSync)

...