Hello, I have a question: Can you create some kind of rule that deletes messages from a folder every so often or something similar?
I need the messages in a folder to be deleted every so often according to some criteria that can be set
Thanks
Hello, I have a question: Can you create some kind of rule that deletes messages from a folder every so often or something similar?
I need the messages in a folder to be deleted every so often according to some criteria that can be set
Thanks
I would first check the filter options in Roundcube. Those run even when not logged in.
I would next opt to see if a client has this feature. I use Thunderbird which has a lot of options for filters.
How I can open Roundcube? or is it an other package?
Navigate to https://box.example.com/mail
.
I’m going to keep looking … thanks
To activate auto delete add autopurge to the folders in this file:
./etc/dovecot/conf.d/15-mailboxes.conf
Change by adding autoexpunge = 30d. e.g. (30d=30days):
mailbox INBOX {
auto = subscribe
autoexpunge = 30d
}
mailbox Spam {
special_use = \Junk
auto = subscribe
autoexpunge = 7d
}
mailbox Drafts {
special_use = \Drafts
auto = subscribe
autoexpunge = 30d
}
mailbox Sent {
special_use = \Sent
auto = subscribe
autoexpunge = 30d
}
}
p.s. It will only delete new mails existing ones won’t be deleted.
Thanks for you answer!
This topic was automatically closed after 61 days. New replies are no longer allowed.