6.0.0-beta1
8/11/25

[#14024] Horde Active Sync fails to fetch any mails on Courier IMAP server
Summary Horde Active Sync fails to fetch any mails on Courier IMAP server
Queue Horde Groupware Webmail Edition
Queue Version 5.2.7
Type Bug
State Not A Bug
Priority 1. Low
Owners
Requester bjoernv (at) arcor (dot) de
Created 06/23/2015 (3702 days ago)
Due
Updated 06/24/2015 (3701 days ago)
Assigned 06/23/2015 (3702 days ago)
Resolved 06/24/2015 (3701 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch No

History
06/24/2015 03:08:49 AM Michael Rubinsky Comment #4
State ⇒ Not A Bug
Reply to this comment
  But I wonder, why empty folders show up with emailsync disabled. 
This may be a client issue.
This is because some clients will fail to set up the account *at all* 
unless it successfully finds an INBOX (and some clients even look for 
Trash as well). With Email Sync disabled in Horde's config, we send 
dummy folders to the client to satisfy this need.
06/23/2015 08:44:27 PM bjoernv (at) arcor (dot) de Comment #3 Reply to this comment
I should add, that during my tests I had
$conf['activesync']['emailsync'] = false;
and forgot this.

After changing it to true, folders with emails show up in Outlook 2013 
and some folders also show up with emails on Android. But I wonder, 
why empty folders show up with emailsync disabled. This may be a 
client issue.
06/23/2015 07:31:49 PM Michael Rubinsky Comment #2
Priority ⇒ 1. Low
State ⇒ Feedback
Reply to this comment
Please attach the ActiveSync log:

To enable debugging, see instructions contained in the ActiveSync 
section of Horde's configuration. Also, see 
http://wiki.horde.org/ActiveSync for more details.
06/23/2015 05:58:44 PM bjoernv (at) arcor (dot) de Comment #1
Priority ⇒ 2. Medium
New Attachment: imap-exchange.txt Download
Patch ⇒ No
Milestone ⇒
Summary ⇒ Horde Active Sync fails to fetch any mails on Courier IMAP server
Type ⇒ Bug
State ⇒ Unconfirmed
Queue ⇒ Horde Groupware Webmail Edition
Reply to this comment
I configured Horde Groupware Webmail Edition with an Courier IMAP 
server (version 4.10.0). Webmail works as expected. Mails and folders 
show up in Horde/IMP.

With active sync enabled, Exchange Active Sync clients (tested with 
Outlook 2013 and Android 5.0.2) fail to fetch any mails.

With Tcpdump and Wireshark I logged the IMAP protocol commands (see 
attachment). The command EXAMINE doesn't find a valid folder on IMAP 
server.

Saved Queries