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 2021/08/12 06:58:00 UTC
[jira] [Closed] (JAMES-3610) Use size units for SMTP and IMAP size
limits
[ https://issues.apache.org/jira/browse/JAMES-3610?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Benoit Tellier closed JAMES-3610.
---------------------------------
Resolution: Fixed
Merged
> Use size units for SMTP and IMAP size limits
> --------------------------------------------
>
> Key: JAMES-3610
> URL: https://issues.apache.org/jira/browse/JAMES-3610
> Project: James Server
> Issue Type: Improvement
> Components: configuration, IMAPServer, POP3Server, SMTPServer
> Affects Versions: master, 3.6.0
> Reporter: Benoit Tellier
> Priority: Major
> Fix For: 3.7.0
>
> Time Spent: 20m
> Remaining Estimate: 0h
>
> h3. Why ?
> Today the following options can only be passed as integer:
> - SMTP maxmessagesize option, in KB
> - IMAP inMemorySizeLimit & literalSizeLimit in bytes
> This is confusing (different default units) error prone (math error, eg when trying to configure it), unreadable (hard to tell at first glance if it is 10MB or 100MB), etc...
> h3. How?
> Allow to specify an optional unit. Parse it. Use org.apache.james.util.Size for consistency.
> h3. Definition of done
> - No backward compatility broken
> - Hability to use size units there
> h3. Opportunity
> POJOify SMTP, LMTP and POP3 configuration?
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org