Hi
I'm betatesting the new acl features in dovecot 1.2.
System: Centos 5.2, dovecot 1.2beta4 built with the spec file from
http://dl.atrpms.net/all/dovecot.spec
I set up two accounts (sales at domain, oli at domain), I could access them
both without problems (testing with Thunderbird)
Then I tried to share the sales INBOX as descibed in
http://wiki.dovecot.org/SharedMailboxes/Shared:
1 setacl INBOX oli at domain.ch lrs
1 OK Setacl complete.
1 logout
* BYE Logging out
1 OK Logout completed.
Connection closed by foreign host.
After that, I could not login to oli's box anymore, thunderbird would
just reconnect and imap crashes over and over again
server log:
Apr 3 12:17:23 testbox dovecot: child 5695 (imap) killed with signal 11
(core dumped)
Apr 3 12:17:23 testbox dovecot: imap-login: Login:
user=<oli at domain.ch>, method=PLAIN, rip=<removed>,
lip=<removed>
backtrace (not sure if I've done this correctly):
This GDB was configured as "i386-redhat-linux-gnu"...
(no debugging symbols found)
Using host libthread_db library "/lib/libthread_db.so.1".
Attaching to program: /usr/libexec/dovecot/imap, process 2140
ptrace: No such process.
warning: Can't read pathname for load map: Input/output error.
Reading symbols from /lib/libdl.so.2...(no debugging symbols found)...done.
Loaded symbols for /lib/libdl.so.2
Reading symbols from /lib/libc.so.6...(no debugging symbols found)...done.
Loaded symbols for /lib/libc.so.6
Reading symbols from /lib/ld-linux.so.2...
(no debugging symbols found)...done.
Loaded symbols for /lib/ld-linux.so.2
Reading symbols from /usr/lib/dovecot/imap/lib01_acl_plugin.so...done.
Loaded symbols for /usr/lib/dovecot/imap/lib01_acl_plugin.so
Reading symbols from /usr/lib/dovecot/imap/lib02_imap_acl_plugin.so...done.
Loaded symbols for /usr/lib/dovecot/imap/lib02_imap_acl_plugin.so
Reading symbols from /usr/lib/dovecot/imap/lib10_quota_plugin.so...done.
Loaded symbols for /usr/lib/dovecot/imap/lib10_quota_plugin.so
Reading symbols from
/usr/lib/dovecot/imap/lib11_imap_quota_plugin.so...done.
Loaded symbols for /usr/lib/dovecot/imap/lib11_imap_quota_plugin.so
Reading symbols from /usr/lib/dovecot/imap/lib20_expire_plugin.so...done.
Loaded symbols for /usr/lib/dovecot/imap/lib20_expire_plugin.so
Core was generated by `imap'.
Program terminated with signal 11, Segmentation fault.
#0 0x0011a664 in acl_shared_namespaces_add (ns=0x97cc720)
at acl-shared-storage.c:52
52 acl-shared-storage.c: No such file or directory.
in acl-shared-storage.c
dovecot -n
# 1.2.beta4: /etc/dovecot.conf
# OS: Linux 2.6.18-92.1.22.el5 i686 CentOS release 5.2 (Final)
protocols: imap pop3 imaps pop3s
ssl_cert_file: /etc/dovecot.pem
ssl_key_file: /etc/dovecot.pem
disable_plaintext_auth: no
login_dir: /var/run/dovecot/login
login_executable(default): /usr/libexec/dovecot/imap-login
login_executable(imap): /usr/libexec/dovecot/imap-login
login_executable(pop3): /usr/libexec/dovecot/pop3-login
login_greeting: Fumail Dovecot ready.
mail_privileged_group: mail
mail_drop_priv_before_exec: yes
mail_executable(default): /usr/libexec/dovecot/imap
mail_executable(imap): /usr/libexec/dovecot/imap
mail_executable(pop3): /usr/libexec/dovecot/pop3
mail_plugins(default): acl imap_acl quota imap_quota expire
mail_plugins(imap): acl imap_acl quota imap_quota expire
mail_plugins(pop3): quota expire
mail_plugin_dir(default): /usr/lib/dovecot/imap
mail_plugin_dir(imap): /usr/lib/dovecot/imap
mail_plugin_dir(pop3): /usr/lib/dovecot/pop3
imap_client_workarounds(default): outlook-idle
imap_client_workarounds(imap): outlook-idle
imap_client_workarounds(pop3):
namespace:
type: private
separator: /
inbox: yes
list: yes
subscriptions: yes
namespace:
type: shared
separator: /
prefix: shared/%%d/%%n
location: maildir:/%%h/Maildir/shared/%%u
list: children
subscriptions: yes
auth default:
mechanisms: plain login
passdb:
driver: sql
args: /etc/dovecot-sql.conf
userdb:
driver: sql
args: /etc/dovecot-sql.conf
socket:
type: listen
client:
path: /var/spool/postfix/private/auth
mode: 432
user: postfix
group: postfix
master:
path: /var/run/dovecot/auth-master
mode: 432
user: fumail
group: fumail
plugin:
quota: dict:::proxy::quotadict
quota_rule: *:storage=10M:messages=1000
quota_warning: storage=95%% /usr/local/bin/quotawarning.py 95
quota_warning2: storage=75%% /usr/local/bin/quotawarning.py 75
acl: vfile:/etc/dovecot-acls
acl_shared_dict: file:/etc/dovecot/dovecot-shared.db
expire: Trash 30 Trash/* 30 Spam 14
expire_dict: proxy::expire
dict:
quotadict: mysql:/etc/dovecot/dovecot-dict-quota.conf
expire: mysql:/etc/dovecot/dovecot-dict-expire.conf
Is this a dovecot bug or did I something wrong?
Thanks
Oli