diff --git a/README.md b/README.md index 61453bc..933b66b 100644 --- a/README.md +++ b/README.md @@ -184,8 +184,15 @@ It answers `451` only when the database itself fails. refused sender (`5.1.7`, `5.1.8`, or any code answering `MAIL FROM`), not a refusal after `DATA`. Those deliveries are kept as failed. - A relay that accepted the message is never asked again because `QUIT` went wrong. -- Delivery is at-least-once: a crash between the relay accepting a message and the queue entry being - removed can send one message to one recipient twice. +- The same post is queued once. If the `250` for a post never reaches Postfix, Postfix delivers the post again; a list + remembers each post it queued for an hour (by `Message-ID`, or by a hash of the whole message when it has none), + answers `250` to a copy and does not queue it again (the log says so). An approved held post is always delivered and is + remembered too, so a copy that arrives later is not. +- On stop, the daemon refuses new connections and lets the LMTP sessions and API or web requests in flight finish, so a + post being received gets its `250`. After 30 seconds it cuts whatever is still open. +- What remains is at-least-once delivery across the relay: a crash between the relay accepting a message and the queue + entry being removed can send one message to one recipient twice. A copy of a post that arrives more than an hour later + is also delivered again. - `GET /api/v1/queue` and the Queue page show what is pending or failing, and a stuck delivery can be discarded. ## Admin UI