[Dovecot] Is there a way to avoid deletion in a folder?
Hi,
I would like to know if it's possible to avoid message deletion in a specific folder.
I'm using lazy-expunge like a Trash folder and I don't want the user to enter there and try to erase the message again.
Any help is appreciated.
Thanks.
Sorry, I forgot to send some installation informations: dovecot version: 1.0.13 storage format: maildir
Fábio M. Catunda escreveu:
Hi,
I would like to know if it's possible to avoid message deletion in a specific folder.
I'm using lazy-expunge like a Trash folder and I don't want the user to enter there and try to erase the message again.
Any help is appreciated.
Thanks.
Fábio M. Catunda wrote:
I would like to know if it's possible to avoid message deletion in a specific folder.
You can make that with access control, see http://wiki.dovecot.org/ACL
Anders.
Anders,
That's what I thought , but maybe I'm out of luck in this question!
Here is some confs... In dovecot.conf: protocol imap { mail_plugins = acl } plugin { acl = vfile:/etc/dovecot/acl }
And in /etc/dovecot/acl I have two folders: .Trash and Trash (Just for testing purpose)
And inside those folders I have a file called .DEFAULT with the following content: owner lrwsik
I use "/" as separator.
Can you tell me if I mismatch something?
Thanks!
Anders escreveu:
Fábio M. Catunda wrote:
I would like to know if it's possible to avoid message deletion in a specific folder.
You can make that with access control, see http://wiki.dovecot.org/ACL
Anders.
On Mar 21, 2008, at 6:44 PM, Fábio M. Catunda wrote:
And in /etc/dovecot/acl I have two folders: .Trash and Trash (Just for testing purpose)
And inside those folders I have a file called .DEFAULT with the
following content: owner lrwsikI use "/" as separator.
The wiki is a bit confusing and it took me also a while to figure it
out. You use "/" as virtual separator that's visible for clients, but
the real separator is still ".". So just use ".Trash" as the ACL file
name. I'll fix the wiki.
On Mar 23, 2008, at 5:18 PM, Timo Sirainen wrote:
On Mar 21, 2008, at 6:44 PM, Fábio M. Catunda wrote:
And in /etc/dovecot/acl I have two folders: .Trash and Trash (Just for testing purpose)
And inside those folders I have a file called .DEFAULT with the
following content: owner lrwsikI use "/" as separator.
The wiki is a bit confusing and it took me also a while to figure it
out. You use "/" as virtual separator that's visible for clients,
but the real separator is still ".". So just use ".Trash" as the ACL
file name. I'll fix the wiki.
Without the dot actually, so just "Trash".
Thanks Timo,
It worked like a charm!
[]'s, FMC!
Timo Sirainen escreveu:
On Mar 23, 2008, at 5:18 PM, Timo Sirainen wrote:
On Mar 21, 2008, at 6:44 PM, Fábio M. Catunda wrote:
And in /etc/dovecot/acl I have two folders: .Trash and Trash (Just for testing purpose)
And inside those folders I have a file called .DEFAULT with the following content: owner lrwsik
I use "/" as separator.
The wiki is a bit confusing and it took me also a while to figure it out. You use "/" as virtual separator that's visible for clients, but the real separator is still ".". So just use ".Trash" as the ACL file name. I'll fix the wiki.
Without the dot actually, so just "Trash".
participants (3)
-
"Fábio M. Catunda"
-
Anders
-
Timo Sirainen