cyrusimap / cyrus-imapd

Cyrus IMAP is an email, contacts and calendar server
http://cyrusimap.org
Other
534 stars 146 forks source link

JMAP "Identity/set" method not supported #3665

Open Camen9527 opened 3 years ago

Camen9527 commented 3 years ago

JMAP Identity/set not implemented in the latest release?

Request with JMAP:

POST /jmap/ HTTP/1.1
Host: foo.com
Authorization: Basic foo
Content-Type: application/json
Content-Length: 452

{
    "using": [
        "urn:ietf:params:jmap:submission"
    ],
    "methodCalls": [
        [
            "Identity/set",
            {
                "accountId": "foo@foo.com",
                "update": {
                    "foo@foo.com": {
                        "name": "foo"
                    }
                }
            },
            "c1"
        ]
    ]
}

Got the response:

{
    "methodResponses": [
        [
            "error",
            {
                "type": "unknownMethod"
            },
            "c1"
        ]
    ],
    "sessionState": "0"
}
brong commented 3 years ago

Correct - Identity/set is not yet implemented in Cyrus. In fact, the "Identity" support at all is very basic in Cyrus - it just manufactures a basic identity with the email address.

Leaving this open because it's definitely an enhancement we'd like to do.

Camen9527 commented 3 years ago

@brong Got it, thanks.

amessina commented 3 months ago

This would be an important feature to implement as LTT.rs and Twake mail tmail-flutter don't seem to work properly without it.