[ 
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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to