[Dovecot] Disallow Deletion from Trash Folder

Steffen Kaiser skdovecot at smail.inf.fh-brs.de
Fri Mar 1 11:13:06 EET 2013


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Thu, 28 Feb 2013, Bradley Rintoul wrote:

>
> I've been tasked with trying to find a way to keep users from ever "permanently"
> deleting emails.  The users are running Thunderbird and are using the "Archive"
> option for when emails are deleted.  However, they are still able to delete
> emails from the Archive folders...  I'm wondering if there's any way that I can
> configure Dovecot to make sure that emails *never* get removed from the
> filesystem.  I know it's probably kind of a bizarre request, but is there any
> way that Dovecot can help me out in this regard?

hmm, I understand your request so that a) you want to prevent to delete 
any message, b) you want to prevent to delete from Archive.

For a) go with Robert's idea, e.g. add a global "before" Sieve script, 
that files a copy of the message into yet another mailbox hierarchie, the 
user has been restricted by ACLs. Or redirect a copy of these mails to yet 
another "backup" account the users may access via a shared namespace.

For b) ACLs may work. However, users cannot move messages around in the 
Archive anymore, I think.

- -- 
Steffen Kaiser
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)

iQEVAwUBUTBxIl3r2wJMiz2NAQLfvggAoPkEtp7VEpwbAC5zyo/ONt6S3h7CWDuS
GxRyDLtqVEVbKd3RabUWGqDO167SzCEL/Tgq1QKHO8M2nqepanJ3ZCgguvajTnhg
ITI/Lq1mbJtwzAJbK0WNx+qbKLCf84XWh7EiHHGzr9EFAKVnnWSNAHI3GrOPJak2
EoSKPAKDtNGFwjLc56vc+U3BG8DYhCsFHGuBLocIWQMo0qNj/aaw+kxeUWXD+dbi
1tayk8U7uL6b2k0rdlDv6Jxl8pSlQpnwnV2JABjQBtkPqjMGp2KeiqoKBjg5n7pn
5aniYnKsY6Abx0zpQYIZnUAMW1fAz1T39REBRR4vIDVJ62qAb3zjsQ==
=B9Fv
-----END PGP SIGNATURE-----


More information about the dovecot mailing list