Address book in community edition

Discuss the Scalix web client

Moderators: ScalixSupport, admin

rmartin

Address book in community edition

Postby rmartin » Tue Nov 01, 2005 12:09 pm

Can someone tell me if I can turn off the address book in the community edition of Scalix. The organization I was going to set this up for does not want to see each others names in the global book for privacy. At the same time I would like these users to be able to create their own personal contacts in the address book. Hope this question makes sense, thanks for any help in advance.

florian
Scalix
Scalix
Posts: 3852
Joined: Fri Dec 24, 2004 8:16 am
Location: Frankfurt, Germany
Contact:

Postby florian » Tue Nov 01, 2005 1:15 pm

Interesting request.... removing functionality ... actually i believe many organizations choose Scalix CE over free linux-email because it provides a centralized and easily-manageable address book.

anyway, your wish is our command - and it can surely be done!

Just go to your /etc/opt/scalix/webmail/partner.xml

This file will list the LDAP sources available for addressbook and checknames functionality. one is the system addressbook, the other is the one responsible for handling personal contacts.

just remove or comment out the system one, restart tomcat, and off you go.

please make a backup copy of this fairly complex configuration file before editing it.

cheers,
Florian.
Florian von Kurnatowski, Die Harder!

codecoward

system address book

Postby codecoward » Mon Nov 07, 2005 2:46 am

Can I just say that I LOVE your product. It works flawlessly, and is easy to administrate, even for a total dummy like myself. :D

I have a question similar to the previous one. I am using Scalix community edition to host multiple domains. Is there any way that I can set the system address book to only show addresses from a certain group or domain? For example:

"fictionaldomain.com" sees all system addresses from group "fictionaldomain",
and "madeupdomain.com" sees all email addresses from group "madeupdomain",
but "fictionaldomain.com" does not see any email addresses from "madeupdomain.com" and vice versa.

I love the system address search capability, but I can't have my users from cross domains seeing each others email addresses. If there is no other way, I'll turn off the system address capability. :(

Thanks again for the great product, and I am telling everyone I know to ditch their old, proprietary mail servers, and go with Scalix!!!

florian
Scalix
Scalix
Posts: 3852
Joined: Fri Dec 24, 2004 8:16 am
Location: Frankfurt, Germany
Contact:

Postby florian » Mon Nov 07, 2005 4:28 am

Hi Code,

what you want is certainly possible; how it is to be done, depends on the client you're using. As you're mentioning Community Edition, I assume you're using Scalix Web Access.

If you check your /etc/opt/scalix/webmail/partner.xml config file, you'll see a section looking like this:

Code: Select all

        <ldapSource>
                        <type>system</type>
            <server>frodo.bamail.net</server>
            <port>389</port>
            <basedn>o=scalix</basedn>
                        <displayname resourceID="addressbooksearch_title_system">System Directory</displayname>
            <authtype>none</authtype>
            <filter>(|(&amp;(cn=%s*)(mail=*))(&amp;(sn=%s*)(mail=*))(&amp;(gn=%s*)(mail=*))(mail=%s*)(&amp;(omalias=%s*)(mail=*)))</filter>
            <address_search>
                                <limit>100</limit>
                                <attribute_map>

... lines omitted ....

        </ldapSource>



This is your LDAP query for your system directory. Please copy the whole section, adding another one of those, before the next ldap source section, titled "personal" (this is the LDAP access to your personal contacts).

Then, in the copied version, modify the following entries:


Code: Select all

                        <type>systemdomain2</type>


Code: Select all

                        <displayname>Directory for Domain2</displayname>


Note: the resource attribute has been removed. This is for internationalization; in this example, we do not want to use resources.

And finally:

Code: Select all

<filter>(&(mail=*@domain2.com)(|(&amp;(cn=%s*)(mail=*))(&amp;(sn=%s*)(mail=*))(&amp;(gn=%s*)(mail=*))(mail=%s*)(&amp;(omalias=%s*)(mail=*))))</filter>


Restart your Tomcat and you should be there. Please make a backup copy of your partner.xml file before you do the change.

Hope this helps,
Florian.
Florian von Kurnatowski, Die Harder!

codecoward

That did the trick!

Postby codecoward » Mon Nov 07, 2005 5:10 pm

Thanks florian! That works perfectly! What a great product.

tmk
Posts: 24
Joined: Wed Nov 09, 2005 10:32 pm

Re: That did the trick!

Postby tmk » Sun Nov 13, 2005 11:07 am

codecoward wrote:Thanks florian! That works perfectly! What a great product.


It did do part of the trick for my needs. However, what I'd like to be able to do is not only segregate te domains from a directory perspective, but also segregate the directories so that ONLY the corresponding directory is visible to that domain/node's "users" (i.e. domain1 only has the ability to see directory for domain1; domain2 only has ability to see directory for domain2).

In this example, at least the way I interpreted, I still see the other directories (e.g. system, domain1 and domain2). I have to manually pick the domain I want to be able to search for only that domain's users.

The product IS great - seems highly customizable - looking forward to your pearls of wisdom that I'm sure will accomplish this.

Thanks in advance


Return to “Scalix Web Access”



Who is online

Users browsing this forum: No registered users and 2 guests