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 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

[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/so/duma...@domain.mydomain.com/Ma