[Dovecot] R: Re: Dovecot 2.0 shared mailbox using ACLs problem
Hi, now I'm able to share/access to the shared mailbox, but when try to write (as owner) in each mailbox, I catch a segfault of the imap process. In the next the trace. I'm using "dovecot-2-0-2d6cf78982dc". -------% <----------------------------------------------------------------------------------------------- Process 3504 attached - interrupt to quit gettimeofday({1276190723, 456087}, NULL) = 0 gettimeofday({1276190723, 456268}, NULL) = 0 epoll_wait(8, {{EPOLLIN, {u32=21055056, u64=21055056}}}, 6, 1561185) = 1 gettimeofday({1276190728, 692157}, NULL) = 0 gettimeofday({1276190728, 692268}, NULL) = 0 read(10, "8 append \"myshare\" (\\Seen Junk) \"08"..., 7928) = 2472 stat("/mnt/mbox1/mailusers/user2@example.gov.it/Maildir/.myshare/dovecot-acl", {st_mode=S_IFREG|0600, st_size=40, ...}) = 0 stat("/mnt/mbox1/mailusers/user2@example.gov.it/Maildir/.myshare", {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 stat("/mnt/mbox1/mailusers/user2@example.gov.it/Maildir/.myshare", {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 stat("/mnt/mbox1/mailusers/user2@example.gov.it/Maildir/.myshare", {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 stat("/mnt/mbox1/mailusers/user2@example.gov.it/Maildir/.myshare", {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 stat("/mnt/mbox1/mailusers/user2@example.gov.it/Maildir/.myshare/tmp", {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 stat("/mnt/mbox1/mailusers/user2@example.gov.it/Maildir/.myshare/dovecot- shared", 0x7fff8358bdc0) = -1 ENOENT (No such file or directory) access("/mnt/mbox1/mailusers/user2@example.gov.it/Maildir/.myshare/cur", W_OK) = 0 open("/mnt/mbox1/mailusers/user2@example.gov.it/Maildir/.myshare/dovecot.index. log", O_RDWR) = 9 fstat(9, {st_mode=S_IFREG|0600, st_size=640, ...}) = 0 pread(9, "\1\2 (\0\331\32\21L\2\0\0\0\1\0\0\0\0\0\0\0\331\32\21L\0\0\0\0\0\0\0\0"..., 40, 0) = 40 stat("/mnt/mbox1/mailusers/user2@example.gov.it/Maildir/.myshare/dovecot.index. log.2", 0x7fff8358bcb0) = -1 ENOENT (No such file or directory) open("/mnt/mbox1/mailusers/user2@example.gov.it/Maildir/.myshare/dovecot. index", O_RDWR) = -1 ENOENT (No such file or directory) stat("/mnt/mbox1/mailusers/user2@example.gov.it/Maildir/.myshare/dovecot.index. log", {st_mode=S_IFREG|0600, st_size=640, ...}) = 0 fstat(9, {st_mode=S_IFREG|0600, st_size=640, ...}) = 0 pread(9, "\200\200\200\211@\0\0\20\377\377\377\377\0\0\0\0$\0\0\0\0\0\0\0\1\0\7\0mail"..., 8192, 40) = 600 pread(9, "", 8192, 640) = 0 epoll_ctl(8, EPOLL_CTL_DEL, 10, {0, {u32=21055056, u64=21055056}}) = 0 epoll_ctl(8, EPOLL_CTL_ADD, 10, {EPOLLIN|EPOLLPRI|EPOLLERR|EPOLLHUP, {u32=21055056, u64=21055056}}) = 0 open("/etc/localtime", O_RDONLY) = 11 fstat(11, {st_mode=S_IFREG|0644, st_size=2652, ...}) = 0 fstat(11, {st_mode=S_IFREG|0644, st_size=2652, ...}) = 0 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2ab70eac0000 read(11, "TZif2\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\6\0\0\0\6\0\0\0\0"..., 4096) = 2652 lseek(11, -1701, SEEK_CUR) = 951 read(11, "TZif2\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\10\0\0\0\10\0\0\0\0"..., 4096) = 1701 close(11) = 0 munmap(0x2ab70eac0000, 4096) = 0 --- SIGSEGV (Segmentation fault) @ 0 (0) --- Process 3504 detached -------% <-----------------------------------------------------------------------------------------------
----Messaggio originale---- Da: tss@iki.fi Data: 07/06/2010 21.12 A: "p.quidacciolu@libero.it"p.quidacciolu@libero.it Cc: dovecot@dovecot.org Ogg: Re: [Dovecot] Dovecot 2.0 shared mailbox using ACLs problem
On pe, 2010-04-02 at 11:07 +0200, p.quidacciolu@libero.it wrote:
I'm trying to configure shared mailboxes using ACLs. On dovecot 1.2.10 it works fine, but the same configuration on dovecot 2.0. beta4 doesn't work. When I try to access to the shared mailbox I get the following message: Query: SELECT "users/user2/INBOX" Reason Given: Mailbox doesn't exist: users/user2/INBOX
Have you tried this with recent nightly snapshots?
On 10.6.2010, at 18.38, p.quidacciolu@libero.it wrote:
but when try to write (as owner) in each mailbox, I catch a segfault of the imap process. In the next the trace. I'm using "dovecot-2-0-2d6cf78982dc".
gdb backtrace would be helpful in fixing it. http://dovecot.org/bugreport.html
On to, 2010-06-10 at 19:38 +0200, p.quidacciolu@libero.it wrote:
Hi, now I'm able to share/access to the shared mailbox, but when try to write (as owner) in each mailbox, I catch a segfault of the imap process. In the next the trace. I'm using "dovecot-2-0-2d6cf78982dc".
Hopefully http://hg.dovecot.org/dovecot-2.0/rev/f37d19f1c0a3 fixes this crash?
participants (2)
-
p.quidaccioluï¼ libero.it
-
Timo Sirainen