Author Topic: Zentyal 4 GAL (shared address book, recipient autocomplete) problem  (Read 2419 times)

ivanv

  • Zen Apprentice
  • *
  • Posts: 7
  • Karma: +0/-0
    • View Profile
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
« Last Edit: December 04, 2014, 11:47:23 am by ivanv »

ivanv

  • Zen Apprentice
  • *
  • Posts: 7
  • Karma: +0/-0
    • View Profile
Re: Zentyal 4 GAL (shared address book, recipient autocomplete) problem
« Reply #1 on: December 29, 2014, 09:21:45 am »
bump

jbahillo

  • Zentyal Staff
  • Zen Hero
  • *****
  • Posts: 1444
  • Karma: +77/-2
    • View Profile
Re: Zentyal 4 GAL (shared address book, recipient autocomplete) problem
« Reply #2 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

ivanv

  • Zen Apprentice
  • *
  • Posts: 7
  • Karma: +0/-0
    • View Profile
Re: Zentyal 4 GAL (shared address book, recipient autocomplete) problem
« Reply #3 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.

ivanv

  • Zen Apprentice
  • *
  • Posts: 7
  • Karma: +0/-0
    • View Profile
Re: Zentyal 4 GAL (shared address book, recipient autocomplete) problem
« Reply #4 on: July 08, 2015, 09:53:27 am »
Does anyone know if this problem is solved in 4.1 version?

KevinZentyal

  • Zen Apprentice
  • *
  • Posts: 1
  • Karma: +0/-0
    • View Profile
Re: Zentyal 4 GAL (shared address book, recipient autocomplete) problem
« Reply #5 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.

ivanv

  • Zen Apprentice
  • *
  • Posts: 7
  • Karma: +0/-0
    • View Profile
Re: Zentyal 4 GAL (shared address book, recipient autocomplete) problem
« Reply #6 on: October 12, 2015, 01:09:57 pm »
bump

ivanv

  • Zen Apprentice
  • *
  • Posts: 7
  • Karma: +0/-0
    • View Profile
Re: Zentyal 4 GAL (shared address book, recipient autocomplete) problem
« Reply #7 on: November 20, 2015, 02:44:36 pm »
Is there any solution for this problem? What about new version?

ivanv

  • Zen Apprentice
  • *
  • Posts: 7
  • Karma: +0/-0
    • View Profile
Re: Zentyal 4 GAL (shared address book, recipient autocomplete) problem
« Reply #8 on: December 09, 2015, 09:57:28 am »
bump

Gabriel GHEORGHIU

  • Zen Apprentice
  • *
  • Posts: 18
  • Karma: +0/-0
    • View Profile
Re: Zentyal 4 GAL (shared address book, recipient autocomplete) problem
« Reply #9 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

jbahillo

  • Zentyal Staff
  • Zen Hero
  • *****
  • Posts: 1444
  • Karma: +77/-2
    • View Profile
Re: Zentyal 4 GAL (shared address book, recipient autocomplete) problem
« Reply #10 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

Gabriel GHEORGHIU

  • Zen Apprentice
  • *
  • Posts: 18
  • Karma: +0/-0
    • View Profile
Re: Zentyal 4 GAL (shared address book, recipient autocomplete) problem
« Reply #11 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

Gabriel GHEORGHIU

  • Zen Apprentice
  • *
  • Posts: 18
  • Karma: +0/-0
    • View Profile
Re: Zentyal 4 GAL (shared address book, recipient autocomplete) problem
« Reply #12 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

Gabriel GHEORGHIU

  • Zen Apprentice
  • *
  • Posts: 18
  • Karma: +0/-0
    • View Profile
Re: Zentyal 4 GAL (shared address book, recipient autocomplete) problem
« Reply #13 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
« Last Edit: December 18, 2015, 06:50:54 pm by Gabriel GHEORGHIU »