[Dovecot] How to prevent deleting mail by mailer?

Timo Sirainen tss at iki.fi
Sun Mar 2 06:43:41 EET 2008


On Mon, 2008-02-25 at 17:54 +0900, Wen Guangcheng wrote:
> Hi,
> I have just upgraded my dovecot to the latest  release/stable version(1.0.10)
> and added "mail_plugins = acl" in protocal imap class of dovecot.conf file.
> In order to make emails in /home/foo/Maildir read-only to foo, I wrote a 
> dovecot-acl file under /home/foo/Maildir and put "user=foo rl" in the file.
> Is that OK? But unfortunately emails in /home/foo/Maildir still can be deleted
> by foo. Have I missed something in my configration? I am a novice at dovecot
> and ACL. Thanks for your help.

You need to add acl=vfile to plugin {} section as well.

If it still doesn't work, try "owner rl" instead.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://dovecot.org/pipermail/dovecot/attachments/20080302/6a836a30/attachment.bin 


More information about the dovecot mailing list