SOGo | BTS

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0002387SOGoWeb Mailpublic2013-08-07 02:032013-09-27 13:32
Reporterdeeptibaghel 
Assigned To 
PrioritynormalSeveritymajorReproducibilityalways
StatusclosedResolutionwon't fix 
PlatformOSOS Version
Product Version 
Target VersionFixed in Version 
Summary0002387: Shared folders not showing using postfix+courier imap
DescriptionI have installed sogo-2.0.7-1 on Centos6. My mail server comprises of postfix
courier-imap-4.11.0-1 and postfix-2.6.6-2.2.
I am able to share the folder on webclient but it doesn't show to the user to whom it is shared.
I saw the old thread on this which says courier is having the issue, does this version of courier also have the issue ?

Pl. guide how to solve this problem. Our main reason for adopting Sogo is to have share and delegation and both seems to be not working on web client.

The screesnshot of sharied folder is attached.
TagsNo tags attached.
Attached Filesjpg file icon Capture1.JPG [^] (66,519 bytes) 2013-08-07 02:03


? file icon capture3 [^] (7,273 bytes) 2013-08-10 01:11 [Show Content]

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
User avatar (0005791)
ludovic (administrator)
2013-08-07 08:42

Do you have Preferences > Mail Options > Show subscribed mailboxes only

unchecked?
(0005793)
deeptibaghel (reporter)
2013-08-07 12:03

If i uncheck , it starts showing another set of Inbox -> Draft,Sent, Trash Inside Main Inbox which is empty as well but it doesn't still show the shared folder of other user.
(0005802)
deeptibaghel (reporter)
2013-08-09 00:18

Any suggestion to solve this problem ?
User avatar (0005804)
ludovic (administrator)
2013-08-09 08:57

Sniff using tcpflow the traffic between your IMAP server and SOGo when opening the mail feature of SOGo. Do it with only one user and send us the full trace.
(0005875)
deeptibaghel (reporter)
2013-08-10 01:23

I have attached the capture file capture3 above. Also could you pl. guide why does it show the folder names twice in mail client.
(0005896)
deeptibaghel (reporter)
2013-08-14 00:08

Waiting eagerly for any suggestion on the issue..
(0005927)
ismith78 (reporter)
2013-08-25 05:13

I'm also having the same problem. I can share and get emails on the various accounts that everything is set up. Just nothing appears in the list of folders.
(0005930)
ismith78 (reporter)
2013-08-28 16:36

Got this working. My problem was a typo in the /var/lib/sogo/GNUstep/Defaults/.GNUstepDefaults file

It had

<key>SOGoForwardEnabeled</key>
<string>YES</string>

Correct the spelling to

<key>SOGoForwardEnabled</key>
<string>YES</string>

Then suddenly my shares started working. Also need to ensure that the dovecot.conf share is set correctly and, if using a database for ACL, that all the tables are correct.

In my case everything was correct - even using telnet to access the IMAP server confirmed the ACL was right. It was just that typo that was the missing chain.

Useful sites I found were

http://www.cbjck.de/2013/06/setting-up-shared-mailboxes-in-dovecot/ [^]
http://wiki2.dovecot.org/ACL [^]
https://wikit.firewall-services.com/doku.php/smedev/dovecot#shared_mailboxes [^]
http://wiki.dovecot.org/SharedMailboxes/Public [^]

I hope this helps you to resolve your problem.
(0005931)
ismith78 (reporter)
2013-08-28 19:29

The other thing to check, which has also caught me out, is if the ACL for the folder you are sharing is not supplying the domain.

If you look at http://www.cbjck.de/2013/06/setting-up-shared-mailboxes-in-dovecot/ [^] at the section about using telnet I would check that the ACL value contains the domain for the share.

e.g. if you have user1@domain sharing Inbox with user2@domain then do

telnet localhost 143
. login user1@domain user1password
. GETACL Inbox

If you get back * ACL "Inbox" "user2@domain" akxeilprwtscd "user1@domain" lrwstipekxacd

then dovecot is correctly settign the domain. If instead you get

* ACL "Inbox" "user2" akxeilprwtscd "user1@domain" lrwstipekxacd

Then without the domain the match fails and the shared folder doesn't appear. To workaround that, and prove that is the issue, do

. SETACL Inbox user2@domain akxeilprwtscd

Doing a GETACL afterwards will then show user1@domain, user2 and user2@domain. Not ideal but should then make the folder appear in your user2 account.

I think this may be a %u vs %%u issue in the dovecot configuration, or a bug in the version of dovecot I have. At the moment I've sorted out the folders I need with this workaround so looking at this issue in detail is now lowering in my list of things to do.

I hope something in these two posts helps you to resolve your issue.
(0005932)
jraby (viewer)
2013-08-29 13:41

Not too sure for your namespace problem, but what is the value of the NGImap4ConnectionStringSeparator in sogo.conf?

It should be set to a dot (.)
You might also want to check the value of these parameters: SOGoDraftsFolderName SOGoSentFolderName SOGoTrashFolderName (see the configuration guide about that)
(0005933)
deeptibaghel (reporter)
2013-08-30 00:40

We are using courier-imap, so I think dovecot settings are not useful for my setup.
I conformed from the config doc, my imap settings are as below:

  SOGoDraftsFolderName = INBOX/Drafts;
  SOGoSentFolderName = INBOX/Sent;
  SOGoTrashFolderName = INBOX/Trash;
  SOGoIMAPServer = 10.145.10.35;
  //SOGoSieveServer = sieve://127.0.0.1:4190;
  SOGoSMTPServer = 10.145.10.35;
  SOGoMailDomain = sail-bhilaisteel.com;
  SOGoMailingMechanism = smtp;
  //SOGoForceExternalLoginWithEmail = NO;
  SOGoMailSpoolPath = /var/spool/sogo;
  NGImap4ConnectionStringSeparator = ".";
  SOGoSMTPAuthenticationType = plain;

  SOGoMailShowSubscribedFoldersOnly = NO;
  SOGoIMAPAclStyle = rfc2086;

When I did
telnet 10.145.10.35 143
. login deeptibaghel pwd
. GETACL Inbox
I got the outputs as below :

* OK [CAPABILITY IMAP4rev1 UIDPLUS CHILDREN NAMESPACE THREAD=ORDEREDSUBJECT THREAD=REFERENCES SORT QUOTA IDLE ACL ACL2=UNION STARTTLS] Courier-IMAP ready. Copyright 1998-2011 Double Precision, Inc. See COPYING for distribution information.
. login deeptibaghel pwd
. OK LOGIN Ok.
. GETACL Inbox
* ACL "Inbox" "owner" "acdilrsw" "administrators" "acdilrsw" "singhmp" "ilprsw"
. OK GETACL completed.

Still i can not see the shared folders. IS there anything i missed ?

Deepti
(0005948)
deeptibaghel (reporter)
2013-09-07 00:43

Has anybody done it with courier imap earlier, do i need to configure something at imap server also ? i am getting absolutely no clue to resolve the issue.
(0005949)
deeptibaghel (reporter)
2013-09-07 01:11

This link has some info on virtual shared folders of courier imap, do we need to do it ?
http://www.courier-mta.org/imap/README.sharedfolders.html#newshared [^]
(0006002)
deeptibaghel (reporter)
2013-09-16 03:22

So I did
telnet myserverip 143
0 login userid password
0 LIST "" "*"
* LIST (\HasNoChildren) "." "INBOX.subscriptions"
* LIST (\HasNoChildren) "." "INBOX.INBOX.Drafts"
* LIST (\HasNoChildren) "." "INBOX.Drafts"
* LIST (\HasNoChildren) "." "INBOX.INBOX.Trash"
* LIST (\HasNoChildren) "." "INBOX.Sent"
* LIST (\Marked \HasChildren) "." "INBOX"
* LIST (\HasNoChildren) "." "INBOX.Trash"
* LIST (\HasNoChildren) "." "INBOX.customflags"
* LIST (\HasNoChildren) "." "INBOX.INBOX.Sent"
* LIST (\HasChildren) "." "INBOX.INBOX"
0 OK LIST completed

So there are no shared folders obviously.

Next i tried to build shared index in imap server using command and i got response as below :

#sharedindexinstall
/usr/lib/courier-imap/etc/shared.tmp is empty!

So I doubt Sogo is able to setup shares on courier imap server.

I am losing hope that I will be ever able to set it up as no one seems to have done it earlier and there is no help on Sogo documentation.
User avatar (0006062)
ludovic (administrator)
2013-09-27 13:32

Obviously, from your last comment, even LIST doesn't return the shared IMAP namespace.

Fix your IMAP server before blaming SOGo. It's not a SOGo problem, it's a configuration problem with Courier.

You should look at Dovecot as a modern drop-in replacement.

- Issue History
Date Modified Username Field Change
2013-08-07 02:03 deeptibaghel New Issue
2013-08-07 02:03 deeptibaghel File Added: Capture1.JPG
2013-08-07 08:42 ludovic Note Added: 0005791
2013-08-07 12:03 deeptibaghel Note Added: 0005793
2013-08-09 00:18 deeptibaghel Note Added: 0005802
2013-08-09 08:57 ludovic Note Added: 0005804
2013-08-10 01:11 deeptibaghel File Added: capture3
2013-08-10 01:23 deeptibaghel Note Added: 0005875
2013-08-14 00:08 deeptibaghel Note Added: 0005896
2013-08-25 05:13 ismith78 Note Added: 0005927
2013-08-28 16:36 ismith78 Note Added: 0005930
2013-08-28 19:29 ismith78 Note Added: 0005931
2013-08-29 13:41 jraby Note Added: 0005932
2013-08-30 00:40 deeptibaghel Note Added: 0005933
2013-09-07 00:43 deeptibaghel Note Added: 0005948
2013-09-07 01:11 deeptibaghel Note Added: 0005949
2013-09-16 03:22 deeptibaghel Note Added: 0006002
2013-09-27 13:32 ludovic Note Added: 0006062
2013-09-27 13:32 ludovic Status new => closed
2013-09-27 13:32 ludovic Resolution open => won't fix


Copyright © 2000 - 2019 MantisBT Team
Powered by Mantis Bugtracker