6.0.0-beta1
7/8/25

[#14509] No Mail via Activesync with IMAP
Summary No Mail via Activesync with IMAP
Queue Synchronization
Queue Version FRAMEWORK_5_2
Type Bug
State Resolved
Priority 2. Medium
Owners
Requester martin.ament (at) gmx (dot) de
Created 11/10/2016 (3162 days ago)
Due
Updated 11/10/2016 (3162 days ago)
Assigned
Resolved 11/10/2016 (3162 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch No

History
11/10/2016 02:38:07 PM martin (dot) ament (at) gmx (dot) de Comment #4 Reply to this comment
This should have been fixed already in Horde_ActiveSync 2.37.3.
Updated to 2.37.3 and it is working again.

11/10/2016 02:31:13 PM martin (dot) ament (at) gmx (dot) de Comment #3 Reply to this comment
Just checked my devices.

It is working for the first time.

2016-11-10T15:07:59+01:00 INFO: [21385] 
Horde_Core_ActiveSync_Driver::getServerChanges(INBOX, 1478783140, 
1478786879, 1478182079, 0, 1, 100, )
2016-11-10T15:07:59+01:00 INFO: [21385] INBOX IMAP PREVIOUS MODSEQ: 38693
2016-11-10T15:07:59+01:00 INFO: [21385] IMAP status: 
a:4:{s:8:"messages";i:16;s:7:"uidnext";i:15058;s:11:"uidvalidity";i:1353969392;s:13:"highestmodseq";i:38698;}
2016-11-10T15:07:59+01:00 ERR: State not initialized.
2016-11-10T15:07:59+01:00 INFO: [21385] Found 0 message changes in F4decff8d.

I get this error even if new Mails are in the inbox. I reverted my 
change from the previous post.

11/10/2016 01:53:46 PM Jan Schneider Comment #2
State ⇒ Resolved
Reply to this comment
This should have been fixed already in Horde_ActiveSync 2.37.3.
11/10/2016 12:52:29 PM martin (dot) ament (at) gmx (dot) de Comment #1
Priority ⇒ 2. Medium
Patch ⇒ No
Milestone ⇒
Queue ⇒ Synchronization
Due ⇒ 11/24/2016
Summary ⇒ No Mail via Activesync with IMAP
Type ⇒ Bug
State ⇒ Unconfirmed
Reply to this comment
I use Horde Version 5.2.16. I use a lot of mobile devices synced over 
activesync. Everything was working fine till i updated via PEAR at the 
beginning of November 2016.

Syncing Mail stopped since then. I did some research and debugged activesync.

There was an error that UIDVALIDITY is no longer supported with IMAP. 
In the errormessage there was a typo UIDVALIDTY.

I searched my sources and found
PEAR/Horde/ActiveSync/Imap/Adapter.php
a changed file.

I changed the file at line 334 from
-- Adapter.php --
         $status_flags = Horde_Imap_Client::STATUS_HIGHESTMODSEQ |
             Horde_Imap_Client::STATUS_UIDVALIDITY |
-- Adapter.php --

to
-- Adapter.php --
         $status_flags = Horde_Imap_Client::STATUS_HIGHESTMODSEQ |
             //Horde_Imap_Client::STATUS_UIDVALIDITY |
-- End Adapter.php --

With this change activesync is working again on all my devices.

Saved Queries