mirror of
https://github.com/floci-io/floci.git
synced 2026-12-02 17:58:05 -05:00
SES raw sends, the SMTP relay and EKS bootstrap user data parse client-supplied MIME with mime4j, and the 0.8.12 the Quarkus BOM manages caps neither the part count nor the nesting depth, so a message of a huge number of tiny parts made the emulator build an object graph for every part. mime4j is now managed at 0.8.15, and MimeMessages, the one place Floci parses client-supplied MIME, pins its limits: SES's quota of 500 MIME parts, and mime4j's defaults of 64 levels of nesting, 16,384 header fields and 1 MB of header bytes. Over a limit, a raw send is refused with InvalidParameterValue (BadRequestException on v2) "Raw message could not be parsed.", a simple send whose assembled attachments exceed it is refused rather than sent unscreened, the relay skips the message, and EKS reads the user data as non-multipart.