mirror of
https://github.com/truespar/sentio.git
synced 2026-11-17 16:17:37 +00:00
The harness only sent bodies, so nothing exercised the object store. A 20 kB attachment now goes in over SMTP and comes back out through the API, compared by SHA-256 - an encoding slip or a truncated upload fails instead of passing quietly. It also asserts the ClamAV scan_status on the attachment row and that the raw message was archived. Verified by hand first: MinIO gained two objects (the attachment and the base64 raw EML), the bytes matched, and the archived message ends with CRLF, which is the fix from the previous commit holding on a real MIME message.