Uploaded image for project: 'James Server'
  1. James Server
  2. JAMES-156

AbstractStorageQuota matcher subclasses never match when recipient alias is used

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.2.0
    • Fix Version/s: 2.2.0
    • Labels:
      None

      Description

      The AbstractStorageQuota matcher subclasses are unable to retrieve the amount of storage currently used in the recipient's inbox if the message's recipient name is an alias instead of being the primary name, and hence never match.

        Activity

        Hide
        vincenzo Vincenzo Gianferrari Pini added a comment -

        Fixed getUsed(MailAddress recipient, Mail _) adding a call to a new getPrimaryName(String originalUsername) method that hanles aliases.

        Show
        vincenzo Vincenzo Gianferrari Pini added a comment - Fixed getUsed(MailAddress recipient, Mail _) adding a call to a new getPrimaryName(String originalUsername) method that hanles aliases.

          People

          • Assignee:
            vincenzo Vincenzo Gianferrari Pini
            Reporter:
            vincenzo Vincenzo Gianferrari Pini
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development