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

LMTP should handle overQuota exceptions

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 3.9.0
    • lmtp, mailbox
    • None

    Description

      As reported by @mogui on gitter,

      I'm using lmtp protocol to deliver mail in a complex flow, but when a user has a full quota , lmtp handler chains fails as expected but gives out a generic error instead of the correct smtp/lmtp one instead of geting out a 452 (insufficient storage) reply code it outputs a generic 451 (ACTION_ABORTED). By looking to james logs it raise a correct org.apache.james.mailbox.exception.OverQuotaException but lmtp handler chains seems not to handle it correctly.
      
      There is some configuration to be made ? Is it a bug? I have to implement a mail container handler for lmtp to fix this?
      
      Thanks you anyway
      

      In MailboxDeliverToRecipientHandler we can handle the OverQuotaException the right way.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              btellier Benoit Tellier
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 40m
                  40m