[SOGo] Problem when upgrading to 3.2.9

2017-07-04 Thread Jonathan Dumaresq

Hi all,

I have upgraded our sogo to version 3.2.9 this morning and I started 
receiving this king of email


Cron  /usr/sbin/sogo-tool expire-sessions 30; 
/usr/sbin/sogo-ealarms-notify


with this content

<0x0x1248680[SOGoProductLoader]> SOGo products loaded from 
'/usr/lib/GNUstep/SOGo':
<0x0x1248680[SOGoProductLoader]>   MailerUI.SOGo, AdministrationUI.SOGo, 
PreferencesUI.SOGo, MainUI.SOGo, Mailer.SOGo, Appointments.SOGo, ContactsUI.SOGo, 
MailPartViewers.SOGo, Contacts.SOGo, CommonUI.SOGo, SchedulerUI.SOGo, ActiveSync.SOGo

In my log file I got this also

Jul 04 08:53:28 sogod [1651]: [WARN] <0x0x559c8cfd4630[WOWatchDogChild]> pid 
1707 has been hanging in the same request for 3 minutes
Jul 04 08:53:28 sogod [1707]: <0x0x559c8d417360[SOGoActiveSyncDispatcher]> 
Sleeping 30 seconds while detecting changes in Ping...

The PID 1707 if looking like this

1707 /usr/sbin/sogod -WOworkersCount 10

After upgrading SOGO, I have restarted my server to be sure everything is 
restarted.

Any Idea of what  is going on ?

Regards

Jonathan


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

Re: [SOGo] sieve vacation problem ?

2017-04-28 Thread Jonathan Dumaresq

Hi,

This is the error in my log. I don Cache cleanup interval set every 300.00 seconds
<0x0x294cff0[SOGoCache]> Using host(s) '127.0.0.1' as server(s)
<0x0x296fa40[NGLdapConnection]> Using ldap_initialize for LDAP 
URL:ldap://ldap.domain.com:389
2017-04-28 00:00:02.374 sogo-tool[8167] -[NGLdapConnection 
_searchAtBaseDN:qualifier:attributes:scope:]: search at base '' filter 
'(objectClass=*)' for attrs 'subschemaSubentry'
2017-04-28 00:00:02.376 sogo-tool[8167] -[NGLdapConnection 
_searchAtBaseDN:qualifier:attributes:scope:]: search at base 
'CN=Aggregate,CN=Schema,CN=Configuration,DC=domain,DC=domain,DC=com' filter 
'(objectClass=*)' for attrs 'objectclasses'
2017-04-28 00:00:02.403 sogo-tool[8167] -[NGLdapConnection 
_searchAtBaseDN:qualifier:attributes:scope:]: search at base 
'cn=users,dc=domain,DC=domain,DC=com' filter 
'(|(mail=us...@domain.com)(mail=us...@domain.com)(userPrincipalName=us...@domain.com)(displayName=us...@domain.com))'
 for attrs '*'
S[0x2bc7560]: "IMPLEMENTATION" "Dovecot Pigeonhole"
S[0x2bc7560]: "SIEVE" "fileinto reject envelope encoded-character vacation 
subaddress comparator-i;ascii-numeric relational regex imap4flags copy include variables body 
enotify environment mailbox date index ihave duplicate mime foreverypart extracttext"
S[0x2bc7560]: "NOTIFY" "mailto"
S[0x2bc7560]: "SASL" "PLAIN LOGIN"
S[0x2bc7560]: "STARTTLS"
S[0x2bc7560]: "VERSION" "1.0"
S[0x2bc7560]: OK "Dovecot ready."
C: AUTHENTICATE "PLAIN" {%d+}
LOGIN:PASSWORD

S[0x2bc7560]: OK "Logged in."
C: SETACTIVE ""
S[0x2bc7560]: OK "No scripts currently active."
C: DELETESCRIPT "sogo"
S[0x2bc7560]: NO (NONEXISTENT) "Sieve script `sogo' not found"
<0x0x2bae350[SOGoSieveManager]> WARNING: Could not delete Sieve script - continuing...: 
{RawResponse = "{ok = 0; }"; result = 0; }
C: PUTSCRIPT "sogo" {1298+}
require ["fileinto","vacation","date","relational","variables"];
if anyof (address :matches "from""us...@domain.com", address :matches "from""us...@domain.com", address :matches "from""us...@domain.com", address :matches 
"from""us...@domain.com", address :matches "from""us...@domain.com", address :matches "from""us...@domain.com", address :matches "from""us...@domain.com", 
address :contains "from""us...@domain.com") {
fileinto "INBOX/CIMEQ";
}
if allof (address :contains "from""use...@domain.com") {
fileinto "INBOX/DOMAIN/FVG";
}
if allof (address :contains "from""us...@otherdomain.com") {
fileinto "INBOX/XYZ";
}
if allof (address :contains "from""us...@otherdomain.com") {
fileinto "INBOX/abc xyz/CC";
}
if anyof (address :matches "from""s...@domain.com") {
fileinto "INBOX/Svn";
}
if allof ( currentdate :value "le" "date" "2017-05-07" ) { if header :matches "Subject" "*" { set 
"subject" "${1}"; } vacation :days 7 :subject (null) :addresses ["us...@domain.com"] text:
Bonjour,
Veuillez noter que je serai absent du bureau du 24 avril au 5 mai 
inclusivement. Pour toute urgence, communiquez avec monsieur X à 
l'adresseuse...@domain.com.

Merci
.
;
}

S[0x2bc7560]: NO {136}
<0x0x2bae350[SOGoSieveManager]> Could not upload Sieve script: {RawResponse = "{ok = 
0; reason = \"sogo: line 17: error: expected end of command ';' or the beginning of a 
compound block '{', but found tag.
sogo: error: parse failed.
\"; }"; result = 0; }
2017-04-28 00:00:03.023 sogo-tool[8167] An error occured while enabling 
auto-reply of userus...@domain.com

any idea how to resolve this issue ?

regards

Jonathan


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

[SOGo] sieve vacation problem ?

2017-04-27 Thread Jonathan Dumaresq

Hi,

Where are saved the sieve file for the auto-reply (vacation) for each 
user ? I have an error in a sieve but could not find the file.


We use sogo 3.2.8

Regards

Jonathan

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

Re: [SOGo] LDAP addressbook

2016-12-05 Thread Jonathan Dumaresq

Hi Christian,


Le 28/11/2016 à 11:03, Jonathan Dumaresq (jdumar...@cimeq.qc.ca) a écrit :


Hi Christian,

Le 28/11/2016 à 10:43, Christian Mack (christian.m...@uni-konstanz.de) 
a écrit :

Am 28.11.2016 um 16:03 schrieb Jonathan Dumaresq (jdumar...@cimeq.qc.ca):

Hi Christian,


Le 28/11/2016 à 06:09, Christian Mack (christian.m...@uni-konstanz.de) a
écrit :

With

   objectClasses = contact;

you define, that every contact will be created as objectClass "contact".
That is not a standard objectClass I know of.
Your settings in sogo.conf depend on that objectClass.

Ok, I have installed a fresh LDAP server to test. I have added the
schema mozillaABPersonAlpha to it.

You should check the schema definition of that objectClass in order to
find a suitable attribute for uid and set it in "UIDFieldName".
For all the other fields find the names of the attributes in your schema
and then map those in "mapping".
(Or send us that schema for help)

I will need help mapping the schema  for sure.

Here my config section for the LDAP AB.

{
 id = sambaContacts;
 hostname ="ldap://10.0.1.51:389;;
 baseDN = "ou=AddressBook,dc=nodomain";


 bindDN = "cn=admin,dc=nodomain";
 bindPassword = pasword;
 modifiers = (us...@domain.com  );
 displayName = "Contacts";
 canAuthenticate = NO;
 isAddressBook = YES;
 type = ldap;
 IDFieldName = uid;
 CNFieldName = cn;
 UIDFieldName = uid;

 objectClasses = (mozillaAbPersonAlpha, inetOrgPerson);

 }
With this config, I get the folowing request to the server

Lightweight Directory Access Protocol
 LDAPMessage addRequest(2)
"uid=275c-583c4500-1-7c540900,ou=addressbook,dc=nodomain"
 messageID: 2
 protocolOp: addRequest (8)
 addRequest
 entry:
uid=275c-583c4500-1-7c540900,ou=addressbook,dc=nodomain
 attributes: 3 items
 AttributeList item cn
 type: cn
 vals: 1 item
 AttributeValue: 275C-583C4500-1-7C540900
 AttributeList item objectClass
 type: objectClass
 vals: 2 items
 AttributeValue: mozillaAbPersonAlpha
 AttributeValue: inetOrgPerson
 AttributeList item uid
 type: uid
 vals: 1 item
 AttributeValue: 275C-583C4500-1-7C540900
 [Response In: 31]

And the response

Lightweight Directory Access Protocol
 LDAPMessage addResponse(2) objectClassViolation (object class
'inetOrgPerson' requires attribute 'sn')
 messageID: 2
 protocolOp: addResponse (9)
 addResponse
 resultCode: objectClassViolation (65)
 matchedDN:
 errorMessage: object class 'inetOrgPerson' requires
attribute 'sn'
 [Response To: 30]
 [Time: 0.001029000 seconds]

I have no idea what to do to have the sn field sent to the server.


sn is the surename.
This error means you didn't provide one in your contact, but that is
mandatory in inetOrgPerson objectClass.

here a screenshot of the field filled.


With this field filled, I have the exact same addRequest as my last 
email. No "sn" field sent.


Regards

Jonathan



Do you have any idea of waht can cause this ?

regards

Jonathan

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

Re: [SOGo] LDAP addressbook

2016-11-28 Thread Jonathan Dumaresq

Hi Christian,

Le 28/11/2016 à 10:43, Christian Mack (christian.m...@uni-konstanz.de) a 
écrit :

Am 28.11.2016 um 16:03 schrieb Jonathan Dumaresq (jdumar...@cimeq.qc.ca):

Hi Christian,


Le 28/11/2016 à 06:09, Christian Mack (christian.m...@uni-konstanz.de) a
écrit :

With

   objectClasses = contact;

you define, that every contact will be created as objectClass "contact".
That is not a standard objectClass I know of.
Your settings in sogo.conf depend on that objectClass.

Ok, I have installed a fresh LDAP server to test. I have added the
schema mozillaABPersonAlpha to it.

You should check the schema definition of that objectClass in order to
find a suitable attribute for uid and set it in "UIDFieldName".
For all the other fields find the names of the attributes in your schema
and then map those in "mapping".
(Or send us that schema for help)

I will need help mapping the schema  for sure.

Here my config section for the LDAP AB.

{
 id = sambaContacts;
 hostname = "ldap://10.0.1.51:389;;
 baseDN = "ou=AddressBook,dc=nodomain";


 bindDN = "cn=admin,dc=nodomain";
 bindPassword = pasword;
 modifiers = ( us...@domain.com );
 displayName = "Contacts";
 canAuthenticate = NO;
 isAddressBook = YES;
 type = ldap;
 IDFieldName = uid;
 CNFieldName = cn;
 UIDFieldName = uid;

 objectClasses = (mozillaAbPersonAlpha, inetOrgPerson);

 }
With this config, I get the folowing request to the server

Lightweight Directory Access Protocol
 LDAPMessage addRequest(2)
"uid=275c-583c4500-1-7c540900,ou=addressbook,dc=nodomain"
 messageID: 2
 protocolOp: addRequest (8)
 addRequest
 entry:
uid=275c-583c4500-1-7c540900,ou=addressbook,dc=nodomain
 attributes: 3 items
 AttributeList item cn
 type: cn
 vals: 1 item
 AttributeValue: 275C-583C4500-1-7C540900
 AttributeList item objectClass
 type: objectClass
 vals: 2 items
 AttributeValue: mozillaAbPersonAlpha
 AttributeValue: inetOrgPerson
 AttributeList item uid
 type: uid
 vals: 1 item
 AttributeValue: 275C-583C4500-1-7C540900
 [Response In: 31]

And the response

Lightweight Directory Access Protocol
 LDAPMessage addResponse(2) objectClassViolation (object class
'inetOrgPerson' requires attribute 'sn')
 messageID: 2
 protocolOp: addResponse (9)
 addResponse
 resultCode: objectClassViolation (65)
 matchedDN:
 errorMessage: object class 'inetOrgPerson' requires
attribute 'sn'
 [Response To: 30]
 [Time: 0.001029000 seconds]

I have no idea what to do to have the sn field sent to the server.


sn is the surename.
This error means you didn't provide one in your contact, but that is
mandatory in inetOrgPerson objectClass.

here a screenshot of the field filled.


With this field filled, I have the exact same addRequest as my last 
email. No "sn" field sent.


Regards

Jonathan



Kind regards,
Christian Mack



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

Re: [SOGo] LDAP addressbook

2016-11-28 Thread Jonathan Dumaresq

Hi Christian,


Le 28/11/2016 à 06:09, Christian Mack (christian.m...@uni-konstanz.de) a 
écrit :

With

  objectClasses = contact;

you define, that every contact will be created as objectClass "contact".
That is not a standard objectClass I know of.
Your settings in sogo.conf depend on that objectClass.
Ok, I have installed a fresh LDAP server to test. I have added the 
schema mozillaABPersonAlpha to it.


You should check the schema definition of that objectClass in order to
find a suitable attribute for uid and set it in "UIDFieldName".
For all the other fields find the names of the attributes in your schema
and then map those in "mapping".
(Or send us that schema for help)

I will need help mapping the schema  for sure.

Here my config section for the LDAP AB.

{
id = sambaContacts;
hostname = "ldap://10.0.1.51:389;;
baseDN = "ou=AddressBook,dc=nodomain";


bindDN = "cn=admin,dc=nodomain";
bindPassword = pasword;
modifiers = ( us...@domain.com );
displayName = "Contacts";
canAuthenticate = NO;
isAddressBook = YES;
type = ldap;
IDFieldName = uid;
CNFieldName = cn;
UIDFieldName = uid;

objectClasses = (mozillaAbPersonAlpha, inetOrgPerson);

}
With this config, I get the folowing request to the server

Lightweight Directory Access Protocol
LDAPMessage addRequest(2) 
"uid=275c-583c4500-1-7c540900,ou=addressbook,dc=nodomain"

messageID: 2
protocolOp: addRequest (8)
addRequest
entry: 
uid=275c-583c4500-1-7c540900,ou=addressbook,dc=nodomain

attributes: 3 items
AttributeList item cn
type: cn
vals: 1 item
AttributeValue: 275C-583C4500-1-7C540900
AttributeList item objectClass
type: objectClass
vals: 2 items
AttributeValue: mozillaAbPersonAlpha
AttributeValue: inetOrgPerson
AttributeList item uid
type: uid
vals: 1 item
AttributeValue: 275C-583C4500-1-7C540900
[Response In: 31]

And the response

Lightweight Directory Access Protocol
LDAPMessage addResponse(2) objectClassViolation (object class 
'inetOrgPerson' requires attribute 'sn')

messageID: 2
protocolOp: addResponse (9)
addResponse
resultCode: objectClassViolation (65)
matchedDN:
errorMessage: object class 'inetOrgPerson' requires 
attribute 'sn'

[Response To: 30]
[Time: 0.001029000 seconds]

I have no idea what to do to have the sn field sent to the server.

Regards

Jonathan

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

Re: [SOGo] dovecot-sogo3 and shared folders

2016-11-24 Thread Jonathan Dumaresq

Hi Frank,

Well, I found some sample from openchange webpage. on the dovecot 
documentation they have some information too. I have to admit, that it's 
never easy to configure this kind of stuff. We are trying to get the 
contact creation from web UI  to our LDAP server without success in 3 
work days...


For the mail sharing, we will have to enable it in dovecot


# ACL and share folder
acl = vfile
acl_shared_dict = proxy::acl

# By default Dovecot doesn't allow using the IMAP "anyone" or
# "authenticated" identifier, because it would be an easy way to spam
# other users in the system. If you wish to allow it,
acl_anyone = allow

namespace {
type = shared
separator = /
prefix = Shared/%%u/
location = maildir:%%h:INDEXPVT=~/Shared/%%u

# this namespace should handle its own subscriptions or not.
subscriptions = no
list = children
}

this should give you a small start on your shar folder.

Hope this help

Jonathan


Le 24/11/2016 à 13:04, "Frank Soyer" (fso...@systea.fr) a écrit :


Hi list,
and sorry if this question was already answered, I can't find any doc :
I'm testing Sogo 3 (what a pleasure ! ;) bravo to all the team for 
this work !) and wonder if there is some doc ot tuto about sharing 
email folders. The system is a CentOS7 with dovecot (provided by 
VestaCP that I'm adapting for Sogo), auth on mysql. Actualy all other 
functionnalities work like a charm, mails, calendars, address books, 
and sharing this last two... But not folders.
I've read here some posts, particularly from Jonathan Dumaresq : where 
have you found this conf ?


Thanx for all informations !
Frank

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


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

Re: [SOGo] LDAP addressbook

2016-11-22 Thread Jonathan Dumaresq

Hi Christian,


Le 22/11/2016 à 06:12, Christian Mack (christian.m...@uni-konstanz.de) a 
écrit :

Am 18.11.2016 um 15:14 schrieb Jonathan Dumaresq (jdumar...@cimeq.qc.ca):

Hi,

We try to get our global addressbook working in sogo v3.2.1 and we have
some problem in the config file. We try to import a new contect from
sogo web interface and we cannot map the cn correctly to import it in
the LDAP.

here the config

SOGoUserSources = (
 {
 id = sambaContacts;
 modifiers = ( us...@domain.com, us...@domain.com );
 displayName = "Contacts";
 canAuthenticate = NO;
 isAddressBook = YES;
 type = ldap;
 CNFieldName = cn;
 IDFieldName = cn;
 UIDFieldName = cn;
 objectClasses = contact;
 hostname = "ldap://myldapserver:389;;
 baseDN = "ou=Contacts,dc=domain,dc=com";
  bindDN = "vm...@domain.com";
 bindPassword = password;
 mapping = {
 mozillaworkurl = ("wWWHomePage", "mozillaworkurl");
 mozillaworkstreet2 = streetAddress;
 };
 }
);

With this setup, i can see the new global addressbook and I can retrieve
contact.

Now the new contact is not working correclty. When save the new contact
I get this in wireshark.


Frame 48: 213 bytes on wire (1704 bits), 213 bytes captured (1704 bits)
Ethernet II, Src: Vmware_c7:0c:d8 (00:0c:29:c7:0c:d8), Dst:
Vmware_cd:22:37 (00:0c:29:cd:22:37)
Internet Protocol Version 4, Src: 10.0.1.50, Dst: 10.0.1.45
Transmission Control Protocol, Src Port: 39310, Dst Port: 389, Seq: 56,
Ack: 15, Len: 147
Lightweight Directory Access Protocol
 LDAPMessage addRequest(2)
"cn=c86-582de600-1-42d8b100,ou=contacts,dc=domain,dc=com"
 messageID: 2
 protocolOp: addRequest (8)
 addRequest
 entry:
cn=c86-582de600-1-42d8b100,ou=contacts,dc=domain,dc=com
 attributes: 2 items
 AttributeList item cn
 type: cn
 vals: 1 item
 AttributeList item objectClass
 type: objectClass
 vals: 1 item
 [Response In: 50]

In my LDAP server I see the new user as c86-582de600-1-42d8b100 instead
of the Display Name.

I don't see the email in the request.

Anybody can help me with the config ?


I assume, that the imported address card has a UID attribute set.
You specify, that UIDFieldName is cn, therefore it imports the UID into cn.
You should use another field for UID, which one depends on your used
objectClass "contact".

Probably as you see, i'm not very comfortable with the addressbook in 
LDAP.  How I should set the SOGoUserSources correctly to be able to 
import a new contact in my LDAP ?


I want to be able to use all the field in the Sogo web interface to do 
it.  I have read many tutorial, but all thoses tutorial are  (I think) 
only for reading the LDAP addressbook.  I have not found any example 
when using the modifiers entry in the SOGoUserSources.


Is there any documentation that explain what field need to be filled to 
get this work ?



Kind regards,
Christian Mack

PS:
Please do not hijack other mail threads!

Sorry about this.
Regards

Jonathan

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

[SOGo] LDAP addressbook

2016-11-18 Thread Jonathan Dumaresq

Hi,

We try to get our global addressbook working in sogo v3.2.1 and we have 
some problem in the config file. We try to import a new contect from 
sogo web interface and we cannot map the cn correctly to import it in 
the LDAP.


here the config

SOGoUserSources = (
{
id = sambaContacts;
modifiers = ( us...@domain.com, us...@domain.com );
displayName = "Contacts";
canAuthenticate = NO;
isAddressBook = YES;
type = ldap;
CNFieldName = cn;
IDFieldName = cn;
UIDFieldName = cn;
objectClasses = contact;
hostname = "ldap://myldapserver:389;;
baseDN = "ou=Contacts,dc=domain,dc=com";
 bindDN = "vm...@domain.com";
bindPassword = password;
mapping = {
mozillaworkurl = ("wWWHomePage", "mozillaworkurl");
mozillaworkstreet2 = streetAddress;
};
}
);

With this setup, i can see the new global addressbook and I can retrieve 
contact.


Now the new contact is not working correclty. When save the new contact 
I get this in wireshark.



Frame 48: 213 bytes on wire (1704 bits), 213 bytes captured (1704 bits)
Ethernet II, Src: Vmware_c7:0c:d8 (00:0c:29:c7:0c:d8), Dst: 
Vmware_cd:22:37 (00:0c:29:cd:22:37)

Internet Protocol Version 4, Src: 10.0.1.50, Dst: 10.0.1.45
Transmission Control Protocol, Src Port: 39310, Dst Port: 389, Seq: 56, 
Ack: 15, Len: 147

Lightweight Directory Access Protocol
LDAPMessage addRequest(2) 
"cn=c86-582de600-1-42d8b100,ou=contacts,dc=domain,dc=com"

messageID: 2
protocolOp: addRequest (8)
addRequest
entry: 
cn=c86-582de600-1-42d8b100,ou=contacts,dc=domain,dc=com

attributes: 2 items
AttributeList item cn
type: cn
vals: 1 item
AttributeList item objectClass
type: objectClass
vals: 1 item
[Response In: 50]

In my LDAP server I see the new user as c86-582de600-1-42d8b100 instead 
of the Display Name.


I don't see the email in the request.

Anybody can help me with the config ?

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


Re: [SOGo] Problem with task display

2016-10-17 Thread Jonathan Dumaresq

Hi,



Le 07/10/2016 à 12:15, Francis Lachapelle (flachape...@inverse.ca) a écrit :

On Sep 29, 2016, at 9:29 AM, Jonathan Dumaresq (jdumar...@cimeq.qc.ca) 
<users@sogo.nu> wrote:

I try the task creation in the sogo web interface. We use the the 3.1.5 version 
of sogo. If the calaendar setting is set to dislay only monday to friday, The 
task created is not display anymore in the task list. I have created like 7 
task with/without date inside.

If I set the calendar to see all days, I now see the task in the task list.

Definitely a bug. Fixed by commit c3d349e.

Thanks!

Francis

Thanx :)
Jonathan

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

[SOGo] Global/company calendar

2016-09-30 Thread Jonathan Dumaresq

Hi all,


Is it possible to have a global calendar that is shard amoung all 
athenticated user ? All the user are LDAP authenticated.


I would like to have any authenticated user be able to create meeting 
event and see free/busy information for attendies.


I use SOGO 3.1.5 with TB.

Regards


Jonathan


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

[SOGo] Problem with task display

2016-09-29 Thread Jonathan Dumaresq

Hi,

I try the task creation in the sogo web interface. We use the the 3.1.5 
version of sogo. If the calaendar setting is set to dislay only monday 
to friday, The task created is not display anymore in the task list. I 
have created like 7 task with/without date inside.


If I set the calendar to see all days, I now see the task in the task list.

Regards

Jonathan

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

[SOGo] subfolder not display new email number

2016-07-20 Thread Jonathan Dumaresq

Hi,

I would like to know how can I have the web interface display the number 
of new email I have received from a subfolder in the web interface. I 
use sogo 3.1.4.


It's look like I have similar problem with thunderbird. In TB I can have 
this "corrected" by setting the 
mail.server.default.check_all_folders_for_new to true, but this look 
like a patch to me instead of the real correctif.


Is it a config in my dovecot that I should look at ?

Regards

Jonathan

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

Re: [SOGo] Shared folder

2016-07-14 Thread Jonathan dumaresq

HI,

I found my problem. The problem was in the dovecot.conf file. The base 
maildir included the /Maildir and in the shared namespace the /Maildir 
was also added.


Now it's working.

Jonathan



Le 14/07/2016 à 09:38, Jonathan dumaresq (jdumar...@cimeq.qc.ca) a écrit :

Hi,

I try the shared folder on SOGo and could not get it working.

I have used the iRedMail setup to help confiiguring most of the server.

I have modified the SSL setting to have a proper certificate.

When I get to the shar folder, I share a folder from the user 
collec...@mydomain.com with the user jdumar...@mydomain.com with all 
privilege set. Then I log with jdumar...@mydomain.com and I received 
an email that i get new privilege to the shar folder. BUT I could no 
see the share folder in my folder list.


I have check in the dovecot.conf file and it's look ok for the sharing 
folder.


namespace {
type = shared
separator = /
prefix = Shared/%%u/
location = maildir:%%Lh/Maildir/:INDEX=%%Lh/Maildir/Shared/%%u
# this namespace should handle its own subscriptions or not.
subscriptions = yes
list = children
}
namespace {
type = private
separator = /
prefix =
#location defaults to mail_location.
inbox = yes

# Refer to document for more details about alias mailbox:
# http://wiki2.dovecot.org/MailboxSettings
#
# Sent
mailbox Sent {
auto = subscribe
special_use = \Sent
}
mailbox "Sent Messages" {
auto = no
special_use = \Sent
}
mailbox "Sent Items" {
auto = no
special_use = \Sent
}

mailbox Drafts {
auto = subscribe
special_use = \Drafts
}

# Trash
mailbox Trash {
auto = subscribe
special_use = \Trash
}

mailbox "Deleted Messages" {
auto = no
special_use = \Trash
}

# Junk
mailbox Junk {
auto = subscribe
special_use = \Junk
}
mailbox Spam {
auto = no
special_use = \Junk
}
mailbox "Junk E-mail" {
auto = no
special_use = \Junk
}

# Archive
mailbox Archive {
auto = no
special_use = \Archive
}
mailbox Archives {
auto = no
special_use = \Archive
}
}

Here the log portion of sogo.log.
Jul 14 09:28:48 sogod [1705]: 10.0.3.1 "GET 
/SOGo/so/collec...@domain.mydomain.com/jsonSettings HTTP/1.1" 200 
100/0 0.004 - - 0
Jul 14 09:28:48 sogod [1708]: 10.0.3.1 "GET 
/SOGo/so/collec...@domain.mydomain.com/jsonDefaults HTTP/1.1" 200 
3083/0 0.015 - - 0
Jul 14 09:28:48 sogod [1701]: 10.0.3.1 "GET 
/SOGo/so/collec...@domain.mydomain.com/Mail/0/view HTTP/1.1" 200 975/0 
0.318 - - 0
Jul 14 09:28:49 sogod [1701]: 10.0.3.1 "POST 
/SOGo/so/collec...@domain.mydomain.com/Mail/unseenCount HTTP/1.1" 200 
21/31 0.301 - - 0
Jul 14 09:28:49 sogod [1708]: 10.0.3.1 "POST 
/SOGo/so/collec...@domain.mydomain.com/Mail/0/folderINBOX/view 
HTTP/1.1" 200 260/45 0.371 - - 0
Jul 14 09:28:54 sogod [1708]: 10.0.3.1 "POST 
/SOGo/so/collec...@domain.mydomain.com/Mail/0/folderBAD/view HTTP/1.1" 
200 718/45 0.385 - - 0
Jul 14 09:28:58 sogod [1708]: 10.0.3.1 "GET 
/SOGo/so/collec...@domain.mydomain.com/Mail/0/folderBAD/acls HTTP/1.1" 
200 436/0 0.218 - - 0
Jul 14 09:28:58 sogod [1708]: 10.0.3.1 "GET 
/SOGo/so/collec...@domain.mydomain.com/Mail/0/folderBAD/UIxAclEditor 
HTTP/1.1" 200 1303/0 0.214 3920 66% 0
Jul 14 09:29:04 sogod [1708]: 10.0.3.1 "GET 
/SOGo/so/collec...@domain.mydomain.com/Mail/0/folderBAD/userRights?uid=jdumar...@mydomain.com 
HTTP/1.1" 200 255/0 0.241 - - 0
Jul 14 09:29:07 sogod [1708]: 10.0.3.1 "GET 
/SOGo/so/collec...@domain.mydomain.com/Mail/0/folderBAD/removeUserFromAcls?uid=jdumar...@mydomain.com 
HTTP/1.1" 204 0/0 0.996 - - 0
Jul 14 09:29:50 sogod [1708]: 10.0.3.1 "GET 
/SOGo/so/collec...@domain.mydomain.com/usersSearch?search=jona 
HTTP/1.1" 200 127/0 0.055 - - 0
Jul 14 09:29:51 sogod [1708]: 10.0.3.1 "GET 
/SOGo/so/collec...@domain.mydomain.com/Mail/0/folderBAD/addUserInAcls?uid=duma...@domain.mydomain.com 
HTTP/1.1" 204 0/0 0.408 - - 0
Jul 14 09:29:52 sogod [1708]: 10.0.3.1 "GET 
/SOGo/so/collec...@domain.mydomain.com/Mail/0/folderBAD/userRights?uid=duma...@domain.mydomain.com 
HTTP/1.1" 200 255/0 0.240 - - 0
Jul 14 09:29:56 sogod [1708]: 10.0.3.1 "POST 
/SOGo/so/collec...@domain.mydomain.com/Mail/0/folderBAD/saveUserRights 
HTTP/1.1" 200 0/415 0.469 - - 0
Jul 14 09:30:00 sogod [1708]: SOGoUserHomePage user 
'collec...@domain.mydomain.com' logged off
Jul 14 09:30:00 sogod [1708]: 10.0.3.1 "GET 
/SOGo/so/collec...@domain.mydomain.com/logoff HTTP/1.1" 302 0/0 0.007 
- - 0
Jul 14 09:30:00 sogod [1708]: 10.0.3.1 "GET /SOGo/so/ HTTP/1.1" 200 
7776/0 0.010 23862 67% 0
Jul 14 09:30:12 sogod [1708]: SOGoRootPage successful lo

[SOGo] Shared folder

2016-07-14 Thread Jonathan dumaresq

Hi,

I try the shared folder on SOGo and could not get it working.

I have used the iRedMail setup to help confiiguring most of the server.

I have modified the SSL setting to have a proper certificate.

When I get to the shar folder, I share a folder from the user 
collec...@mydomain.com with the user jdumar...@mydomain.com with all 
privilege set. Then I log with jdumar...@mydomain.com and I received an 
email that i get new privilege to the shar folder. BUT I could no see 
the share folder in my folder list.


I have check in the dovecot.conf file and it's look ok for the sharing 
folder.


namespace {
type = shared
separator = /
prefix = Shared/%%u/
location = maildir:%%Lh/Maildir/:INDEX=%%Lh/Maildir/Shared/%%u
# this namespace should handle its own subscriptions or not.
subscriptions = yes
list = children
}
namespace {
type = private
separator = /
prefix =
#location defaults to mail_location.
inbox = yes

# Refer to document for more details about alias mailbox:
# http://wiki2.dovecot.org/MailboxSettings
#
# Sent
mailbox Sent {
auto = subscribe
special_use = \Sent
}
mailbox "Sent Messages" {
auto = no
special_use = \Sent
}
mailbox "Sent Items" {
auto = no
special_use = \Sent
}

mailbox Drafts {
auto = subscribe
special_use = \Drafts
}

# Trash
mailbox Trash {
auto = subscribe
special_use = \Trash
}

mailbox "Deleted Messages" {
auto = no
special_use = \Trash
}

# Junk
mailbox Junk {
auto = subscribe
special_use = \Junk
}
mailbox Spam {
auto = no
special_use = \Junk
}
mailbox "Junk E-mail" {
auto = no
special_use = \Junk
}

# Archive
mailbox Archive {
auto = no
special_use = \Archive
}
mailbox Archives {
auto = no
special_use = \Archive
}
}

Here the log portion of sogo.log.
Jul 14 09:28:48 sogod [1705]: 10.0.3.1 "GET 
/SOGo/so/collec...@domain.mydomain.com/jsonSettings HTTP/1.1" 200 100/0 
0.004 - - 0
Jul 14 09:28:48 sogod [1708]: 10.0.3.1 "GET 
/SOGo/so/collec...@domain.mydomain.com/jsonDefaults HTTP/1.1" 200 3083/0 
0.015 - - 0
Jul 14 09:28:48 sogod [1701]: 10.0.3.1 "GET 
/SOGo/so/collec...@domain.mydomain.com/Mail/0/view HTTP/1.1" 200 975/0 
0.318 - - 0
Jul 14 09:28:49 sogod [1701]: 10.0.3.1 "POST 
/SOGo/so/collec...@domain.mydomain.com/Mail/unseenCount HTTP/1.1" 200 
21/31 0.301 - - 0
Jul 14 09:28:49 sogod [1708]: 10.0.3.1 "POST 
/SOGo/so/collec...@domain.mydomain.com/Mail/0/folderINBOX/view HTTP/1.1" 
200 260/45 0.371 - - 0
Jul 14 09:28:54 sogod [1708]: 10.0.3.1 "POST 
/SOGo/so/collec...@domain.mydomain.com/Mail/0/folderBAD/view HTTP/1.1" 
200 718/45 0.385 - - 0
Jul 14 09:28:58 sogod [1708]: 10.0.3.1 "GET 
/SOGo/so/collec...@domain.mydomain.com/Mail/0/folderBAD/acls HTTP/1.1" 
200 436/0 0.218 - - 0
Jul 14 09:28:58 sogod [1708]: 10.0.3.1 "GET 
/SOGo/so/collec...@domain.mydomain.com/Mail/0/folderBAD/UIxAclEditor 
HTTP/1.1" 200 1303/0 0.214 3920 66% 0
Jul 14 09:29:04 sogod [1708]: 10.0.3.1 "GET 
/SOGo/so/collec...@domain.mydomain.com/Mail/0/folderBAD/userRights?uid=jdumar...@mydomain.com 
HTTP/1.1" 200 255/0 0.241 - - 0
Jul 14 09:29:07 sogod [1708]: 10.0.3.1 "GET 
/SOGo/so/collec...@domain.mydomain.com/Mail/0/folderBAD/removeUserFromAcls?uid=jdumar...@mydomain.com 
HTTP/1.1" 204 0/0 0.996 - - 0
Jul 14 09:29:50 sogod [1708]: 10.0.3.1 "GET 
/SOGo/so/collec...@domain.mydomain.com/usersSearch?search=jona HTTP/1.1" 
200 127/0 0.055 - - 0
Jul 14 09:29:51 sogod [1708]: 10.0.3.1 "GET 
/SOGo/so/collec...@domain.mydomain.com/Mail/0/folderBAD/addUserInAcls?uid=duma...@domain.mydomain.com 
HTTP/1.1" 204 0/0 0.408 - - 0
Jul 14 09:29:52 sogod [1708]: 10.0.3.1 "GET 
/SOGo/so/collec...@domain.mydomain.com/Mail/0/folderBAD/userRights?uid=duma...@domain.mydomain.com 
HTTP/1.1" 200 255/0 0.240 - - 0
Jul 14 09:29:56 sogod [1708]: 10.0.3.1 "POST 
/SOGo/so/collec...@domain.mydomain.com/Mail/0/folderBAD/saveUserRights 
HTTP/1.1" 200 0/415 0.469 - - 0
Jul 14 09:30:00 sogod [1708]: SOGoUserHomePage user 
'collec...@domain.mydomain.com' logged off
Jul 14 09:30:00 sogod [1708]: 10.0.3.1 "GET 
/SOGo/so/collec...@domain.mydomain.com/logoff HTTP/1.1" 302 0/0 0.007 - - 0
Jul 14 09:30:00 sogod [1708]: 10.0.3.1 "GET /SOGo/so/ HTTP/1.1" 200 
7776/0 0.010 23862 67% 0
Jul 14 09:30:12 sogod [1708]: SOGoRootPage successful login from 
'10.0.3.1' for user 'jdumar...@mydomain.com' - expire = -1  grace = -1
Jul 14 09:30:12 sogod [1708]: 10.0.3.1 "POST /SOGo/connect HTTP/1.1" 200 
27/78 0.039 - - 0
Jul 14 09:30:12 sogod [1708]: 10.0.3.1 "GET 
/SOGo/so/SOGo/jdumar...@mydomain.com HTTP/1.1" 302 0/0 0.003 - - 0
Jul 14 09:30:12 sogod [1708]: 10.0.3.1 "GET 
/SOGo/so/SOGo/jdumar...@mydomain.com/view HTTP/1.1" 302 0/0 0.004 - - 0
Jul 14 09:30:12 sogod [1708]: 10.0.3.1 "GET 

[SOGo] Openchange with existing AD

2016-07-13 Thread Jonathan dumaresq

Hi,

I have a setup using the latest SOGO (3.1.4) and I can get most of it 
working. I have installed the activesync and I'm able to get our Android 
device working with SOGO. I can also have the IMAP working with TB.


I have installed the outlook sync plugin and can get Task/calendar 
working with it. I use the IMAP for outlook (2007/2010) and it's woring 
too. ! Wow i'm impressed.  Good work.


Now I wonder if I take the road of implementing the openchange part. I 
have an existing AD (zentyal)  with the schema updated to openchange.


Since I have installed the SOGO completely indépendent of my AD 
(xenial), the openchange is not installed (for now).


- Is it possible to use the openchange on a linux that is not a DC ? 
(only member of the domain)
- When I create a new user do I need to create something else in my 
schema to get the new user working on outlook ?

- Is the effort to get this working give advantages ?

regards

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


Re: [SOGo] ANN: SOGo v3.1.3 released!

2016-06-23 Thread Jonathan dumaresq

Hi,

Le 23/06/2016 à 09:13, Amit Armoogum (armoo...@silkan.net) a écrit :

Hi all,

I will be also very glad if Zentyal could integrate this new version 
too...


I am striving hard to administrate my primary DC under Zentyal with 
many problems around (samba, ldap, sogo etc...pheww )


Anyways, as Ludo said, its up to zentyal ... :?

my best

I tried to contact "jacalvo" and now waiting for it's reply. I have no 
idea if I will receive any reply...


regards

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

Re: [SOGo] ANN: SOGo v3.1.3 released!

2016-06-23 Thread Jonathan dumaresq

HI,

This version will be available to zentyal 4.2 too ?

regards

Jonathan

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

[SOGo] Zentyal installation with small problem

2016-06-13 Thread Jonathan dumaresq

Hi all,


First I would like to tans all the people that work on this project.


I have installed a zentyal community edition to use with 
openchange/sogo/activesync etc. I have almost all working on different 
platform.


I can sync my calendar with my android/TB and outlook. I can sync all my 
mail with Android/TB and outlook. This is verry impressive.


The problem is that in outlook i always get sync error that is growing 
in a folder call "Problème de synchronization" (sync problem). The INBOX 
look working correctly and I can send/receive mail without problem.


I also see that I have many (Problème de synchronisation) with a number 
after. like (1), (3)(1) etc..


The message I received look like this


08:44:16 Synchronisateur Version 12.0.6672

08:44:16 Synchronisation de la boîte à lettres 'Jonathan Dumaresq' en cours

08:44:16 Synchronisation des modifications locales dans le dossier 
« Problèmes de synchronisation » en cours


08:44:16 Erreur lors de la synchronisation du dossier

08:44:16 [8004010F-501-8004010F-422]

08:44:16 Echec de l'opération du client.

08:44:16 Banque d'informations de Microsoft Exchange

08:44:16 Pour plus d'informations sur ce problème, cliquez sur l'URL 
ci-dessous :


08:44:16 
http://www.microsoft.com/support/prodredirect/outlook2000_us.asp?err=8004010f-501-8004010f-422


08:44:16 Terminé

This look like outlook can't sync (Problème de synchronisation) with the 
server.



I would like to know what to do to stop this beahavior.

Regards

Jonathan


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