Comments

9 Comments

Thank you for the feedback, but I get that error only with the previous cyrus-imapd-3.8.1-1.fc39.x86_64 which didn't have the jmap support enabled:

# curl -X POST \
     -H "Content-Type: application/json" \
     -H "Accept: application/json" \
     --user joe:joe \
     -d '{
       "using": [ "urn:ietf:params:jmap:core", "urn:ietf:params:jmap:mail" ],
       "methodCalls": [[ "Mailbox/get", {}, "c1" ]]
     }' \
     http://localhost/jmap/
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"><html><head><title>405 Method Not Allowed</title></head><body><h1>Method Not Allowed</h1><p>The requested method is not allowed for the URL.</p><hr><address>Cyrus-HTTP/3.8.1-1.fc39 Fedora Cyrus-SASL/2.1.28 Lib/XML2.10.4 Jansson/2.13.1 OpenSSL/3.1.0-dev Nghttp2/1.55.1 Zlib/1.2.13 Zstd/1.5.5 LibiCal/3.0 ICU4C/73.2 SQLite/3.42.0 Server at localhost Port 80</address></body></html>#

but with the version cyrus-imapd-3.8.1-4.fc39..x86_64 coming with this update I get the below:

# curl -X POST \
     -H "Content-Type: application/json" \
     -H "Accept: application/json" \
     --user joe:joe \
     -d '{
       "using": [ "urn:ietf:params:jmap:core", "urn:ietf:params:jmap:mail" ],
       "methodCalls": [[ "Mailbox/get", {}, "c1" ]]
     }' \
     http://localhost/jmap/
{"methodResponses":[["Mailbox/get",{"state":"24","list":[{"id":"632be582-7b1a-465d-b2b3-0adac734cc10","name":"Inbox","parentId":null,"myRights":{"mayReadItems":true,"mayAddItems":true,"mayRemoveItems":true,"mayCreateChild":true,"mayDelete":false,"maySubmit":true,"maySetSeen":true,"maySetKeywords":true,"mayAdmin":true,"mayRename":false},"role":"inbox","totalEmails":0,"unreadEmails":0,"totalThreads":0,"unreadThreads":0,"sortOrder":1,"isSubscribed":false}],"notFound":[],"accountId":"joe"},"c1"]],"sessionState":"0"}#

Please, could you double-check the version installed on your system?

This update has been unpushed.

Thank you for all the feedback, cancelling this update due to problems it is causing or would cause.

Thank you for all the feedback, cancelling this update due to problems it is causing or would cause.

This update has been unpushed.

This update has been unpushed.

Gathering more feedback regarding the --no-terminate option (Increased positive karma to get this into stable), currently:

  • ncat man page entry is missing for --no-terminate
  • automated tests failed for some depending on this behavior

Gathering more feedback regarding the --no-terminate option (Increased positive karma to get this into stable), currently:

  • ncat man page entry is missing for --no-terminate
  • automated tests failed for some depending on this behavior

This update has been unpushed.