Re: [SOGo] Installing on Debian from source

2016-01-07 Thread Martin LEUSCH

Hi,

It's look like your system use systemd.
Try to reload daemon from systemctl:

   #  systemctl|daemon-reload
   |

Then try to start service from systemd:

   #  systemctl start sogo

Take a look on 
https://wiki.debian.org/systemd#Managing_services_with_systemd for 
common usage of systemd.


   ||

Martin Leusch

Le 06/01/2016 22:40, Pidcam a écrit :

Dear all,

I'm trying to install SOGo on Debian (armbian) on a armhf processor. 
But I cannot find a package. Therefore I try to install from source.


So I successfully compiled SOGo by

cd /tmp/SOPE
./configure --with-gnustep --enable-debug --disable-strip
make
make install

cd /tmp/SOGo
./configure --enable-debug --disable-strip
make
make install

Then I copied the sogo.init to /etc/init.d/sogo

But when I start I get

Unit sogo.service failed to load: No such file or directory.

Is this the right way to install? Or do I have to make a .deb package 
and how can I make it?


I see a lot of files in packaging but I don't know how to used it.


--
users@sogo.nu
https://inverse.ca/sogo/lists

[SOGo] Configure mailboxes quotas with Samba

2016-06-10 Thread Martin LEUSCH

Hi,

Is there a way to configure mailboxes quotas per user with 
SOGo+OpenChange+Samba server?


I tried to chose randomly an user attribute like "description" on samba 
to configure the quota in dovecot trough LDAP. It working correctly with 
IMAP but the quota information are not shown in Outlook with Exchange.


Is OpenChange does support mailboxes quotas?

--
Martin Leusch
Service Technique IMEREOS
sce.t...@imereos.fr
tel.: 05 63 71 78 79 / mob.: 07 83 20 63 72

--
users@sogo.nu
https://inverse.ca/sogo/lists


Re: [SOGo] Set SOGoSieveFilters with sogo-tool

2016-06-21 Thread Martin LEUSCH

I have same error when I try to use "sogo-tool restore -l  ".
I report this bug as 3741. <https://sogo.nu/bugs/view.php?id=3741>

Le 20/06/2016 18:50, Martin LEUSCH (sce.t...@imereos.fr) a écrit :

Hi,

I'm trying to copy the SOGoSieveFilters parameter from a SOGo server 
to an other but I've got an error when I try to set this parameter:


2016-06-20 18:36:31.152 sogo-tool[11351] File NSPropertyList.m:
995. In parsePlItem Missing semicolon in dictionary at line 66
char 2552
2016-06-20 18:36:31.154 sogo-tool[11351] File NSPropertyList.m:
995. In parsePlItem Missing semicolon in dictionary at line 67
char 2560
<0x0xf5bd80[SOGoCache]> Cache cleanup interval set every
300.00 seconds
<0x0xf5bd80[SOGoCache]> Using host(s) '127.0.0.1' as server(s)
2016-06-20 18:36:31.287 sogo-tool[11351] To update Sieve scripts,
you must provide the "-p credentialFile" parameter
2016-06-20 18:36:31.287 sogo-tool[11351] Error updating sieve
script, not updating database

I tried different value for this parameter and always get exactly the 
same error:


sogo-tool user-preferences set defaults martin.leusch
SOGoSieveFilters '{
>   "SOGoSieveFilters": [
> {
>   "actions": [
> {
>   "argument": "INBOX/IMR/Technique/Mises a jour",
>   "method": "fileinto"
> }
>   ],
>   "active": 1,
>   "match": "any",
>   "name": "CRON-APT",
>   "rules": [
> {
>   "field": "subject",
>   "operator": "contains",
>   "value": "CRON-APT completed"
> }
>   ]
> }]
> }'

or

sogo-tool user-preferences set defaults martin.leusch
SOGoSieveFilters '{"SOGoSieveFilters": []}'

Any idea?
--
Martin Leusch
Service Technique IMEREOS
sce.t...@imereos.fr
tel.: 05 63 71 78 79 / mob.: 07 83 20 63 72
--
users@sogo.nu
https://inverse.ca/sogo/lists


--
users@sogo.nu
https://inverse.ca/sogo/lists

Re: [SOGo] Set SOGoSieveFilters with sogo-tool

2016-06-21 Thread Martin LEUSCH

Hi,

I've exactly the  same error when I run this command as sogo user with 
"sogo-tool user-preferences ..." or "sogo-tool restore ...".



Le 21/06/2016 10:15, Christian Mack (christian.m...@uni-konstanz.de) a 
écrit :

Am 20.06.2016 um 18:50 schrieb Martin LEUSCH (sce.t...@imereos.fr):

Hi,

I'm trying to copy the SOGoSieveFilters parameter from a SOGo server to
an other but I've got an error when I try to set this parameter:

2016-06-20 18:36:31.152 sogo-tool[11351] File NSPropertyList.m: 995.
In parsePlItem Missing semicolon in dictionary at line 66 char 2552
2016-06-20 18:36:31.154 sogo-tool[11351] File NSPropertyList.m: 995.
In parsePlItem Missing semicolon in dictionary at line 67 char 2560
<0x0xf5bd80[SOGoCache]> Cache cleanup interval set every 300.00
seconds
<0x0xf5bd80[SOGoCache]> Using host(s) '127.0.0.1' as server(s)
2016-06-20 18:36:31.287 sogo-tool[11351] To update Sieve scripts,
you must provide the "-p credentialFile" parameter
2016-06-20 18:36:31.287 sogo-tool[11351] Error updating sieve
script, not updating database

I tried different value for this parameter and always get exactly the
same error:

sogo-tool user-preferences set defaults martin.leusch
SOGoSieveFilters '{
 >   "SOGoSieveFilters": [
 > {
 >   "actions": [
 > {
 >   "argument": "INBOX/IMR/Technique/Mises a jour",
 >   "method": "fileinto"
 > }
 >   ],
 >   "active": 1,
 >   "match": "any",
 >   "name": "CRON-APT",
 >   "rules": [
 > {
 >   "field": "subject",
 >   "operator": "contains",
 >   "value": "CRON-APT completed"
 > }
 >   ]
 > }]
 > }'

or

sogo-tool user-preferences set defaults martin.leusch
SOGoSieveFilters '{"SOGoSieveFilters": []}'

Any idea?


Did you execute sogo-tool as user sogo?
As your sieve filter rule does not have 66 lines, it perhaps stumbles on
something in your sogo.conf.


Kind regards,
Christian Mack



--
users@sogo.nu
https://inverse.ca/sogo/lists


Re: [SOGo] Set SOGoSieveFilters with sogo-tool

2016-06-21 Thread Martin LEUSCH

I had effectively some errors in my sogo.conf, problem solved.

Martin Leusch
Service Technique IMEREOS
sce.t...@imereos.fr

Le 21/06/2016 10:15, Christian Mack (christian.m...@uni-konstanz.de) a 
écrit :

As your sieve filter rule does not have 66 lines, it perhaps stumbles on
something in your sogo.conf.


--
users@sogo.nu
https://inverse.ca/sogo/lists


Re: [SOGo] Migrate to combined database schema

2016-06-20 Thread Martin LEUSCH

Thanks, it's working fine now.

Martin Leusch
Service Technique IMEREOS
sce.t...@imereos.fr

Le 17/06/2016 17:37, Ludovic Marcotte (lmarco...@inverse.ca) a écrit :


On 2016-06-17 11:31 AM, Martin LEUSCH (sce.t...@imereos.fr) wrote:

///OCSCacheURL = 
"mysql://openchange:///xxx/@127.0.0.1:3306/openchange/sogo_cache_folder";//

/


That one doesn't exist - it should be OCSCacheFolderURL.
--
Ludovic Marcotte
lmarco...@inverse.ca   ::  +1.514.755.3630  ::http://inverse.ca
Inverse inc. :: Leaders behind SOGo (http://sogo.nu), PacketFence 
(http://packetfence.org) and Fingerbank (http://fingerbank.org)
--
users@sogo.nu
https://inverse.ca/sogo/lists


--
users@sogo.nu
https://inverse.ca/sogo/lists

[SOGo] Set SOGoSieveFilters with sogo-tool

2016-06-20 Thread Martin LEUSCH

Hi,

I'm trying to copy the SOGoSieveFilters parameter from a SOGo server to 
an other but I've got an error when I try to set this parameter:


   2016-06-20 18:36:31.152 sogo-tool[11351] File NSPropertyList.m: 995.
   In parsePlItem Missing semicolon in dictionary at line 66 char 2552
   2016-06-20 18:36:31.154 sogo-tool[11351] File NSPropertyList.m: 995.
   In parsePlItem Missing semicolon in dictionary at line 67 char 2560
   <0x0xf5bd80[SOGoCache]> Cache cleanup interval set every 300.00
   seconds
   <0x0xf5bd80[SOGoCache]> Using host(s) '127.0.0.1' as server(s)
   2016-06-20 18:36:31.287 sogo-tool[11351] To update Sieve scripts,
   you must provide the "-p credentialFile" parameter
   2016-06-20 18:36:31.287 sogo-tool[11351] Error updating sieve
   script, not updating database

I tried different value for this parameter and always get exactly the 
same error:


   sogo-tool user-preferences set defaults martin.leusch
   SOGoSieveFilters '{
>   "SOGoSieveFilters": [
> {
>   "actions": [
> {
>   "argument": "INBOX/IMR/Technique/Mises a jour",
>   "method": "fileinto"
> }
>   ],
>   "active": 1,
>   "match": "any",
>   "name": "CRON-APT",
>   "rules": [
> {
>   "field": "subject",
>   "operator": "contains",
>   "value": "CRON-APT completed"
> }
>   ]
> }]
> }'

   or

   sogo-tool user-preferences set defaults martin.leusch
   SOGoSieveFilters '{"SOGoSieveFilters": []}'

Any idea?

--
Martin Leusch
Service Technique IMEREOS
sce.t...@imereos.fr
tel.: 05 63 71 78 79 / mob.: 07 83 20 63 72

--
users@sogo.nu
https://inverse.ca/sogo/lists

[SOGo] Migrate to combined database schema

2016-06-17 Thread Martin LEUSCH

Hi,

I used the script sql-update-3.0.0-to-combined-mysql.sh to migrate to 
the new database schema.

Since, the calendars and addresses book are unusable. I've errors like this:

   /Jun 17 16:35:42 sogod [8891]:
   [ERROR]<0x7f1f925bd890[SOGoAppointmentFolder]:4832-57455A00-1-356FEC40>
   (-[SOGoAppointmentFolder
   
fetchFields:from:to:title:comp//onent:additionalFilters:includeProtectedInformation:]):
   missing folder for fetch!
   /

Now I have these databases settings in sogo.conf:

   /SOGoProfileURL =
   "mysql://openchange:xxx@localhost/openchange/sogo_user_profile";//
   //OCSFolderInfoURL =
   "mysql://openchange:///xxx/@localhost/openchange/sogo_folder_info";//
   //OCSCacheURL =
   
"mysql://openchange:///xxx/@127.0.0.1:3306/openchange/sogo_cache_folder";//
   //OCSStoreURL =
   "mysql://openchange:///xxx/@127.0.0.1:3306/openchange/sogo_store";//
   //OCSAclURL =
   "mysql://openchange:///xxx/@127.0.0.1:3306/openchange/sogo_acl";//
   //OCSSessionsFolderURL =
   
"mysql://openchange:///xxx/@localhost/openchange/sogo_sessions_folder";
   /

I followed steps describe here 
<https://lists.inverse.ca/sogo/arc/users/2016-05/msg00276.html> in this 
mailing list. I had to make some adjustments, the script can't parse my 
sogo.conf file (may be because I have some special chars in my mysql 
password).


Which database URL I supposed to have in sogo.conf and which tables I 
supposed to have in my database?


The server is in testing for now so I don't care about user data but it 
will be in production soon.


--
Martin Leusch
sce.t...@imereos.fr

--
users@sogo.nu
https://inverse.ca/sogo/lists

[SOGo] INBOX empty in Outlook with OpenChange

2016-04-19 Thread Martin LEUSCH

Hi,

I'm trying to configure a SOGo server with Samba and Openchange support.
All working great except mail synchronization between Openchange's 
folders and Dovecot's folders.
In Outlook, INBOX is empty but there are some emails (I can see emails 
from the web interface, IMAP or Activsync) and I can see emails sent 
from Outlook in Sent folder in Outlook but not from others sources.
There is no error reported by Outlook and logs for Apache (for rpcproxy) 
or Samba (for MAPI) seems OK.

Every things else work great.

Any ideas?

--
Martin Leusch
Service Technique IMEREOS
sce.t...@imereos.fr

--
users@sogo.nu
https://inverse.ca/sogo/lists


Re: [SOGo] INBOX empty in Outlook with OpenChange

2016-04-19 Thread Martin LEUSCH
Thanks, I allow connection without password from localhost in dovecot 
and it's work now.


Martin Leusch
Service Technique IMEREOS
sce.t...@imereos.fr

Le 19/04/2016 16:48, "Qmail" (qm...@top-consulting.net) a écrit :
Did you allow your dovecot to accept any password from the openchange 
server ?


This is crucial because openchange/samba doesn't have the user's 
password so you must allow that IP to login directly.




On Tue, Apr 19, 2016 at 10:16 AM, Martin LEUSCH <users@sogo.nu> wrote:

Hi,

I'm trying to configure a SOGo server with Samba and Openchange
support.
All working great except mail synchronization between Openchange's
folders and Dovecot's folders.
In Outlook, INBOX is empty but there are some emails (I can see
emails
from the web interface, IMAP or Activsync) and I can see emails sent
from Outlook in Sent folder in Outlook but not from others sources.
There is no error reported by Outlook and logs for Apache (for
rpcproxy)
or Samba (for MAPI) seems OK.
Every things else work great.

Any ideas?

    -- 
    Martin Leusch

Service Technique IMEREOS
sce.t...@imereos.fr <mailto:sce.t...@imereos.fr>

-- 
users@sogo.nu <mailto:users@sogo.nu>

https://inverse.ca/sogo/lists

--
users@sogo.nu
https://inverse.ca/sogo/lists


--
users@sogo.nu
https://inverse.ca/sogo/lists

Re: [SOGo] INBOX empty in Outlook with OpenChange

2016-04-20 Thread Martin LEUSCH

I just had to restart samba to get it working after fix dovecot.

Le 19/04/2016 23:12, "Qmail" (qm...@top-consulting.net) a écrit :

Great!

Another strange behavior we noticed which might be helpful to others...

If you start sogod and your dovecot doesn't accept authentication from 
the sogo machine ip, sogo won't attempt a second time! This means that 
even if you fix dovecot, it still won't work unless you restart sogod.


Took me a few days to figure this one out.


On Tue, Apr 19, 2016 at 12:27 PM, Martin LEUSCH <users@sogo.nu> wrote:

Thanks, I allow connection without password from localhost in
dovecot and it's work now.

    Martin Leusch
Service Technique IMEREOS
sce.t...@imereos.fr <mailto:sce.t...@imereos.fr>

Le 19/04/2016 16:48, "Qmail" (qm...@top-consulting.net
<mailto:qm...@top-consulting.net>) a écrit :

Did you allow your dovecot to accept any password from the
openchange server ?

This is crucial because openchange/samba doesn't have the user's
password so you must allow that IP to login directly.



On Tue, Apr 19, 2016 at 10:16 AM, Martin LEUSCH <users@sogo.nu>
<mailto:users@sogo.nu> wrote:

Hi,

I'm trying to configure a SOGo server with Samba and
Openchange support.
All working great except mail synchronization between
Openchange's
folders and Dovecot's folders.
In Outlook, INBOX is empty but there are some emails (I can
see emails
from the web interface, IMAP or Activsync) and I can see
emails sent
from Outlook in Sent folder in Outlook but not from others
sources.
There is no error reported by Outlook and logs for Apache
(for rpcproxy)
or Samba (for MAPI) seems OK.
Every things else work great.

    Any ideas?

-- 
Martin Leusch

Service Technique IMEREOS
sce.t...@imereos.fr <mailto:sce.t...@imereos.fr>

-- 
users@sogo.nu <mailto:users@sogo.nu>

https://inverse.ca/sogo/lists

-- 
users@sogo.nu <mailto:users@sogo.nu>

https://inverse.ca/sogo/lists


-- 
users@sogo.nu <mailto:users@sogo.nu>

https://inverse.ca/sogo/lists

--
users@sogo.nu
https://inverse.ca/sogo/lists


--
users@sogo.nu
https://inverse.ca/sogo/lists

[SOGo] Shared folders in Outlook

2016-04-21 Thread Martin LEUSCH

Hi,

I'm configuring server with SOGo, Samba and OpenChange.
When I share a folder in SOGo interface with an other user, the shared 
folder not appear in Outlook (with Exchange protocol).

I try to subscribe to shared folders in IMAP but it changes nothing.
Inversely, when I share in Outlook, the folder appear in the SOGo interface.

Is there a way to access shared folders in Outlook?

--
users@sogo.nu
https://inverse.ca/sogo/lists


Re: [SOGo] Samba conflict on Debian Jessie

2016-07-13 Thread Martin LEUSCH
I successfully build samba 4.3.9 and openchange 2.4-zentyall22 but I 
have an error when I try to build sogo-openchange.
Can I only build only sogo-openchange or I have to build all SOGo 
project to build the openchange part?


There the error I get:

 Linking bundle SOGoBackend ...
   /usr/bin/ld: ne peut trouver -lSOGo
   collect2: error: ld returned 1 exit status
   /usr/share/GNUstep/Makefiles/Instance/bundle.make:205: recipe for
   target 'SOGoBackend.MAPIStore/./SOGoBackend' failed
   make[3]: *** [SOGoBackend.MAPIStore/./SOGoBackend] Error 1
   /usr/share/GNUstep/Makefiles/Instance/bundle.make:193: recipe for
   target 'internal-bundle-run-compile-submake' failed
   make[2]: *** [internal-bundle-run-compile-submake] Error 2
   /usr/share/GNUstep/Makefiles/Master/rules.make:298: recipe for
   target 'SOGoBackend.all.bundle.variables' failed
   make[1]: *** [SOGoBackend.all.bundle.variables] Error 2
   /usr/share/GNUstep/Makefiles/Master/bundle.make:37: recipe for
   target 'internal-all' failed
   make: *** [internal-all] Error 2


Le 11/07/2016 17:16, Patrice Levesque (pleves...@inverse.ca) a écrit :

But of course nothing prevents you from compiling and installing
Samba 4.4 out-of-band on Jessie, then compiling and installing
SOGo/OpenChange yourself.


--
users@sogo.nu
https://inverse.ca/sogo/lists

Re: [SOGo] Samba conflict on Debian Jessie

2016-07-11 Thread Martin LEUSCH
What is the best way to have the SOGo / Samba / OpenChange environment 
working on Debian Jessie?


Why there is no sogo-openchange package with sogo 3.1.3? Is SOGo still 
working with OpenChange?


Le 11/07/2016 16:11, Patrice Levesque (pleves...@inverse.ca) a écrit :

Is openchange working well with the Jessie samba packages 4.2.10 ?

Current OpenChange only works with Samba 4.4.x.

Older OpenChange worked with Samba 4.1.x. (and both are now EOL'ed).





--
users@sogo.nu
https://inverse.ca/sogo/lists


Re: [SOGo] Samba conflict on Debian Jessie

2016-07-11 Thread Martin LEUSCH

Which sources of Openchange must be used, last stable (2.3) or current git?

Le 11/07/2016 17:16, Patrice Levesque (pleves...@inverse.ca) a écrit :

What is the best way to have the SOGo / Samba / OpenChange environment
working on Debian Jessie?

Compilation; see below.



Why there is no sogo-openchange package with sogo 3.1.3? Is SOGo still
working with OpenChange?

SOGo still works with OpenChange when hooked to Samba 4.4.  Of all the
distributions Inverse currently supports (Debian, Ubuntu, RHEL), only
Ubuntu Xenial ships with Samba 4.4.

But of course nothing prevents you from compiling and installing
Samba 4.4 out-of-band on Jessie, then compiling and installing
SOGo/OpenChange yourself.





--
users@sogo.nu
https://inverse.ca/sogo/lists


Re: [SOGo] Samba conflict on Debian Jessie

2016-06-30 Thread Martin LEUSCH
I solved this conflict by manually install the previous version 
(2:1.1.17-2+deb8u1) of libldb1 and python-ldb downloaded from 
snapshot.debian.org. 
<http://snapshot.debian.org/package/ldb/2%3A1.1.17-2%2Bdeb8u1/>


Le 30/06/2016 11:32, Martin LEUSCH (sce.t...@imereos.fr) a écrit :

Hi,

I'm trying to install SOGo and Samba on a fresh install of Debian 
Jessie but I have a conflict when I try to install samba from the 
Inverse SOGo v3 repository.
The Inverse package samba-libs depend of libldb1 < 2:1.1.18 but there 
is only 2:1.1.20 in Jessie repository.

How can I solve this?

Thanks.


--
users@sogo.nu
https://inverse.ca/sogo/lists

[SOGo] Samba conflict on Debian Jessie

2016-06-30 Thread Martin LEUSCH

Hi,

I'm trying to install SOGo and Samba on a fresh install of Debian Jessie 
but I have a conflict when I try to install samba from the Inverse SOGo 
v3 repository.
The Inverse package samba-libs depend of libldb1 < 2:1.1.18 but there is 
only 2:1.1.20 in Jessie repository.

How can I solve this?

Thanks.
--
users@sogo.nu
https://inverse.ca/sogo/lists


Re: [SOGo] Samba conflict on Debian Jessie

2016-06-30 Thread Martin LEUSCH

Is openchange working well with the Jessie samba packages 4.2.10 ?

Le 30/06/2016 16:05, Patrice Levesque (pleves...@inverse.ca) a écrit :

I'm trying to install SOGo and Samba on a fresh install of Debian
Jessie but I have a conflict when I try to install samba from the
Inverse SOGo v3 repository.
The Inverse package samba-libs depend of libldb1 < 2:1.1.18 but there
is only 2:1.1.20 in Jessie repository.  How can I solve this?

Jessie samba packages supersede Inverse's (4.2.10 vs. 4.1.18) and very
soon Inverse will stop shipping samba packages for Jessie.

Hence, I suggest you install Jessie's samba packages.





--
users@sogo.nu
https://inverse.ca/sogo/lists


[SOGo] Cannot subscribe to calendar shared to a group

2016-09-15 Thread Martin LEUSCH

Hi,

I have an installation of SOGo V3 working with a Samba directory as 
users source.


I set few group in Samba using the object class "group" and add a new 
users source for groups in SOGo. Then I can configure shared calendar to 
groups from a super user account but I cannot to calendar shared to a 
group, they are not listed in subscribe dialog. However if I set minimal 
right by default to see all calendar, I can subscribe to it and I get 
the right defined for the group previously and still access to it when I 
disable the default conf. I can also add manually the calendar in the 
user profile in MySQL.


Is it a bug or I missed something in my configuration?

--
users@sogo.nu
https://inverse.ca/sogo/lists


Re: [SOGo] Open-change question

2016-09-19 Thread Martin LEUSCH

Hi,

For your sieve problem, by default the sieve server of Dovecot accept 
connection only from the localhost, you have modify Dovecot 
configuration on your external server.


MAPIStore is not trusted by your external IMAP server, to access to IMAP 
accounts of your users, you can add a file with your users password to 
MAPIStore. (see SOGo documention here 
 
and here 
).



Le 17/09/2016 à 10:29, Madars Vitolins (madars.vitol...@gmail.com) a écrit :

Any news?

On 2016.09.15. 13:50, Madars Vitolins wrote:

Hi Guys,


I have installed ZEG virtual machine image and try to reconfigure it 
to use my existing - external STMP/IMAP server. All went ok, the SOGo 
web login does see my imap and see the e-mails in, but problem is 
with OpenChange/MAPI/Outlook. It does logon to account, but it seems 
that it sees the maildir of the ZEG server and not my external IMAP.


1. Can you explain where are OpenChange/MAPIStore object settings, 
how does OpenChange transfer e-mail to Outlook, in to what IP 
address/what folder it looks for settings?



So basically I have changes settings in: /etc/sogo/sogo.conf 
(SOGoIMAPServer, SOGoSieveServer, SOGoSMTPServer). Do I miss anything 
else?



2. Is the sieve critical at this point, does it somehow participates 
in mail delivery to MAPIStore? Because I still debugging Sieve 
support on my existing external IMAP (Dovecot) server.


Sogo version 3.1 used.

Thanks a lot in advance,
Madars







--
users@sogo.nu
https://inverse.ca/sogo/lists

Re: [SOGo] Cannot subscribe to calendar shared to a group

2016-09-20 Thread Martin LEUSCH

How can I get calendar ACL working well with samba group?

Here is part of my sogo configuration:

{
id = directory;
displayName = "myDomain";
canAuthenticate = YES;
type = ldap;
CNFieldName = cn;
IDFieldName = sAMAccountName;
UIDFieldName = sAMAccountName;
MailFieldNames = (mail, otherMailbox);
baseDN = "dc=myDomain,dc=fr";
bindDN = "cn=ldap,cn=Users,dc=myDomain,dc=fr";
bindFields = (sAMAccountName, userPrincipalName);
bindPassword = "myLdapPassword";
hostname = ldap://127.0.0.1:389;
filter = "((mail=\'*\') AND (objectClass=person))";
  },
 {
id = myDomain_groups;
displayName = "Groupes d'utilisateurs";
canAuthenticate = YES;
type = ldap;
CNFieldName = cn;
IDFieldName = sAMAccountName;
UIDFieldName = sAMAccountName;
baseDN = "dc=myDomain,dc=fr";
bindDN = "cn=ldap,cn=Users,dc=myDomain,dc=fr";
bindPassword = "myLdapPassword";
hostname = ldap://127.0.0.1:389;
filter = "((mail=\'*\') AND (objectClass=group))";
  }

My groups defined in samba look like:

   dn: CN=Group1,CN=Users,DC=myDomain,DC=fr
   objectClass: group
   objectClass: securityPrincipal
   objectClass: mailRecipient
   objectClass: top
   cn: Group1
   groupType: -2147483646
   instanceType: 4
   objectCategory: CN=Group,CN=Schema,CN=Configuration,DC=myDomain,DC=fr
   objectSid:: AQUAAAUVIraSP7NOvHzVEyPvXQQAAA==
   sAMAccountName: Group1
   distinguishedName: CN=Group1,CN=Users,DC=myDomain,DC=fr
   mail: gro...@mydomain.fr
   member: CN=User1,CN=Users,DC=myDomain,DC=fr
   member: CN=User2,CN=Users,DC=myDomain,DC=fr
   member: CN=User3,CN=Users,DC=myDomain,DC=fr
   name: Group1
   objectGUID:: ATTfk6r5qUS4xT/ZNEodBg==
   sAMAccountType: 268435456
   uSNChanged: 5251
   uSNCreated: 5251
   whenChanged: 20160915124953.0Z
   whenCreated: 20160915124953.0Z

I can share calendar to a group without problem but cannot subscribe to 
the shared calendar with an user in this group from the GUI.


If I add manually the calendar in the user profile in the data base I 
can see the shared calendar but if I modify something from the GUI like 
ACL for all authenticated users the calendar is not subscribed anymore.


Someone could help me with this issue?

Thanks.


Le 15/09/2016 à 18:02, Martin LEUSCH (sce.t...@imereos.fr) a écrit :

Hi,

I have an installation of SOGo V3 working with a Samba directory as 
users source.


I set few group in Samba using the object class "group" and add a new 
users source for groups in SOGo. Then I can configure shared calendar 
to groups from a super user account but I cannot to calendar shared to 
a group, they are not listed in subscribe dialog. However if I set 
minimal right by default to see all calendar, I can subscribe to it 
and I get the right defined for the group previously and still access 
to it when I disable the default conf. I can also add manually the 
calendar in the user profile in MySQL.


Is it a bug or I missed something in my configuration?



--
users@sogo.nu
https://inverse.ca/sogo/lists

Re: [SOGo] Flush OpenChange data

2016-09-27 Thread Martin LEUSCH

It worked perfectly.

Thanks.

Le 27/09/2016 à 15:21, Ludovic Marcotte (lmarco...@inverse.ca) a écrit :
How can I remove all OpenChange data from Samba and database? 


First try with openchange_user_cleanup + create a new Outlook profile.


--
users@sogo.nu
https://inverse.ca/sogo/lists

[SOGo] Flush OpenChange data

2016-09-27 Thread Martin LEUSCH

Hi,

After some modification in my SOGo configurations, the synchronization 
with exchange client doesn't work anymore. So I wan to try to 
reprovision OpenChange data and recreate user.


How can I remove all OpenChange data from Samba and database?

Thanks,

--
Martin Leusch

--
users@sogo.nu
https://inverse.ca/sogo/lists


[SOGo] Shared calendar with Openchange on Outlook

2016-10-03 Thread Martin LEUSCH

Hi,

I have a SOGo server with samba and Openchange.

I can configure accounts on Outlook (2007 or 2010) clients without 
problem but I cannot access to calendars shared by users who have 
configured their account on Outlook.


I ran SOGo on Debian Jessie with self compiled Samba 4.3.8, Openchange 
2.4-zentyal22 and SOGo 3.1.5.


I not have this problem with old inverse's packages Samba 4.1.18, 
Openchange 2.4-zentyal18 and SOGo 3.1.2.


Anyone else have this problem?

Is shared calendar is working fine on Outlook with inverse's packages on 
Ubuntu Xenial?


Thanks,

--
Martin Leusch

--
users@sogo.nu
https://inverse.ca/sogo/lists


[SOGo] Domain migration

2017-09-01 Thread Martin LEUSCH

Hi,

I'm migrating various domains to a new server and after some tests I 
have encountered some issues:


 * When I restore users folders and preferences to the new server with
   sogo-tool, shared folders and ACL (calendar and address books) are
   not restored (from SOGo v2 nightly 2.3.22.20170831-1 to SOGo v3
   nightly 3.2.10.20170706-1 with combined database schema). Is
   sogo-tool can restore shared calendars and address books? Is it
   support restoring from v2 to v3? Is it support restoring from old
   database schema to combined schema?
 * I have an other mail server to migrate with samba using username as
   uid and the new server use full mail address as uid. Is sogo-tool
   can restore user backup with an other username?
 * I try to migrate users mailbox with doveadm (/doveadm backup -N -u
   u...@exemple.com remote:newserver.exemple.com/) but shared IMAP
   folders are not migrated on the new server. How can I migrate shared
   IMAP folders?

Thanks,

Martin

--
users@sogo.nu
https://inverse.ca/sogo/lists

[SOGo] Dedicated EAS instance with SOGo v4

2018-05-09 Thread Martin LEUSCH

Hi,

I'm testing SOGo v4 on Debian Stretch and try to set up a dedicated 
instance for Activesync clients following this how-to 
.


The dedicated instance fail to start with error "/[ERROR] 
<0x0x563aeac3ed80[WOWatchDog]> unable to listen on specified port, check 
that no other process is already using it/". It seems like it doesn't 
get the configuration from 
"/var/lib/sogoeas/GNUstep/Defaults/.GNUstepDefaults" and try to listen 
on the same port as the main instance. The instance is started with the 
sogoeas user take the custom number of worker correctly (from the init 
script /etc/init.d/sogo-eas).


Is there modification in SOGo v4 that could cause this?


--
users@sogo.nu
https://inverse.ca/sogo/lists

Re: [SOGo] Thunderbird Plugin

2018-09-04 Thread Martin LEUSCH

Hi,

I did some test with sogo-integrator and I can confirm the two bugs 
mentioned by Patrick.


I also found that I cannot delete a CalDAV calendar added manually from 
an other source. I found the following error in the console:


An error occurred executing the calendar_delete_calendar_command 
command: [Exception... "[JavaScript Error: "getCalendarManager is not 
defined" {file: 
"chrome://sogo-integrator/content/calendar/calendar-overlay.js" line: 
117}]'[JavaScript Error: "getCalendarManager is not defined" {file: 
"chrome://sogo-integrator/content/calendar/calendar-overlay.js" line: 
117}]' when calling method: [nsIController::doCommand]" nsresult: 
"0x80570021 (NS_ERROR_XPC_JAVASCRIPT_ERROR_WITH_DETAILS)"  location: "JS 
frame :: chrome://global/content/globalOverlay.js :: goDoCommand :: line 
84"  data: yes]


I tried to add the global address book manually, I can sync it as a 
regular address book but I cannot remove it after that.


Martin


Le 04/09/2018 à 05:58, Patrick Ben Koetter (p...@sys4.de) a écrit :

It works for me with TB 60 on arch-linux, except for the SOGo public
(global) adressbook, which doesn't show up in the TB adressbook. (It's
still there in the web interface)
I've subscribed to several calendars, which I hide by default. When I
start TB 60 using sogo-integrator-60.0.0-1b3235cbf1-sogo-demo.xpi and
sogo-connector-60.0.0-e12f7705cf.xpi they are not hidden anymore. Hiding
them and restarting TB yields the same result – they will not be hidden
in my calendar view.

p@rick


--
users@sogo.nu
https://inverse.ca/sogo/lists


Re: [SOGo] Thunderbird with Connector 68.0.x - managing ACLs

2020-02-11 Thread Martin LEUSCH

Hi Markus,

SOGo Connector is only able to manage ACL for calendars and address book.

To manage mail folder ACL there is Imap-ACL-Extension 
(https://addons.thunderbird.net/fr/thunderbird/addon/imap-acl-extension/) 
but this add-on is not yet compatible with Thunderbird 68.


Martin


Le 10/02/2020 à 20:58, Markus Winkler (m...@irmawi.de) a écrit :

Hi all,

I have a general question regarding the SOGo Connector. In the 
documentation I found this:


--- snip ---
Among the supported features of the SOGo Integrator extension, we have :
    Remote administration of folder access control lists (ACL)
--- snip ---

Does that mean, that within Thunderbird I should be able to share some 
of my mail folders with other users?


If yes:

I have installed the new Connector and can, for example, see mail 
folders shared by other users - no problem. Also: I can share my 
calendars with other users, can manage specific access rights for them 
etc. - no problem


But when I click on one of my own mail folders -> properties -> share: 
I can see all _my_ access rights to this folder, among others: 
administer the folder. But _how_ can I do this? I can't see any button 
or something similar for this.


Is the SOGo Connector sufficient for this (and maybe is only missing 
some local or [Dovecot] server side settings)? Or do I need an 
additional TB add-on for this? I hope I didn't only overlook something 
...


It would be nice if somebody could help me.

Thanks and regards,
Markus

P.S.: Sharing the mail folders within the webmail client works without 
any problem.

--
users@sogo.nu
https://inverse.ca/sogo/lists