Re: [Dovecot] using Lazy_Expunge to enforce retention policy

2010-07-26 Thread Timo Sirainen
On Sun, 2010-07-25 at 15:37 -0400, Jim Salter wrote: How can I use Lazy_Expunge to completely PREVENT users from deleting email permanently? I guess currently there is no easy way to do it. You could use non-guessable prefixes, but that's security through obscurity.. I was first thinking

Re: [Dovecot] using Lazy_Expunge to enforce retention policy

2010-07-26 Thread Jim Salter
Is that something we can look forward to in the near future? I had originally intended to just hack in my own fast-and-dirty patch to add a purged directory alongside cur, new, and tmp in each maildir, and have expunged mails get mv'ed into ../pur rather than get rm'ed. Lazy_Expunge seems

[Dovecot] using Lazy_Expunge to enforce retention policy

2010-07-25 Thread Jim Salter
Hi, I've been experimenting with using Lazy_Expunge as a tool to enforce document retention policies (by keeping users from deleting emails forever, instead expiring them after a set time). My problem is, how do I keep the user from deleting/expunging mails *inside the expunge folder

Re: [Dovecot] using Lazy_Expunge to enforce retention policy

2010-07-25 Thread Frank Cusack
On 7/25/10 3:37 PM -0400 Jim Salter wrote: How can I use Lazy_Expunge to completely PREVENT users from deleting email permanently? Don't list the namespace at all. Users then will not be able to get to it. Alternatively, create an ACL denying delete/expunge permission. Then users can still