Fix SMTP sender validation and bounded DATA handling #21
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "astra-smtp-cleanup"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Fix SMTP sender-state validation and bounded DATA handling from the Astra security findings. SPF is reevaluated per MAIL FROM, folded and duplicate From headers are validated, unauthenticated local-domain spoofing is rejected, startup fails closed on chroot/chdir errors, auth and limiter state expires, and plaintext DATA is kept in bounded memory without predictable temp spools. The production message-limit test now matches the configured 35 MiB default.
Verification
ssh biggus)gmake CC=cc testgmake CC=cc binary-smoke