Configure Groups/Contacts displayed in the Zimbra-talk Contact list

Revision as of 07:17, 21 August 2017 by Heera Singh Koranga (talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Configure Groups/Contacts displayed in the Zimbra-talk Contact list



Problem:

How to configure Groups/Contacts displayed in the Zimbra-talk Contact list


Solution:

The way a user's contact list is composed of depends on

  • its domain membership
  • its distribution list membership


Configuring the roster filter based on domain

A rosterfilter can be setup per domain, that configures which distibution lists and with it their members are in general available for display in the contact-list of the respective domain's users.

This is configured as LDAP-filter

For the default filter is prompted during the installation process:

In case you accept the proposed LDAP-filter settings, all distribution-lists are added to the contact list for each domain.

The value is then stored in the file "/etc/zimbra-talk/talk.defaults.cfg" as

DefaultRosterFilter = (&(objectClass=zimbraDistributionList)(uid=*))

In addition there's also an option in the talk.defaults.cfg to define the RosterFilter domain specific.

For each Zimbra-domain configured for Zimbra-talk, there is a section

[domain:domainname.tld]

which contains a line to setup a domain-specific LDAP filter for the roster, per default, this is set to the DefaultRosterFilter but can be adjusted any time:

RosterFilter = (&(objectClass=zimbraDistributionList)(uid=*))

For example, in case you only want distribution-lists displayed in the contact-list that start with "talk", you can adjust the Rosterfilter by adapting the uid to

RosterFilter = (&(objectClass=zimbraDistributionList)(uid=ztalk*))

This will include distribution lists that start with ztalk, like

ztalk-group1@yourdomain.tld
ztalkusers@yourdomain.tld

but exclude those which do not, like

users@yourdomain.tld

To apply the modifications saved to the /etc/zimbra-talk/talk.defaults.cfg file, execute

sudo /usr/share/ztalk/libexec/update-prosody-conf



Submitted by: Raunaq Malik

Jump to: navigation, search