6.0.0-beta1
▾
Tasks
New Task
Search
Photos
Wiki
▾
Tickets
New Ticket
Search
dev.horde.org
Toggle Alerts Log
Help
11/4/25
H
istory
A
ttachments
C
omment
W
atch
Download
Comment on [#12970] Don't override sticky OPTIONS values with default values.
*
Your Email Address
*
Spam protection
Enter the letters below:
.__..___.___. ,.__ | |[__ [__ \./ [ __ |__|| [___ | [_./
Comment
> That's why I'm asking. The logs below show an HTML message being > sent, which doesn't support SMIME. The device must explicitly request > a MIME message. E.g., this is the OPTIONS portion of a SYNC request > the is NOT requesting a MIME message: > > 2014-10-25T14:48:23-04:00 DEBUG: [281] I <Options> > 2014-10-25T14:48:23-04:00 DEBUG: [281] I <FilterType> > 2014-10-25T14:48:23-04:00 DEBUG: [281] I 5 > 2014-10-25T14:48:23-04:00 DEBUG: [281] I </FilterType> > 2014-10-25T14:48:23-04:00 DEBUG: [281] I <MIMETruncation> > 2014-10-25T14:48:23-04:00 DEBUG: [281] I 1 > 2014-10-25T14:48:23-04:00 DEBUG: [281] I </MIMETruncation> > 2014-10-25T14:48:23-04:00 DEBUG: [281] I <MIMESupport> > 2014-10-25T14:48:23-04:00 DEBUG: [281] I 0 > 2014-10-25T14:48:23-04:00 DEBUG: [281] I </MIMESupport> > 2014-10-25T14:48:23-04:00 DEBUG: [281] I <AirSyncBase:BodyPreference> > 2014-10-25T14:48:23-04:00 DEBUG: [281] I <AirSyncBase:Type> > 2014-10-25T14:48:23-04:00 DEBUG: [281] I 1 > 2014-10-25T14:48:23-04:00 DEBUG: [281] I </AirSyncBase:Type> > 2014-10-25T14:48:23-04:00 DEBUG: [281] I <AirSyncBase:TruncationSize> > 2014-10-25T14:48:23-04:00 DEBUG: [281] I 500 > 2014-10-25T14:48:23-04:00 DEBUG: [281] I </AirSyncBase:TruncationSize> > 2014-10-25T14:48:23-04:00 DEBUG: [281] I </AirSyncBase:BodyPreference> > 2014-10-25T14:48:23-04:00 DEBUG: [281] I </Options> > > The MIMESupport element is set to '0' - which means no mime support. > The BodyPreference Type is set to '1', which indicates plaintext. So > the client is requesting only a plaintext representation of the > message. No MIME and no S/MIME. This results in the following log > snippits: > > 2014-10-25T14:48:23-04:00 INFO: [281] > Horde_Core_ActiveSync_Driver::getMessage(INBOX, 255000) > 2014-10-25T14:48:23-04:00 INFO: [281] Sending PLAINTEXT Message. > . > . > . > 2014-10-25T14:48:23-04:00 DEBUG: [281] O <POOMMAIL:MessageClass> > 2014-10-25T14:48:23-04:00 DEBUG: [281] O IPM.Note > 2014-10-25T14:48:23-04:00 DEBUG: [281] O </POOMMAIL:MessageClass> > . > . > 2014-10-25T14:48:23-04:00 DEBUG: [281] O <POOMMAIL:MessageClass> > 2014-10-25T14:48:23-04:00 DEBUG: [281] O IPM.Note > 2014-10-25T14:48:23-04:00 DEBUG: [281] O </POOMMAIL:MessageClass> > 2014-10-25T14:48:23-04:00 DEBUG: [281] O <POOMMAIL:InternetCPID> > 2014-10-25T14:48:23-04:00 DEBUG: [281] O 65001 > 2014-10-25T14:48:23-04:00 DEBUG: [281] O </POOMMAIL:InternetCPID> > 2014-10-25T14:48:23-04:00 DEBUG: [281] O <AirSyncBase:NativeBodyType> > 2014-10-25T14:48:23-04:00 DEBUG: [281] O 1 > 2014-10-25T14:48:23-04:00 DEBUG: [281] O </AirSyncBase:NativeBodyType> > 2014-10-25T14:48:23-04:00 DEBUG: [281] O <AirSyncBase:Body> > 2014-10-25T14:48:23-04:00 DEBUG: [281] O <AirSyncBase:Type> > 2014-10-25T14:48:23-04:00 DEBUG: [281] O 1 > 2014-10-25T14:48:23-04:00 DEBUG: [281] O </AirSyncBase:Type> > 2014-10-25T14:48:23-04:00 DEBUG: [281] O > <AirSyncBase:EstimatedDataSize> > 2014-10-25T14:48:23-04:00 DEBUG: [281] O 139 > 2014-10-25T14:48:23-04:00 DEBUG: [281] O > </AirSyncBase:EstimatedDataSize> > 2014-10-25T14:48:23-04:00 DEBUG: [281] O <AirSyncBase:Data> > 2014-10-25T14:48:23-04:00 DEBUG: [281] O [STREAM] > 2014-10-25T14:48:23-04:00 DEBUG: [281] O </AirSyncBase:Data> > 2014-10-25T14:48:23-04:00 DEBUG: [281] O </AirSyncBase:Body> > > The following is the OPTIONS request from the same client, but > asking for the MIME data: > > 2014-10-25T14:48:23-04:00 DEBUG: [282] I <Options> > 2014-10-25T14:48:23-04:00 DEBUG: [282] I <FilterType> > 2014-10-25T14:48:23-04:00 DEBUG: [282] I 5 > 2014-10-25T14:48:23-04:00 DEBUG: [282] I </FilterType> > 2014-10-25T14:48:23-04:00 DEBUG: [282] I <MIMESupport> > 2014-10-25T14:48:23-04:00 DEBUG: [282] I 2 > 2014-10-25T14:48:23-04:00 DEBUG: [282] I </MIMESupport> > 2014-10-25T14:48:23-04:00 DEBUG: [282] I <AirSyncBase:BodyPreference> > 2014-10-25T14:48:23-04:00 DEBUG: [282] I <AirSyncBase:Type> > 2014-10-25T14:48:23-04:00 DEBUG: [282] I 4 > 2014-10-25T14:48:23-04:00 DEBUG: [282] I </AirSyncBase:Type> > 2014-10-25T14:48:23-04:00 DEBUG: [282] I <AirSyncBase:TruncationSize> > 2014-10-25T14:48:23-04:00 DEBUG: [282] I 32768 > 2014-10-25T14:48:23-04:00 DEBUG: [282] I </AirSyncBase:TruncationSize> > 2014-10-25T14:48:23-04:00 DEBUG: [282] I </AirSyncBase:BodyPreference> > 2014-10-25T14:48:23-04:00 DEBUG: [282] I </Options> > > This time, MIMESupport is '2', which means the client can support any > MIME messages (including S/MIME). It could also be set to '1', which > means only S/MIME data is allowed. This results in the following > output (same message as in previous example): > > 2014-10-25T14:48:23-04:00 INFO: [282] > Horde_Core_ActiveSync_Driver::getMessage(INBOX, 255000) > 2014-10-25T14:48:24-04:00 INFO: [282] Sending MIME Message. > 2014-10-25T14:48:24-04:00 INFO: [282] Checking MIMETRUNCATION: , > ServerData: 10353 > . > . > . > 2014-10-25T14:48:24-04:00 DEBUG: [282] O <POOMMAIL:MessageClass> > 2014-10-25T14:48:24-04:00 DEBUG: [282] O > IPM.Note.SMIME.MultipartSigned > 2014-10-25T14:48:24-04:00 DEBUG: [282] O </POOMMAIL:MessageClass> > 2014-10-25T14:48:24-04:00 DEBUG: [282] O <POOMMAIL:InternetCPID> > 2014-10-25T14:48:24-04:00 DEBUG: [282] O 65001 > 2014-10-25T14:48:24-04:00 DEBUG: [282] O </POOMMAIL:InternetCPID> > 2014-10-25T14:48:24-04:00 DEBUG: [282] O <AirSyncBase:NativeBodyType> > 2014-10-25T14:48:24-04:00 DEBUG: [282] O 1 > 2014-10-25T14:48:24-04:00 DEBUG: [282] O </AirSyncBase:NativeBodyType> > 2014-10-25T14:48:24-04:00 DEBUG: [282] O <AirSyncBase:Body> > 2014-10-25T14:48:24-04:00 DEBUG: [282] O <AirSyncBase:Type> > 2014-10-25T14:48:24-04:00 DEBUG: [282] O 4 > 2014-10-25T14:48:24-04:00 DEBUG: [282] O </AirSyncBase:Type> > 2014-10-25T14:48:24-04:00 DEBUG: [282] O > <AirSyncBase:EstimatedDataSize> > 2014-10-25T14:48:24-04:00 DEBUG: [282] O 10353 > 2014-10-25T14:48:24-04:00 DEBUG: [282] O > </AirSyncBase:EstimatedDataSize> > 2014-10-25T14:48:24-04:00 DEBUG: [282] O <AirSyncBase:Truncated> > 2014-10-25T14:48:24-04:00 DEBUG: [282] O 0 > 2014-10-25T14:48:24-04:00 DEBUG: [282] O </AirSyncBase:Truncated> > 2014-10-25T14:48:24-04:00 DEBUG: [282] O <AirSyncBase:Data> > 2014-10-25T14:48:24-04:00 DEBUG: [282] O [STREAM] > 2014-10-25T14:48:24-04:00 DEBUG: [282] O </AirSyncBase:Data> > 2014-10-25T14:48:24-04:00 DEBUG: [282] O </AirSyncBase:Body> > > The BodyType of '4' indicates it is a MIME message, and the > MessageClass indicates it's S/MIME Signed. I have similar tests with > just encrypted and signed/encrypted.
Attachment
Watch this ticket
N
ew Ticket
M
y Tickets
S
earch
Q
uery Builder
R
eports
Saved Queries
Open Bugs
Bugs waiting for Feedback
Open Bugs in Releases
Open Enhancements
Enhancements waiting for Feedback
Bugs with Patches
Enhancements with Patches
Release Showstoppers
Stalled Tickets
New Tickets
Horde 5 Showstoppers