JMAP support #35

Closed
opened 2019-12-02 20:21:46 +02:00 by Manos Pitsidianakis · 5 comments

This is a tracking issue for JMAP support which is WIP.

  • Authentication. (fastmail uses basic auth, and that's what is used in meli now No standard way to authenticate has been published yet.

  • Read special use roles for mailboxes from Mailbox/query. Requires melib support for special use autodiscover in backends.

This is a tracking issue for JMAP support which is WIP. - [x] Authentication. (fastmail uses basic auth, and that's what is used in `meli` now ~~No standard way to authenticate has been published yet.~~ - [x] ~~Read special use roles for mailboxes from `Mailbox/query`. Requires `melib` support for special use autodiscover in backends.~~
Manos Pitsidianakis added the
enhancement
label 2019-12-02 20:21:46 +02:00
Manos Pitsidianakis added the
JMAP
label 2019-12-07 22:04:18 +02:00
Fastmail has recently published their JMAP endpoint. https://jmap.topicbox.com/groups/fastmail-dev-beta/T83594f41ca76f56c/jmap-crash-course

@arti I'm afraid I don't have a fastmail account! Thankfully there's the Cyrus dev branch that has JMAP support and also the jmap proxy fastmail has published.

@arti I'm afraid I don't have a fastmail account! Thankfully there's the Cyrus dev branch that has JMAP support and also the jmap proxy fastmail has published.

Would you be interested in a FastMail account for development purposes?
I would be willing to sponsor the account.

Would you be interested in a FastMail account for development purposes? I would be willing to sponsor the account.
Manos Pitsidianakis referenced this issue from a commit 2019-12-13 00:40:33 +02:00

@arti That's very kind of you. I got a trial account and have tested the implementation on fastmail's endpoint. It can authenticate, fetch mailboxes and email currently. I merged the jmap branch and it's available in master now.

Thank you very much for the offer, really! 😃

@arti That's very kind of you. I got a trial account and have tested the implementation on fastmail's endpoint. It can authenticate, fetch mailboxes and email currently. I merged the `jmap` branch and it's available in `master` now. Thank you very much for the offer, really! :smiley:
Manos Pitsidianakis added this to the release milestone 2020-03-17 17:31:40 +02:00

I have contacted fastmail support about their JMAP notification endpoint. Here's part of the help ticket that describes the problem:

epilys writes:

According to rfc8620 the Session object returned by a
JMAP server must contain an eventSourceUrl field that
contains the url...:

" The URL to connect to for push events, as described in
Section 7.3, in URI Template (level 1) format [RFC6570].
The URL
MUST contain variables called "types", "closeafter", and
"ping".
The use of these variables is described in Section 7.3."

[..] Right now I'm connecting to jmap.fastmail.com and the
eventSourceUrl is "https://jmap.fastmail.com/event/" [..]

I have contacted fastmail support about their JMAP notification endpoint. Here's part of the help ticket that describes the problem: > ***epilys writes***: > > According to rfc8620 the Session object returned by a > JMAP server must contain an eventSourceUrl field that > contains the url...: > > " The URL to connect to for push events, as described in > Section 7.3, in URI Template (level 1) format [RFC6570]. > The URL > MUST contain variables called "types", "closeafter", and > "ping". > The use of these variables is described in Section 7.3." > > [..] Right now I'm connecting to jmap.fastmail.com and the > eventSourceUrl is "https://jmap.fastmail.com/event/" [..]
Manos Pitsidianakis modified the milestone from release to (deleted) 2020-09-19 14:49:06 +03:00
Sign in to join this conversation.
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: meli/meli#35
There is no content yet.