Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
master, 3.6.0
-
None
Description
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...
How?
Allow to specify an optional unit. Parse it. Use org.apache.james.util.Size for consistency.
Definition of done
- No backward compatility broken
- Hability to use size units there
Opportunity
POJOify SMTP, LMTP and POP3 configuration?
Attachments
Issue Links
- links to