Hi William, thx for replying !
My OS is Debian buster (10) I installed SOGo with apt packages I’m using dovecot/postfix with mysql backend. I’ve read that we can use SOGo’s conf file to do it : I added ‘SOGoDomainsVisibility = ((domain1.dom, domain2.dom));’ which allows domain1.dom users to be able to search and select users from domain2.dom in SOGo’s webUI and share them a mailbox folder. But That’s not as dynamic as I’d like. I’d like to be able to add entries in a mysql table that would be dynamically read and allowing this for the customer who ask for it. That’s why I wonder if creating some custom scripts is possible or if it will be in future SOGo versions. Gaetan De : users-requ...@sogo.nu <users-requ...@sogo.nu> De la part de William Bowden Envoyé : mardi 13 avril 2021 15:28 À : "Benoît (bpeliss...@lan2net.fr)" <users@sogo.nu> Objet : Re: [SOGo] Multiple domains / mysql backend / visibility Questions How was your server install was it package i.e. iRedmail or did you install each packet yourself? Most of what you want if using dovecot is in that and using ACL’s ( dovecot acl’s) So What OS with version as much as you can give William Bowden | JMRIT Consultants Consultant Engineer | m:07525 645105 | e:will...@jmrit.co.uk <mailto:will...@jmrit.co.uk> On 13 Apr 2021, at 14:11, DEPRÉ Gaëtan - NGServers . com (gde...@ngservers.com <mailto:gde...@ngservers.com> ) <users@sogo.nu <mailto:users@sogo.nu> > wrote: Hi ! Perhaps this question has ever been posted, but I can’t find any clue about it. I’m running SOGo with mysql backend and multiple domains. Is there another way than ‘SOGoDomainsVisibility‘ to allow users from domain1.dom to share resources to users from domain2.dom (for now, when I’m creating shares of a mailbox folder, I can only select users from the domain from which the connected user belongs). The idea would be the possibility to create visibility rules that would populate a mysql table containing the domain (the source) which can be shared/visible to the destination, in example : +----+----------------------+-------------------------+ | id | source | destination | +----+----------------------+-------------------------+ | 1 | <mailto:domain1.dom> domain1.dom | <mailto:comman...@ngservers.com> domain2.dom | +----+----------------------+-------------------------+ This example allow domain2.dom to see/view/select domain1.dom users while sharing a mailbox folder. It would be possible to make a new ‘rule’ where domain1.dom would be able to see domain2.dom users in the following order : +----+----------------------+-------------------------+ | id | source | destination | +----+----------------------+-------------------------+ | 1 | <mailto:domain1.dom> domain2.dom | <mailto:comman...@ngservers.com> domain1.dom | +----+----------------------+-------------------------+ Any clue would be appreciated. This question relates to another question I posted about the possibility to create some custom scripts in some actions (like while creating a delegation rule in SOGo, update some mysql table in postfix’s database to allow domain delegated to send an email from a user belonging to the domain that is delegated to) -> what my smtp server won’t allow without such a rule. Merci d’avance, Regards, Gaetan -- <mailto:users@sogo.nu> users@sogo.nu <https://inverse.ca/sogo/lists> https://inverse.ca/sogo/lists -- users@sogo.nu https://inverse.ca/sogo/lists