Zentyal Forum, Linux Small Business Server

Zentyal Server => Email and Groupware => Topic started by: ivanv on December 03, 2014, 03:05:47 pm

Title: Zentyal 4 GAL (shared address book, recipient autocomplete) problem
Post by: ivanv on December 03, 2014, 03:05:47 pm
Hello,

I installed Zentyal 4 server with following components:
Component                                      Installed Version

Antivirus                                     4.0    
Certification Authority                       4.0.2    
Common Library                     4.0.1    
Core                                4.0.3    
DNS Server                             4.0.1    
Domain Controller and File Sharing    4.0.4    
Firewall                                     4.0    
Jabber                                4.0.1    
Mail Filter                             4.0    
Mail and Groupware                  4.0.1    
NTP Service                             4.0.1    
Network Configuration                  4.0    
Network Objects                          4.0    
Network Services                          4.0    
OpenChange Server                  4.0.3    
Software Management                  4.0

I configured network and mail settings, set up OpenChange and created multiple virtual mail domains. Everything works great except one thing.

When I use Sogo webmail and open Shared Address Book I see all users from all virtual mail domains. I want to see only users from virtual domain I belong to (currently logged user domain).
Also when I write new email and type recipient I get autocomplete with all users from all virtual mail domains.

Can You help me accomplish this? Is it even possible?

Thank you in advance for any help you can provide
Title: Re: Zentyal 4 GAL (shared address book, recipient autocomplete) problem
Post by: ivanv on December 29, 2014, 09:21:45 am
bump
Title: Re: Zentyal 4 GAL (shared address book, recipient autocomplete) problem
Post by: jbahillo on January 02, 2015, 08:07:51 pm
If you create a custom stub of file https://github.com/Zentyal/zentyal/blob/master/main/openchange/stubs/sogo.conf.mas#L93-L125 adding the corresponding ldap filter, you should be able to do so. Nevertheless I do not have sure which kind of variable you could use to represent the current user vdomain
Title: Re: Zentyal 4 GAL (shared address book, recipient autocomplete) problem
Post by: ivanv on January 07, 2015, 12:23:25 pm
I don't know either which kind of variable I could use to represent the current user virtual domain. Maybe that kind of filter isn't implemented yet.
Title: Re: Zentyal 4 GAL (shared address book, recipient autocomplete) problem
Post by: ivanv on July 08, 2015, 09:53:27 am
Does anyone know if this problem is solved in 4.1 version?
Title: Re: Zentyal 4 GAL (shared address book, recipient autocomplete) problem
Post by: KevinZentyal on July 15, 2015, 08:15:47 pm
Is there a Solution to this problem. I need the same thing..This obstackle is the only one stopping me from dropping MS :) and start using Zentyal.
Title: Re: Zentyal 4 GAL (shared address book, recipient autocomplete) problem
Post by: ivanv on October 12, 2015, 01:09:57 pm
bump
Title: Re: Zentyal 4 GAL (shared address book, recipient autocomplete) problem
Post by: ivanv on November 20, 2015, 02:44:36 pm
Is there any solution for this problem? What about new version?
Title: Re: Zentyal 4 GAL (shared address book, recipient autocomplete) problem
Post by: ivanv on December 09, 2015, 09:57:28 am
bump
Title: Re: Zentyal 4 GAL (shared address book, recipient autocomplete) problem
Post by: Gabriel GHEORGHIU on December 18, 2015, 08:16:05 am
Hi ivanv,

I think that is not possible. Zentyal is not made to be a true multidomain emailserver (true separate domains).

I use Zentyal for multidomain email server and I have the same problem. How I partial solved (disable shared Adressbook and Contacts):

Edit "sogo.conf.mas":

nano /usr/share/zentyal/stubs/openchange/sogo.conf.mas

Here, modify in "/* LDAP authentication */" from YES to NO, like here:

1. For ADRESSBOOK:

id = sambaShared;
            displayName = "Shared Addressbook";
            canAuthenticate = NO;
            isAddressBook = NO;

2. For CONTACTS:

 id = sambaContacts;
            displayName = "Shared Contacts";
            canAuthenticate = NO;
            isAddressBook = NO;

After modifications, you must restart the service or the entire system.

Unfortunately, I don't know how to do this to be permanent (I understand that can be copied "sogo.conf.mas" in a special location and the modifications will be permanent, but ...).

If there are updates/upgrades for SOGO or Openchange, after they are applied, you must modify again sogo.conf.mas

Kind regards,
Gabriel
Title: Re: Zentyal 4 GAL (shared address book, recipient autocomplete) problem
Post by: jbahillo on December 18, 2015, 11:00:51 am
You may read the doc on custom stubs on the appendix B on doc.zentyal.org regarding making those changes deffinitive
Title: Re: Zentyal 4 GAL (shared address book, recipient autocomplete) problem
Post by: Gabriel GHEORGHIU on December 18, 2015, 11:46:53 am
Hi jbahillo,

Thank you.
I will read and I hope to be able to do this. I'm noobie on Linux.

BR
Gabriel
Title: Re: Zentyal 4 GAL (shared address book, recipient autocomplete) problem
Post by: Gabriel GHEORGHIU on December 18, 2015, 05:54:24 pm
You may read the doc on custom stubs on the appendix B on doc.zentyal.org regarding making those changes deffinitive

Thank you!

I followed the example from Appendix B on doc.zentyal.org regarding stubs and I was able to make a custom stub.

I don't have time to check if it works but I'm sure will be ok.

BR
Gabriel
Title: Re: Zentyal 4 GAL (shared address book, recipient autocomplete) problem
Post by: Gabriel GHEORGHIU on December 18, 2015, 06:45:04 pm
You may read the doc on custom stubs on the appendix B on doc.zentyal.org regarding making those changes deffinitive

Thank you!

I followed the example from Appendix B on doc.zentyal.org regarding stubs and I was able to make a custom stub.

I don't have time to check if it works but I'm sure will be ok.

BR
Gabriel

It works!

(Zentyal 4.2 as multidomain email server)

BR
Gabriel