Mr. Sirainen
Thank you so much for your great help.
I get it by adding acl=vfile in plugin{} section.
Cheers,
Wen
-----Original Message----- From: Timo Sirainen [mailto:tss@iki.fi] Sent: Sunday, March 02, 2008 1:44 PM To: Wen Guangcheng Cc: 'Dovecot Mailing List' Subject: Re: [Dovecot] How to prevent deleting mail by mailer?
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.