[Dovecot] make archive emails undeletable?

Timo Sirainen tss at iki.fi
Fri Nov 21 22:32:40 EET 2008


On Fri, 2008-10-31 at 22:36 -0500, Rob Nichols wrote:
> I've been using dovecot for a year or two now, and really like it.  I have a
> fairly simple setup, but I think it's time to get a little more advanced.  I
> keep an "archive" of all my email, both sent and received.  Every once in a
> while I get confused, and accidentally delete something from my archive.  I
> also worry that I'll misconfigure a mail client some day and accidentally
> wipe out my "trash" folder.  I would like some way to prevent deletion in
> several mailboxes.  Is that possible?  It looks like ACL could do this, but
> I can't quite figure out where to start.  Any pointers would be greatly
> appreciated.

There are no recursive ACLs currently, so you'd have to create
dovecot-acl file for each mailbox containing something like:

owner lrwstipka

i.e. removed 'e' and 'x' rights. http://wiki.dovecot.org/ACL tells some
more.

-------------- 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/20081121/0ec97af7/attachment.bin 


More information about the dovecot mailing list