https://gitlab.synchro.net/main/sbbs/-/commit/d4f33e47976414b619032701
Modified Files:
src/sbbs3/mailsrvr.cpp
Log Message:
mailsrvr: stop sending the message after a body line fails to send
When a send failed partway through the message body, sockmimetext()
broke out of the body loop but still went on to MIME-encode any
attachments and send the "." end-of-data terminator over the dead
connection. With DKIM signing enabled, that terminator finalized the
verify pass's body hash over the truncated body, so every dropped
connection mid-DATA was also logged as the error "DKIM body hash changed between sign and send - message delivery aborted", though nothing had
changed and the delivery had already failed.
Return as soon as a body line fails to send, as is already done when the
header terminator fails.
Fixes #1279
Co-Authored-By: Claude Opus 5.5 <
noreply@anthropic.com>
---
þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net