Skip to content

[Bug]: Storage quota display does not work with Stalwart JMAP quota response #577

Description

@Jamira40

Description

Bulwark does not show the storage quota widget for a Stalwart account even though Stalwart advertises urn:ietf:params:jmap:quota and returns a valid Quota/get response.
This appears to be caused by Bulwark calling Quota/get without including urn:ietf:params:jmap:quota in the request using list. Stalwart correctly rejects that request. There may also be a second issue where Bulwark only accepts quota rows with resourceType: "mail" or scope: "mail", while Stalwart returns resourceType: "octets" and scope: "account".

Steps to Reproduce

Login to Webmail, cant see quota.

Expected Behavior

Disk usage quota above User Icon on left side.

Actual Behavior

Missing user quota / disk usage.

Bulwark Version

1.7.6

Stalwart Mail Server Version

0.16.12

Browser

Chrome / Chromium

Operating System

macOS

Screenshots / Screen Recording

No response

Relevant Logs or Error Output

Additional Context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions