You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-dev@james.apache.org by "Benoit Tellier (Jira)" <se...@james.apache.org> on 2023/01/09 15:57:00 UTC

[jira] [Created] (JAMES-3874) LMTP should handle overQuota exceptions

Benoit Tellier created JAMES-3874:
-------------------------------------

             Summary: LMTP should handle overQuota exceptions
                 Key: JAMES-3874
                 URL: https://issues.apache.org/jira/browse/JAMES-3874
             Project: James Server
          Issue Type: Improvement
          Components: lmtp, mailbox
            Reporter: Benoit Tellier


As reported by @mogui on gitter,

{code:java}
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
{code}

In MailboxDeliverToRecipientHandler we can handle the OverQuotaException the right way.




--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org