Improve SMTP transaction logging #9

Merged
ober merged 1 commit from fix/smtp-transaction-logging into main 2026-08-05 17:03:19 -04:00
Owner

Adds structured SMTP transaction logs for connection, MAIL, RCPT, queued DATA, and disconnect events so production logs show peer, sender, recipient, status/code, queue id, bytes, and delivery linkage.

Validation:

  • jerboa_verify lib/jerboa-smtp/server.ss
  • make binary
  • sh tests/functional-smtp-test.sh
  • FreeBSD gmake binary on dns2.linbsd.org
  • deployed FreeBSD binary to jsmtp jail and restarted service
  • live SMTP smoke test to lla@mauthesis.com queued and delivered with structured jsmtp.log entries
Adds structured SMTP transaction logs for connection, MAIL, RCPT, queued DATA, and disconnect events so production logs show peer, sender, recipient, status/code, queue id, bytes, and delivery linkage. Validation: - jerboa_verify lib/jerboa-smtp/server.ss - make binary - sh tests/functional-smtp-test.sh - FreeBSD gmake binary on dns2.linbsd.org - deployed FreeBSD binary to jsmtp jail and restarted service - live SMTP smoke test to lla@mauthesis.com queued and delivered with structured jsmtp.log entries
Improve SMTP transaction logging
Some checks failed
version-policy / required (pull_request) Failing after 5s
required-ci / required (pull_request) Successful in 14m37s
required-ci / required (push) Successful in 12m31s
5e75b08f99
ober scheduled this pull request to auto merge when all checks succeed 2026-08-05 15:14:22 -04:00
ober merged commit 5e75b08f99 into main 2026-08-05 17:03:19 -04:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
ober/jerboa-smtp!9
No description provided.