What's Changed
Bugfixes
- Fixes greenmail.setup.starttlsenabled=false not working by @marcelmay in #1125
- IMAP: Fix HEADER.FIELDS.NOT parsing in FETCH command by @marcelmay in #1126
- IMAP: Fix wildcard FETCH handling when MSNs and UIDs diverge by @marcelmay in #1127
- IMAP: Fix nested multipart, message/rfc822, and MIME FETCH sections by @marcelmay in #1128
- IMAP: Preserve original transfer encoding and validate single-part FETCH sections by @marcelmay in #1129
- Fix flaky ServerStartStopTest and improve startup timeout handling by @marcelmay in #1130
- IMAP: Fix partial FETCH zero-count handling and unsigned 32-bit overflow by @marcelmay in #1132
- IMAP: Include trailing blank line and preserve UTF-8 octets in FETCH headers by @marcelmay in #1133
- IMAP: Tighten FETCH parser validation and return NIL for missing multipart sections by @marcelmay in #1134
- IMAP: Preserve order and deduplicate FETCH body elements by @marcelmay in #1135
- IMAP: Avoid O(N^2) lookups per FETCH and clean up FetchCommand by @marcelmay in #1136
- Make MailAddress.hashCode consistent with equals by @yukio0 in #1138
- POP3: Restrict NOOP and RSET to TRANSACTION state (fixes #1139) by @marcelmay in #1140
- Docker: Harden standalone run_greenmail.sh entrypoint script by @marcelmay in #1142
- SMTP: Fix HELO/EHLO validation, auth state preservation, and 8BITMIME advertisement by @marcelmay in #1143
- SMTP: Consolidate session and transaction state in SmtpState by @marcelmay in #1144
- SMTP: Require HELO/EHLO before MAIL and AUTH by @marcelmay in #1145
- SMTP: Always clear mail transaction after DATA including checkData() rejections by @marcelmay in #1146
- SMTP: Handle SASL continuation cancel (*) and EOF cleanly in AuthCommand by @marcelmay in #1147
- SMTP: Reject STARTTLS parameters and active mail transactions by @marcelmay in #1148
- SMTP: Reject trailing parameters on DATA, RSET, and QUIT by @marcelmay in #1149
- SMTP: Fix command line framing and DATA dot-unstuffing in SmtpConnection by @marcelmay in #1150
- SMTP: Fix SmtpManager latch leak and multi-recipient waitForIncomingEmail() stall by @marcelmay in #1151
- SMTP: Prevent response line injection and credential echoing in AuthCommand errors by @marcelmay in #1152
- SMTP: Fix AuthCommand RFC 4954/4616 edge cases and hardening SASL message parsing by @marcelmay in #1153
- POP3/IMAP/SASL: Harden AUTH/AUTHENTICATE continuation, cancel, and validation handling by @marcelmay in #1154
New Contributors
Full Changelog: release-2.1.16...release-2.1.17