[Dovecot] fixing deleted-to-trash-plugin

Timo Sirainen tss at iki.fi
Mon Sep 14 03:54:22 EEST 2009


On Sun, 2009-09-13 at 20:49 -0400, Timo Sirainen wrote:
> On Wed, 2009-09-09 at 20:42 +0200, Lex Brugman wrote:
> > I'm currently trying to make the deleted-to-trash-plugin work with dovecot
> > v1.2.4, without this plugin the trash mailbox is pretty useless with mail
> > clients like Evolution and Outlook, I still can't believe this
> > functionality isn't intergrated into dovecot 
> 
> That's because it breaks the normal IMAP way of doing things and I'd
> hate to use a server with that feature enabled. So sorry, I'm not going
> to spend any time at all on this feature.

As an alternative you could try if virtual mailboxes would handle this
better. The basic idea would be to create a virtual Trash that contains
all messages with \Deleted flag set. Something like:

~/Maildir/virtual/Trash/dovecot-virtual:
*
 deleted

To use actual "Trash" mailbox name, you'd need to create:

namespace private {
  prefix = Trash.
  location = virtual:~/Maildir/virtual/Trash
  hidden = yes
  subscriptions = no
}

You'll need a recent v1.2 to get this working.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
Url : http://dovecot.org/pipermail/dovecot/attachments/20090913/cee40e2a/attachment.bin 


More information about the dovecot mailing list