6.0.0-beta1
9/2/25

[#13495] "Reply state" not synched over devices
Summary "Reply state" not synched over devices
Queue Synchronization
Queue Version Git master
Type Bug
State Not A Bug
Priority 1. Low
Owners mrubinsk (at) horde (dot) org
Requester patrick (at) spamreducer (dot) eu
Created 08/25/2014 (4026 days ago)
Due
Updated 08/26/2014 (4025 days ago)
Assigned 08/25/2014 (4026 days ago)
Resolved 08/25/2014 (4026 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch No

History
08/26/2014 03:42:00 PM Michael Rubinsky Comment #10 Reply to this comment
So in fact we should upgrade to OL2007 or 2010 maybe..
Do you know if in 2007 and 2010 are using smartreply an smartforward 
as default and if there are major issues with ActiveSync?
OL2013 was the first version to support ActiveSync at all.
08/26/2014 07:05:37 AM patrick (at) spamreducer (dot) eu Comment #9 Reply to this comment

[Show Quoted Text - 14 lines]
So in fact we should upgrade to OL2007 or 2010 maybe..
Do you know if in 2007 and 2010 are using smartreply an smartforward 
as default and if there are major issues with ActiveSync?

Thanks!
08/25/2014 05:25:02 PM Michael Rubinsky Comment #8 Reply to this comment

[Show Quoted Text - 10 lines]
Not to mention because of (2) we don't know WHICH flag to set.

08/25/2014 05:13:25 PM Michael Rubinsky Comment #7 Reply to this comment

[Show Quoted Text - 36 lines]
In order to set the "Answered" flag directly on the IMAP server we 
need to know the folder the original message is in as well as the 
message's UID. We don't know either of these things from the simple 
SENDMAIL command that OL2013 is issuing. All we have is the 
In-Reply-To header - which tells us nothing about about which folder 
the original email is located in. It's possible to search for this 
message on the IMAP server, but since we don't know which folder it's 
in, it is a potentially inefficient operation for little gain (setting 
the Answered or Forwarded flag - something the client should be doing 
on it's own).
   2. finding a possibility to distinguish if it's a REPLY or FORWARD 
(parsing the Subject is not OK since it could be changed)
Correct. Since the In-Reply-To header is sent in both reply and 
forward operations, we don't know which action was performed. I guess 
parsing the subject could be an option, but as you say, it's not 100% 
reliable since it can be changed...


08/25/2014 04:54:12 PM patrick (at) spamreducer (dot) eu Comment #6 Reply to this comment

[Show Quoted Text - 15 lines]
Agree, but they should try smartreply and smarforward as default..
Well we can't do anything.
After looking at this further, though, it's not going to be possible 
to work around this since we have NO way of knowing if it's a reply 
vs a forward, nor do we know the original UID of the original IMAP 
message, or even what folder it's from (so we can't efficiently look 
it up).
I'm not really understanding what you mean..

Think about this test-scenario:

1. I get a message from lets say "client@gmail.com"
   -> message-header:
------------8<----------------------------------------------------------------
Message-ID: 
<CACQS2qqQrAa2QMi=pHRB4Rgn8XZtAhuqCq99LvT-Kp4SbU4LNQ@mail.gmail.com>
------------8<----------------------------------------------------------------

2. I reply to this message from OL2013:
   -> message-header(s):
------------8<----------------------------------------------------------------
References: 
<CACQS2qqQrAa2QMi=pHRB4Rgn8XZtAhuqCq99LvT-Kp4SbU4LNQ@mail.gmail.com>
In-Reply-To: 
<CACQS2qqQrAa2QMi=pHRB4Rgn8XZtAhuqCq99LvT-Kp4SbU4LNQ@mail.gmail.com>
------------8<----------------------------------------------------------------

3. I forward this message from OL2013:
------------8<----------------------------------------------------------------
References: 
<CACQS2qqQrAa2QMi=pHRB4Rgn8XZtAhuqCq99LvT-Kp4SbU4LNQ@mail.gmail.com>
In-Reply-To: 
<CACQS2qqQrAa2QMi=pHRB4Rgn8XZtAhuqCq99LvT-Kp4SbU4LNQ@mail.gmail.com>
------------8<----------------------------------------------------------------

..so the problems in coding would be:
   1. saving the original "Message-ID" vs. "UID"
   2. finding a possibility to distinguish if it's a REPLY or FORWARD 
(parsing the Subject is not OK since it could be changed)

Am I supposing this right?
08/25/2014 04:05:11 PM Michael Rubinsky Comment #5
State ⇒ Not A Bug
Reply to this comment
This is because OL doesn't send "SMART" replies or forwards, so it's
not obvious it's a reply. We can sniff out the In-Reply-To header
though.
..and again it's some Outlook "magic"..

As quoted from Microsoft since EAS 14.0 it is implemented in every 
their software, but it is *NOT* .
This one isn't really a fault. The specs don't state that a SMART 
request MUST be used, only that it CAN be used to save bandwidth. The 
SMART request saves bandwidth at the expense of server load (since the 
original IMAP message must be fetched from the IMAP server and parsed).

After looking at this further, though, it's not going to be possible 
to work around this since we have NO way of knowing if it's a reply vs 
a forward, nor do we know the original UID of the original IMAP 
message, or even what folder it's from (so we can't efficiently look 
it up).

These things mean that the log message would be pointless, and we 
couldn't set the IMAP flag either.
08/25/2014 03:48:10 PM patrick (at) spamreducer (dot) eu Comment #4 Reply to this comment
This is because OL doesn't send "SMART" replies or forwards, so it's 
not obvious it's a reply. We can sniff out the In-Reply-To header 
though.
..and again it's some Outlook "magic"..

As quoted from Microsoft since EAS 14.0 it is implemented in every 
their software, but it is *NOT* .

Could the "In-Reply-Header" parsing just enabled in code or do you 
have to program it?

Thanks!
08/25/2014 03:15:08 PM Michael Rubinsky Comment #3
State ⇒ Assigned
Assigned to Michael Rubinsky
Reply to this comment
This is because OL doesn't send "SMART" replies or forwards, so it's 
not obvious it's a reply. We can sniff out the In-Reply-To header 
though.
08/25/2014 09:01:54 AM patrick (at) spamreducer (dot) eu Comment #2 Reply to this comment
..to state more precisely it's just happening when working with 
Outlook 2013, from Android 4.X the replied flag is syncronised! 
(confirmed in webmail).
08/25/2014 08:16:08 AM patrick (at) spamreducer (dot) eu Comment #1
Priority ⇒ 1. Low
Type ⇒ Bug
Summary ⇒ "Reply state" not synched over devices
Queue ⇒ Synchronization
Milestone ⇒
Patch ⇒ No
State ⇒ Unconfirmed
Reply to this comment
Hi guys,
not sure if this is a BUG, but I'll post it even though..

Issue: Replied message flags are not synched between OL2013 and 
Android 4.X smartphone..

Since of EAS 14.0 the "Reply state sync" should be run with devices 
capable of this protocoll spec I suppose this should work in my 
environment..

Could you plese confirm this or give me a hint to enable it on my 
installation?

Thanks!

Saved Queries