Skip to content

v0.15.5

Choose a tag to compare

@github-actions github-actions released this 08 Nov 12:32
· 67 commits to main since this release
cb14694

v0.15.5: free the disk space of deleted mail

Mail pipeline

  • The spool no longer keeps an envelope for every delivered message. Before,
    each message that finished the pipeline left an envelope file in
    spool/deliver/, and nothing removed it.
  • Those envelopes counted as references to the message body. The blob
    garbage collector therefore never deleted the body of a message received
    over SMTP, even after the message was deleted and Trash emptied.
  • On the first start, Bongo deletes the envelopes left in spool/deliver/ and
    logs "spool: removed delivered envelopes" with the count.
  • The blob garbage collector then frees the bodies of deleted mail. A body is
    deleted when it has been unreferenced on two passes and is older than one
    hour. Passes run every 15 minutes.

Documentation

  • The load test PRD records the search index size per message measured in
    the first load test run, and a plan to reduce it.

Upgrade notes

  • No configuration changes.
  • spool/deliver/ is still created, so a rollback to v0.15.4 works. v0.15.4
    writes envelopes there again until the next upgrade.