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
- links to