[Dovecot] Setting up ACL for IMAP
Andrés Gattinoni
andresgattinoni at gmail.com
Fri May 14 21:08:17 EEST 2010
Hi guys,
I just suscribed cause I'm trying to do something which I'm not sure how.
I need to prevent some accounts from deleting there emails.
>From what I've seen [0] this could be achieved by using ACL.
My first question is, is this right? Is there a way to achieve the
same using POP3?
I tried setting up ACL using the info at the Wiki [1], but it's not working.
What I've seen is that when I put:
protocol imap {
mail_plugins = acl imap_acl
}
I get the following error:
May 14 14:54:52 mail dovecot: SIGHUP received - reloading configuration
May 14 14:54:52 mail dovecot: imap dump-capability: Couldn't read
capability (got 0 bytes)
May 14 14:54:52 mail dovecot: Invalid configuration, keeping old one
May 14 14:54:52 mail dovecot: child 32301 (unknown) returned error 82
(Internal logging error)
Looking on the internet I found out that I don't have the imap_acl lib
shared object.
This is what I have on /usr/lib/dovecot/lib/imap:
total 48
lrwxrwxrwx 1 root root 22 May 6 22:07 lib01_acl_plugin.so ->
../lib01_acl_plugin.so
lrwxrwxrwx 1 root root 31 May 6 22:07 lib02_lazy_expunge_plugin.so
-> ../lib02_lazy_expunge_plugin.so
lrwxrwxrwx 1 root root 24 May 6 22:07 lib10_quota_plugin.so ->
../lib10_quota_plugin.so
-rw-r--r-- 1 root root 5552 Jan 21 2009 lib11_imap_quota_plugin.a
-rwxr-xr-x 1 root root 902 Jan 21 2009 lib11_imap_quota_plugin.la
-rwxr-xr-x 1 root root 7380 Jan 21 2009 lib11_imap_quota_plugin.so
lrwxrwxrwx 1 root root 24 May 6 22:07 lib11_trash_plugin.so ->
../lib11_trash_plugin.so
lrwxrwxrwx 1 root root 26 May 6 22:07 lib20_convert_plugin.so ->
../lib20_convert_plugin.so
lrwxrwxrwx 1 root root 27 May 6 22:07 lib20_mail_log_plugin.so ->
../lib20_mail_log_plugin.so
-rw-r--r-- 1 root root 9582 Jan 21 2009 lib20_zlib_plugin.a
-rwxr-xr-x 1 root root 864 Jan 21 2009 lib20_zlib_plugin.la
-rwxr-xr-x 1 root root 9884 Jan 21 2009 lib20_zlib_plugin.so
I'm running Dovecot 1.0.7 installed using yum on CentOS 5.4.
How can I get the necessary plugin?
Thanks,
Andrés
[0] http://www.dovecot.org/list/dovecot/2010-March/047822.html
[1] http://wiki.dovecot.org/ACL
More information about the dovecot
mailing list