View Issue Details

IDProjectCategoryView StatusLast Update
0003017SOGoActiveSyncpublic2015-03-18 14:29
ReporterSigurd Holter Assigned Toludovic  
PriorityhighSeverityminorReproducibilityalways
Status resolvedResolutionsuspended 
PlatformOutlook 2013OSWindows serverOS Version2012R2
Product Version2.2.10 
Summary0003017: Mails are doubled for each synchronization
Description

Outlook 2013 synchronizes emails with SOGo server fine first time.
When Outlook is closed and then opened again, mails are downloaded again.
We have only tried this once, as downloading 10000+ emails takes some time.

TagsNo tags attached.

Activities

ludovic

ludovic

2014-12-30 17:48

administrator   ~0007948

Is it sill relevant with 2.2.13?

ludovic

ludovic

2015-01-09 20:49

administrator   ~0008041

No feedback provided, closing.

Sigurd Holter

Sigurd Holter

2015-01-12 08:24

reporter   ~0008051

This is still happening on 2.2.13

tfu

tfu

2015-01-12 09:06

reporter   ~0008052

Maybe this is a similar issue as described here:
https://lists.inverse.ca/sogo/arc/users/2015-01/msg00051.html

ludovic

ludovic

2015-01-12 19:46

administrator   ~0008057

Do what tfu mentioned in his mailing post.

Sigurd Holter

Sigurd Holter

2015-01-13 07:44

reporter   ~0008060

Are you referring to https://lists.inverse.ca/sogo/arc/users/2014-12/msg00177.html ?
Should I drop the user's sogo_cache_folder table completely ?
How will this affect existing mail programs using IMAP/Thunderbird/calendar/contacts of the user ?

tfu

tfu

2015-01-13 09:14

reporter   ~0008061

This table contains only infos for eas. Dropping it will effect all users using EAS.
You can first try to delete EAS data for a specific define only:
sogo-tool manage-eas resetdevice <youruser> <deviceId>

After running above command all entries containing the deviceId in c_path should be gone from the table.

Sigurd Holter

Sigurd Holter

2015-01-13 09:49

reporter   ~0008062

Ok, I see 2 deviceids - how can I tell which one is Outlook 2013 (which I want to reset) and which one is the user's WP8 phone (which I want to leave untouched) ?

tfu

tfu

2015-01-13 12:08

reporter   ~0008064

Search the deviceId in sogo.log -> DeviceType=WindowsOutlook15

Sigurd Holter

Sigurd Holter

2015-01-14 08:04

reporter   ~0008073

Seems a resetdevice did the trick.

Sigurd Holter

Sigurd Holter

2015-01-19 10:27

reporter   ~0008089

Using nightly build 20150108 I now have two users facing this problem.

Mails are doubled/tripled/quadrupled in Outlook 2013 even after a full resetdevice and creating new profile.

tfu

tfu

2015-01-19 14:04

reporter   ~0008090

Enable ImapDebugEnabled = YES for a short period and provide the log.

Sigurd Holter

Sigurd Holter

2015-01-19 15:54

reporter   ~0008091

Log file is > 2MB and I would prefer not to have it uploaded on a public site. Can I mail it somewhere ?

tfu

tfu

2015-01-19 16:15

reporter   ~0008092

Upload it to a public site. thx

Sigurd Holter

Sigurd Holter

2015-01-19 16:18

reporter   ~0008093

I would prefer not to have it on a public site, but to keep the log file private.

tfu

tfu

2015-01-19 16:27

reporter   ~0008094

Mail the first 2MB of the file to tfu@aon.at

Sigurd Holter

Sigurd Holter

2015-01-19 18:34

reporter   ~0008095

Mail is sent, let me know if you need more.

Sigurd Holter

Sigurd Holter

2015-01-23 08:34

reporter   ~0008103

Last edited: 2015-01-23 08:34

Thanks to tfu for invaluable help here.

It might seem that if the connection to the underlying database (MySQL) and/or IMAP-server fails during sync, then a "bad" EAS response is sent causing Outlook 2013 to restart sync from the start.

IMHO SOGo should report an appropriate error to the EAS request so this double sync doesn't happen - I don't know enough about EAS to say if this is possible at all.

We are currently testing to see if this indeed the cause for this bug, but it seems entirely plausible.

Sigurd Holter

Sigurd Holter

2015-03-05 15:05

reporter   ~0008247

The double-mail-problem has gone away, so it seems to have been the MySQL/IMAP connection loss that caused this.

Issue History

Date Modified Username Field Change
2014-12-09 12:54 Sigurd Holter New Issue
2014-12-30 17:48 ludovic Note Added: 0007948
2015-01-09 20:49 ludovic Note Added: 0008041
2015-01-09 20:49 ludovic Status new => resolved
2015-01-09 20:49 ludovic Resolution open => suspended
2015-01-09 20:49 ludovic Assigned To => ludovic
2015-01-12 08:10 Sigurd Holter Status resolved => feedback
2015-01-12 08:10 Sigurd Holter Resolution suspended => reopened
2015-01-12 08:24 Sigurd Holter Note Added: 0008051
2015-01-12 08:24 Sigurd Holter Status feedback => assigned
2015-01-12 09:06 tfu Note Added: 0008052
2015-01-12 19:46 ludovic Note Added: 0008057
2015-01-12 19:46 ludovic Severity major => minor
2015-01-13 07:44 Sigurd Holter Note Added: 0008060
2015-01-13 09:14 tfu Note Added: 0008061
2015-01-13 09:49 Sigurd Holter Note Added: 0008062
2015-01-13 12:08 tfu Note Added: 0008064
2015-01-14 08:04 Sigurd Holter Note Added: 0008073
2015-01-14 12:10 ludovic Status assigned => resolved
2015-01-14 12:10 ludovic Resolution reopened => suspended
2015-01-19 10:27 Sigurd Holter Note Added: 0008089
2015-01-19 10:27 Sigurd Holter Status resolved => feedback
2015-01-19 10:27 Sigurd Holter Resolution suspended => reopened
2015-01-19 14:04 tfu Note Added: 0008090
2015-01-19 15:54 Sigurd Holter Note Added: 0008091
2015-01-19 15:54 Sigurd Holter Status feedback => assigned
2015-01-19 16:15 tfu Note Added: 0008092
2015-01-19 16:18 Sigurd Holter Note Added: 0008093
2015-01-19 16:27 tfu Note Added: 0008094
2015-01-19 18:34 Sigurd Holter Note Added: 0008095
2015-01-23 08:34 Sigurd Holter Note Added: 0008103
2015-01-23 08:34 Sigurd Holter Note Edited: 0008103
2015-03-05 15:05 Sigurd Holter Note Added: 0008247
2015-03-18 14:29 ludovic Status assigned => resolved
2015-03-18 14:29 ludovic Resolution reopened => suspended