[GH-ISSUE #3908] Allow pruning old sent scheduled emails #1930

Open
opened 2026-02-27 11:19:56 +03:00 by kerem · 2 comments
Owner

Originally created by @mbridon on GitHub (Feb 8, 2026).
Original GitHub issue: https://github.com/modoboa/modoboa/issues/3908

Impacted versions

@Toniob says you (@tonioo) know what kind of machine this runs on. 🤷

  • OS Type: Debian
  • OS Version: Number or Name
  • Database Type: PostgreSQL / MySQL
  • Database version: X.y
  • Modoboa: 2.7.0
  • installer used: Yes/No ?
  • Webserver: Nginx/Apache

Steps to reproduce

Schedule some emails with the new feature in 2.7.0.

Current behavior

Once the schedule expires, the emais are properly sent, but they are still appearing in the /user/webmail?mailbox=Scheduled page.

It doesn't seem to be possible to clear those emails manually, but honestly it would probably be better if they automatically disappeared once sent properly. 🤷

Expected behavior

Either the emails automatically disappear from that list once sent correctly, or it should be possible to manually remove them so that the database doesn't take too much space.

Video/Screenshot link (optional)

All those emails were properly sent after the schedule ran its course. I can select each of them, but then the gear/option menu doesn't contain a "delete" entry. 😞

Image
Originally created by @mbridon on GitHub (Feb 8, 2026). Original GitHub issue: https://github.com/modoboa/modoboa/issues/3908 # Impacted versions @Toniob says you (@tonioo) know what kind of machine this runs on. 🤷 * OS Type: Debian * OS Version: Number or Name * Database Type: PostgreSQL / MySQL * Database version: X.y * Modoboa: 2.7.0 * installer used: Yes/No ? * Webserver: Nginx/Apache # Steps to reproduce Schedule some emails with the new feature in 2.7.0. # Current behavior Once the schedule expires, the emais are properly sent, but they are still appearing in the `/user/webmail?mailbox=Scheduled` page. It doesn't seem to be possible to clear those emails manually, but honestly it would probably be better if they automatically disappeared once sent properly. 🤷 # Expected behavior Either the emails automatically disappear from that list once sent correctly, or it should be possible to manually remove them so that the database doesn't take too much space. # Video/Screenshot link (optional) All those emails were properly sent after the schedule ran its course. I can select each of them, but then the gear/option menu doesn't contain a "delete" entry. 😞 <img width="1503" height="462" alt="Image" src="https://github.com/user-attachments/assets/96e32190-beb5-4407-aba7-f5d67b8368c0" />
Author
Owner

@tonioo commented on GitHub (Feb 9, 2026):

@mbridon There might be an issue with doveadm access. Can you check that?

<!-- gh-comment-id:3870017515 --> @tonioo commented on GitHub (Feb 9, 2026): @mbridon There might be an issue with doveadm access. Can you check that?
Author
Owner

@mbridon commented on GitHub (Feb 9, 2026):

@mbridon There might be an issue with doveadm access. Can you check that?

I personally can't as I don't have access to the server... @Toniob? 🤔

<!-- gh-comment-id:3870067032 --> @mbridon commented on GitHub (Feb 9, 2026): > [@mbridon](https://github.com/mbridon) There might be an issue with doveadm access. Can you check that? I personally can't as I don't have access to the server... @Toniob? 🤔
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/modoboa-modoboa#1930
No description provided.