HI Angelo!
The reason why the delete is not synced to the server is that Outlook cannot 
build the MoveItem-operation because it doesn't have a ServerId for the 
trash-folder.

- Make sure that the Trash folder exists on the IMAP-Server (INBOX.Trash in 
your case - you could just delete an email via the web ui).
- Next FolderSync-response will contain the infos about the trash-folder.
- The next delete on OL should generate a MoveItem-operation ...

To get more infos about eas-requests you can set SOGoEASDebugEnabled.

Regards,
Thomas

-----Ursprüngliche Nachricht-----
Von: [email protected] [mailto:[email protected]] Im Auftrag von Angelo 
Conforti
Gesendet: Samstag, 18. Juli 2015 11:48
An: [email protected]
Betreff: [SOGo] Activesync trouble with IMAP LIST loop

Hi,
   this is my first post and I don't know if I need to open a bug ticket or 
not. I'm trying to setup a SOGo (2.3.0 and nightly release) installation for 
ActiveSync clients like Outlook 2013 or Windows Mail
(bleah) and I've a preesistent running IMAP server with Dovecot 2.2.13 and 
maildir backend. For test purpose I'm using my large INBOX (5Gb of mail, 220k 
messages).

After initial sync, where the client (Windows Mail or Outlook 2013 with EAS 
configuration) download the folder list and INBOX content, SOGo start a loop 
where asks complete folder list (this is a socat log, SOGo connects to the 
localhost:144 and socat log and forward packets to the
localhost:143):

> 2015/07/18 11:06:24.310413  length=41 from=64069 to=64109
> 1410 list "" "*" return (status (x-guid)) < 2015/07/18 11:06:24.541733  
> length=8192 from=12246478 to=12254669
> * LIST () "." INBOX\r
> * STATUS INBOX (X-GUID 2c092b130ee8cd54df290000334545e2)\r
> * LIST () "." INBOX.Lavoro\r
> * STATUS INBOX.Lavoro (X-GUID a953f238e0b25855832b0000d53c2401)\r
> * LIST () "." INBOX.Lavoro.Ys\r
[...]

and then asks the status of special folders (Drafts, Trash, Sent) and receives 
the requested data:

[...previous list...]
> 1410 OK List completed.\r
>> 2015/07/18 11:06:25.236833  length=40 from=64112 to=64151
> 1411 status "INBOX.Drafts" (UIDVALIDITY)< 2015/07/18 11:06:25.237392  
> length=75 from=12280187 to=12280261
> * STATUS INBOX.Drafts (UIDVALIDITY 1262629219)\r
> 1411 OK Status completed.\r
>> 2015/07/18 11:06:25.237598  length=2 from=64152 to=64153
> \r
>> 2015/07/18 11:06:25.273935  length=46 from=64154 to=64199
> 1412 status "INBOX.Sent Items" (UIDVALIDITY)\r < 2015/07/18 
> 11:06:25.276236  length=81 from=12280262 to=12280342
> * STATUS "INBOX.Sent Items" (UIDVALIDITY 1262625493)\r
> 1412 OK Status completed.\r
>> 2015/07/18 11:06:25.276789  length=39 from=64200 to=64238
> 1413 status "INBOX.Trash" (UIDVALIDITY)< 2015/07/18 11:06:25.277199  
> length=74 from=12280343 to=12280416
> * STATUS INBOX.Trash (UIDVALIDITY 1411639996)\r
> 1413 OK Status completed.\r
>> 2015/07/18 11:06:25.277497  length=2 from=64239 to=64240
> \r

This loop continues until the process finish memory and clients (VxMemory sets 
to 512) and the client is disconnected. The problem is that when SOGo enter in 
the LIST loop any action taken on EAS Client (Windows Mail) is not reported to 
the IMAP folder; if I delete a mail on the client when SOGo is download mail 
from IMAP server, the delete command runs successful and the mail is removed 
from the IMAP server, if I delete a mail when SOGo is in the "LIST" loop, the 
action is ignored on the server.

What can I do to analize the issue?
Angelo
--
[email protected]
https://inverse.ca/sogo/lists

-- 
[email protected]
https://inverse.ca/sogo/lists

Reply via email to