Benoit Tellier created JAMES-3610:
-------------------------------------

             Summary: 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
             Fix For: 3.7.0


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-unsubscr...@james.apache.org
For additional commands, e-mail: server-dev-h...@james.apache.org

Reply via email to