[Bug] [Roundcube] Contents of the Trash folder are not automatically deleted. #407
Labels
No Label
administration
Akkoma
Android
Bare metal
bug
Communication
Community
Cryptpad
Discussion
Documentation
duplicate
enhancement
etherpad
Feature request
Feedback
finances
Fixed
forgejo
fun_project
Goal 2024
help wanted
Howto
🤔️ Investigate
ios
jitsi
lacre
Lacre Test
ldap
Lemmy
LibreTranslate
low prio
Lufi
macos
Mail
Merch
monitoring
movim
needs_refine
New Auth
Nextcloud
nice to have
on hold
proposal
question
Ready
refined
Roundcube
searX
spam-protection
Staging Server
Themes
TOR
Urgent!
Website
windows
wontfix
xmpp
Yearly Report
No Milestone
No project
No Assignees
3 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: Disroot/Disroot-Project#407
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
I have Settings -> Forders -> Trash -> Delete messages after set to 1 Month.
However, the trash can is not emptied anytime soon.
The auto-delete is not working.
THanks for reporting it. Adding it to the current milestone.
I can confirm @muppeth
I've tested from prod and from vagrant. I didn't find anything interesting in logs.
Ok. did some digging and here is what is happening.
Delete messages after set time
feature can be set to all folders. This means you "delete" messages on those folder by either marking them to be deleted or moving them to Trash. Trash folder is a special one (just like on the desktop). Since those emails in trash are considered deleted, nothing happens. InSettings > Preferences > Server settings
underMaintenance
tab, you can specify to clear Trash on logout. This then triggers the server to permanently empty the trash.It is indeed a bit of a confusing situation here and perhaps we could think and suggest to roundcube developers or the delete_old developers a way to make it more clear. I think starting from renaming the option from
"Server Settings"
to"Mailbox settings"
could already improve. I myself did not think of going to those options since I through it's just read-only settings of the server.so if I get it right you can not set
Delete messages after set time
on trash? You can only set it to be deleted on logout?@muppeth I did more research. This option comes from a plugin we have install https://github.com/ron4mac/roundcube_delete_old
It doesn't seem to be maintained anymore, so what about we just remove it?
@meaz The plugin works as expected. It's just a bit confusing. You can set this plugin on any of your folders and set to automatically move emails to trash during login or logout after set amount of time. The confusing part is the delete. Just like on desktop when you "delete" file, it is actually moved to trashbin. it works the same way, it moves thigns to trash. To remove from trash automatically, there is another option in
Server Settings
where you can select to emtpy trash"older than"
during logout.ok I get it...