6.0.0-beta1
8/12/25

[#15152] Mail cannot be forwarded via Activesync
Summary Mail cannot be forwarded via Activesync
Queue Synchronization
Queue Version Git master
Type Bug
State Resolved
Priority 1. Low
Owners mrubinsk (at) horde (dot) org
Requester cheese (at) nosuchhost (dot) net
Created 09/29/2023 (683 days ago)
Due
Updated 10/19/2023 (663 days ago)
Assigned 09/29/2023 (683 days ago)
Resolved 10/18/2023 (664 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch No

History
10/19/2023 06:14:43 AM cheese (at) nosuchhost (dot) net Comment #12 Reply to this comment
Works fine with out testfiles.
Thanks. Appreciate your work.
10/18/2023 06:33:11 PM Michael Rubinsky State ⇒ Resolved
 
10/17/2023 04:03:30 AM Michael Rubinsky Comment #11 Reply to this comment
Sorry, make that 2.11.4.
Please try updating to the just released Horde_Mime package (2.11.3).
10/17/2023 03:53:23 AM Michael Rubinsky Comment #10 Reply to this comment
Please try updating to the just released Horde_Mime package (2.11.3).
10/16/2023 09:53:09 PM Michael Rubinsky Comment #9
Assigned to Michael Rubinsky
Reply to this comment
I've narrowed this down to the "Thread-Index" header that outlook is 
sending in the ActiveSync forward command. It is too long to be sent 
without the SMTP Binary extension, which not many smtp servers 
actually support out of the box (including Postfix).

Looking into how we can intercept this and possibly mitigate.
10/12/2023 02:57:56 PM Michael Rubinsky Comment #8 Reply to this comment
Any suggestion on how to fix that?
No yet, no. I haven't had time to look.

10/12/2023 02:27:58 PM cheese (at) nosuchhost (dot) net Comment #7 Reply to this comment
Any suggestion on how to fix that?
10/02/2023 07:33:23 AM cheese (at) nosuchhost (dot) net Comment #6 Reply to this comment
and no entry in /var/log/horde.log
10/02/2023 07:32:18 AM cheese (at) nosuchhost (dot) net Comment #5
New Attachment: horde-ticket-15152.tar.bz2 Download
Reply to this comment
attached you have a tarfile with 2 logs and two mails.

testmail-with-references and testmail-without-references are two 
stripped down mails and have only differences in their subject and the 
amount of references (1 line vs ca 160 lines)

and the activesynclogs for both forwards. once for forwarding with 
lots of refernces (throwing error " Server does not support binary 
message data." and the second successful try without errors.

thanks for your quick answer.
appreciated



09/29/2023 05:07:40 PM Michael Rubinsky Comment #4
State ⇒ Feedback
Reply to this comment
What, exactly, happens when you try? Do you see any information in 
either the server error logs or activesync logs?
09/29/2023 08:17:46 AM cheese (at) nosuchhost (dot) net Comment #3 Reply to this comment
our example has 162 references or References-lines in the mail-header
09/29/2023 08:09:42 AM cheese (at) nosuchhost (dot) net Comment #2 Reply to this comment
Original mail can be provided if needed:

the mail shall not be used in public

reference /home/75/074/03/42/RAJO
09/29/2023 08:07:44 AM cheese (at) nosuchhost (dot) net Comment #1
Priority ⇒ 1. Low
Type ⇒ Bug
Summary ⇒ Mail cannot be forwarded via Activesync
Queue ⇒ Synchronization
Milestone ⇒
Patch ⇒ No
State ⇒ Unconfirmed
Reply to this comment
Horde-ActiveSync-2.41.9

we have an email, which cannot be forwarded with outlook connected via 
activesync.
The problem comes from excessive references in the Mail-Header.

If those get deleted in the original mail, it can be fowarded as usual

Mail header NOT Working:

Importance: high
X-Priority: 1
Date: Tue, 19 Sep 2023 06:23:58 +0000
Message-ID:
   
<DB9P193MB1946514CCEBEBB30E5445C52C1FAA@DB9P193MB1946.EURP193.PROD.OUTLOOK.COM>
References:
   
<AM0P193MB0355D772F7839A51F5DC9CEBC14C0@AM0P193MB0355.EURP193.PROD.OUTLOOK.COM>
   
<AM0P193MB035503DD3B92ADC84B0AF53EC14C0@AM0P193MB0355.EURP193.PROD.OUTLOOK.COM>
   
<AM0P193MB03552A956ECF6E26A10BFCD8C14C0@AM0P193MB0355.EURP193.PROD.OUTLOOK.COM>
   
<AM0P193MB03555119E9515D86FFFB511EC14C0@AM0P193MB0355.EURP193.PROD.OUTLOOK.COM>
...
lots of other references
...
   
<DB9P193MB19467AB595FDD686945B3935C1FAA@DB9P193MB1946.EURP193.PROD.OUTLOOK.COM>
   
<DB9P193MB1946C55F04F56D24C414C5F6C1FAA@DB9P193MB1946.EURP193.PROD.OUTLOOK.COM>
In-Reply-To:
   
<DB9P193MB1946C55F04F56D24C414C5F6C1FAA@DB9P193MB1946.EURP193.PROD.OUTLOOK.COM>
Accept-Language: de-DE, en-US

Saved Queries