Roundcube Community Forum

Release Support => Pending Issues => Topic started by: matley on April 13, 2010, 11:11:11 AM

Title: Delete trashed emails when 30 days old
Post by: matley on April 13, 2010, 11:11:11 AM
I'm looking for a configuration tweek or plugin which can delete my trashed and junk emails which are older than 30 days.

Is this possible?

Thanks for any help.
Title: Delete trashed emails when 30 days old
Post by: rosali on April 13, 2010, 02:36:55 PM
It is not exactly what you are looking for, but you could give my summary plugin (see signature) a try. It shows a warning on a welcome page after login, if there are too much messages in trash/junk folder.
Title: Delete trashed emails when 30 days old
Post by: dziobak on April 13, 2010, 04:19:03 PM
see if your imap server can do this. for example dovecot can.
Title: Delete trashed emails when 30 days old
Post by: matley on April 14, 2010, 04:44:34 AM
Hi Rosali - nice plugin idea, but you're right it's not really a solution but just an encouragement for the users to delete them theirselves.

Hi dziobak - I'm using dovecot but what do I need to do so that it deletes the junk/deleted emails after a certain period?
Title: Delete trashed emails when 30 days old
Post by: Martian on April 14, 2010, 09:53:11 AM
The Dovecot Expire plugin is what you are looking for:

Plugins/Expire - Dovecot Wiki (http://wiki.dovecot.org/Plugins/Expire)

I have it set up to delete messages in Trash and Spam that are more than 30 days old and messages in Sent that are more than 365 days old.

It took a little work to get it set up but it works great!

Hope this helps,

Martian