[GH-ISSUE #27] Feature request: Messages retention #24

Closed
opened 2026-03-15 12:09:13 +03:00 by kerem · 2 comments
Owner

Originally created by @kzaitsev on GitHub (Dec 14, 2022).
Original GitHub issue: https://github.com/axllent/mailpit/issues/27

Hello, thank you for such a good tool. We use mailpit for our staging installations, but sometimes we get a lot of message from staging. This requires wiping the mailpit database to reduce the consumption of disk space.

It would be great if mailpit got feature like retention policy/retetion time, to delete old messages and prevent the mailpit database bloat.

Originally created by @kzaitsev on GitHub (Dec 14, 2022). Original GitHub issue: https://github.com/axllent/mailpit/issues/27 Hello, thank you for such a good tool. We use mailpit for our staging installations, but sometimes we get a lot of message from staging. This requires wiping the mailpit database to reduce the consumption of disk space. It would be great if mailpit got feature like retention policy/retetion time, to delete old messages and prevent the mailpit database bloat.
kerem closed this issue 2026-03-15 12:09:18 +03:00
Author
Owner

@axllent commented on GitHub (Dec 14, 2022):

Hi @kzaitsev . Mailpit does have a volume-based retention policy (by default 500 messages). Does this not do what you want?

<!-- gh-comment-id:1351824286 --> @axllent commented on GitHub (Dec 14, 2022): Hi @kzaitsev . Mailpit does have a volume-based retention policy (by default 500 messages). Does this not do what you want?
Author
Owner

@kzaitsev commented on GitHub (Dec 14, 2022):

@axllent yes, it should help me with my issue. Thank you so much.

<!-- gh-comment-id:1351827953 --> @kzaitsev commented on GitHub (Dec 14, 2022): @axllent yes, it should help me with my issue. Thank you so much.
Sign in to join this conversation.
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
starred/mailpit#24
No description provided.