[Dovecot] How to prevent deleting mail by mailer?
Hello,
I am running postfix and dovecot in a Linux box and dovecot is configured to IMAP. I hope to keep all mails in the server permanently even though mailer try to remove them. Is that possible and how to do it? Thanks for your help.
Best regards,
Wen
Wen Guangcheng wrote:
It is possible. You may use file system permissions for this or use ACL plugin: http://wiki.dovecot.org/ACL
Best regards,
Wen
Uldis
Hi Uldis,
Thank you so much for your help. My Dovecot version is 0.99.11 and it does not support ACL. I will try to use file system permissions to make mails read-only to users. The parameter of home_mailbox is set to Maildir/ . would you please tell me which directory or file should be changed file permissions?
Best regards,
wen
On 2/22/2008, Wen Guangcheng (on.kousei@yes.nttcom.ne.jp) wrote:
My Dovecot version is 0.99.11
Sorry, this version is way past support end of life.
File system perms is of course the lowest level to control who/what can do what, so using them properly should work for what you're wanting to do, BUT...
Please upgrade to latest release/stable version - or even the newer1.1, which is at RC stage now...
--
Best regards,
Charles
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.
Best regards,
Wen
participants (4)
-
Charles Marcus
-
Timo Sirainen
-
Uldis Pakuls
-
Wen Guangcheng