Author Topic: Delete trashed emails when 30 days old  (Read 3677 times)

Offline matley

  • Newbie
  • *
  • Posts: 9
Delete trashed emails when 30 days old
« 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.

Offline rosali

  • Hero Member
  • *****
  • Posts: 2,533
Delete trashed emails when 30 days old
« Reply #1 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.
Regards,
Rosali
__________________
MyRoundcube Project (commercial)

Offline dziobak

  • Full Member
  • ***
  • Posts: 184
Delete trashed emails when 30 days old
« Reply #2 on: April 13, 2010, 04:19:03 PM »
see if your imap server can do this. for example dovecot can.

Offline matley

  • Newbie
  • *
  • Posts: 9
Delete trashed emails when 30 days old
« Reply #3 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?

Offline Martian

  • Jr. Member
  • **
  • Posts: 35
Delete trashed emails when 30 days old
« Reply #4 on: April 14, 2010, 09:53:11 AM »
The Dovecot Expire plugin is what you are looking for:

Plugins/Expire - Dovecot Wiki

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