Kolab w. ActiveSync on Android using Gmail client: Only Inbox and Sent folders are visible

Adi Pircalabu adi at ddns.com.au
Tue Sep 25 08:41:44 CEST 2018


Hi,

I've got an interesting one in my Kolab testing environment which looks 
like this:
- CentOS 7 with kolab-16.0.1-12.2.el7.kolab_16.x86_64 installed from 
Kolab_16 yum repository.
- Roundcube connects to the local Dovecot IMAP server. Dovecot is 
proxying the connection to the "real" IMAP server on another machine 
which is also running Dovecot, that's where the test mailboxes are 
stored.
- On the "real" (or "backend") IMAP server I'm using the following 
configuration which may be of interest here:
[...]
namespace inbox {
   separator = .
   prefix = INBOX.
   inbox = yes
   type = private
[...]
- In Roundcube's config.inc.php I have:
     [...]
     $config['imap_delimiter'] = '.';
     $config['imap_force_caps'] = true;
     $config['imap_force_lsub'] = true;
     $config['imap_force_ns'] = true;
     $config['imap_debug'] = true;
     [...]

After setting up the account as Exchange in Gmail on the phone (LG G5 
running Android 7.0), the email clients seems to sync the emails from 
all the IMAP folders, but only Inbox and Sent folders are visible in the 
Android mail client. The emails from other folders appear all under 
Inbox. The emails from Sent folder appear under Sent.
Here are the IMAP capabilities and the namespace settings logged as part 
of the IMAP conversation:

Sep 25 16:13:34 ktest1 httpd: [8980] S: * OK [CAPABILITY IMAP4rev1 
LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE IDLE STARTTLS AUTH=PLAIN] 
Dovecot ready.
Sep 25 16:13:34 ktest1 httpd: [8980] C: A0001 ID ("name" 
"Roundcube/Kolab" "version" "1.3.6" "php" "5.4.45" "os" "Linux" 
"command" "/Microsoft-Server-ActiveSync")
Sep 25 16:13:34 ktest1 httpd: [8980] S: * ID ("name" "Dovecot")
Sep 25 16:13:34 ktest1 httpd: [8980] S: A0001 OK ID completed.
Sep 25 16:13:34 ktest1 httpd: [8980] C: A0002 AUTHENTICATE PLAIN ****** 
[37]
Sep 25 16:13:34 ktest1 httpd: [8980] S: A0002 OK [CAPABILITY IMAP4rev1 
LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE IDLE SORT SORT=DISPLAY 
THREAD=REFERENCES THREAD=REFS THREAD=ORDEREDSUBJECT MULTIAPPEND 
URL-PARTIAL CATENATE UNSELECT CHILDRE
N NAMESPACE UIDPLUS LIST-EXTENDED I18NLEVEL=1 CONDSTORE QRESYNC ESEARCH 
ESORT SEARCHRES WITHIN CONTEXT=SEARCH LIST-STATUS BINARY MOVE NOTIFY 
METADATA SPECIAL-USE QUOTA ACL RIGHTS=texk] Logged in
Sep 25 16:13:34 ktest1 httpd: [8980] C: A0003 CAPABILITY
Sep 25 16:13:34 ktest1 httpd: [8980] S: * CAPABILITY IMAP4rev1 LITERAL+ 
SASL-IR LOGIN-REFERRALS ID ENABLE IDLE SORT SORT=DISPLAY 
THREAD=REFERENCES THREAD=REFS THREAD=ORDEREDSUBJECT MULTIAPPEND 
URL-PARTIAL CATENATE UNSELECT CHILDREN NAMESP
ACE UIDPLUS LIST-EXTENDED I18NLEVEL=1 CONDSTORE QRESYNC ESEARCH ESORT 
SEARCHRES WITHIN CONTEXT=SEARCH LIST-STATUS BINARY MOVE NOTIFY METADATA 
SPECIAL-USE QUOTA ACL RIGHTS=texk
Sep 25 16:13:34 ktest1 httpd: [8980] S: A0003 OK Capability completed 
(0.000 + 0.000 secs).
Sep 25 16:13:34 ktest1 httpd: [8980] C: A0004 NAMESPACE
Sep 25 16:13:34 ktest1 httpd: [8980] S: * NAMESPACE (("INBOX." ".")) 
(("Other Users." ".")) (("Public." "."))
Sep 25 16:13:34 ktest1 httpd: [8980] S: A0004 OK Namespace completed 
(0.000 + 0.000 secs).
Sep 25 16:13:34 ktest1 httpd: [8980] C: A0005 LOGOUT
Sep 25 16:13:34 ktest1 httpd: [8980] S: * BYE Logging out
Sep 25 16:13:34 ktest1 httpd: [8980] S: A0005 OK Logout completed (0.000 
+ 0.000 secs).

How can I get all the subscribed folders to be displayed on the device?
Thanks,

-- 
Adi Pircalabu


More information about the users mailing list