fmbiete / Z-Push-contrib

Z-Push fork with changes that I will try to contrib
GNU Affero General Public License v3.0
135 stars 62 forks source link

Sync - imap on iPhone #116

Open stef157 opened 9 years ago

stef157 commented 9 years ago

Hi, I try to sync a dovecot account with z-push on my iPhone…

I can't download my email and when I check de status it's still 0%.

Synchronized devices of user: MyEmail
Device type: iPhone
UserAgent: Apple-iPhone6C2/1202.411
Device Model: iPhone6C2
Device friendly name: iPhone 5s
Device OS: iOS 8.1 12B411
Device OS Language: en
ActiveSync version: 14.0
First sync: 2014-12-12 12:11
Last sync: 2014-12-12 13:03
Total folders: 11
Synchronized folders: 3 (1 in progress)
Synchronized data: Emails(3) 
Synchronization progress:
Folder: Emails Sync: Initialized Status: 0% (0/131)
Status: OK
WipeRequest on: not set
WipeRequest by: not set
Wiped on: not set
Attention needed: No errors known

And I get this in my log :

12/12/2014 13:06:18 [ 1957] [WARN] [MyEmail] Mobile loop detected! Messages sent to the mobile will be restricted to 1 items in order to identify the conflict
12/12/2014 13:06:18 [ 1957] [INFO] [MyEmail] Version='2.1.3-1892' method='POST' from='IP' cmd='Sync' getUser='MyEmail' devId='MyDeviceID' devType='iPhone'

And idea how to solve that ?

Thanks !

fmbiete commented 9 years ago

Hi @stef157

Put your log in WBXML level to follow the complete process. Mobile loop are errors in the mobile side; sometimes the device won't acknodelewdge the reception because the message contains wrong encoded chars, or poorly reception...

If you can try with an empty account, and putting some emails once the first sync is completed it would be great.