Re: [Dovecot] Initial support for shared mailboxes

2008-10-11 Thread Timo Sirainen
On Oct 11, 2008, at 10:52 AM, Sascha Wilde wrote: I have made a first rough sketch of the userdb-checkpassword back end, basically by copying the code of the passdb version. Now I stumbled upon the note FIXME: if we ever do some other kind of forking, this needs fixing in sigchld_handler().

Re: [Dovecot] Initial support for shared mailboxes

2008-10-10 Thread Sascha Wilde
Sascha Wilde [EMAIL PROTECTED] writes: Timo Sirainen [EMAIL PROTECTED] writes: On Sep 30, 2008, at 6:08 PM, Sascha Wilde wrote: [...] So I guess what is needed is a new userdb backend which is explicitly runs an arbitrary external program to get the user data (instead of caching the passdb

Re: [Dovecot] Initial support for shared mailboxes

2008-10-09 Thread Sascha Wilde
Timo Sirainen [EMAIL PROTECTED] writes: On Wed, 2008-10-08 at 12:54 +0200, Sascha Wilde wrote: I just started to work on this feature and for testing purpose I wrote a very simple dummy checkpassword program. But I have a problem setting the UID and GID: I'm using: userdb_uid=12345

Re: [Dovecot] Initial support for shared mailboxes

2008-10-08 Thread Sascha Wilde
Timo Sirainen [EMAIL PROTECTED] writes: On Sep 30, 2008, at 6:08 PM, Sascha Wilde wrote: [...] So I guess what is needed is a new userdb backend which is explicitly runs an arbitrary external program to get the user data (instead of caching the passdb results). Right. Perhaps the passdb

Re: [Dovecot] Initial support for shared mailboxes

2008-10-08 Thread Timo Sirainen
On Wed, 2008-10-08 at 12:54 +0200, Sascha Wilde wrote: I just started to work on this feature and for testing purpose I wrote a very simple dummy checkpassword program. But I have a problem setting the UID and GID: I'm using: userdb_uid=12345 userdb_gid=12345

Re: [Dovecot] Initial support for shared mailboxes

2008-09-30 Thread Sascha Wilde
Timo Sirainen [EMAIL PROTECTED] writes: Well, I actually started it today since it's needed for replication: http://hg.dovecot.org/dovecot-1.2/rev/6dd0c6755afe Mailboxes can't be listed yet (and I'm not planning on implementing that anytime soon), but if you add the wanted mailboxes to

Re: [Dovecot] Initial support for shared mailboxes

2008-09-30 Thread Timo Sirainen
On Tue, 2008-09-30 at 10:46 +0200, Sascha Wilde wrote: namespace shared { separator = / # %%u gets expanded to the remote user. Instead of %%u you can # also use %%n and %%d. prefix = shared/%%u/ location = Maildir:/home/%%u/Maildir:INDEX=~/Maildir/shared/%%u } Sounds

Re: [Dovecot] Initial support for shared mailboxes

2008-09-30 Thread Sascha Wilde
Timo Sirainen [EMAIL PROTECTED] writes: On Tue, 2008-09-30 at 10:46 +0200, Sascha Wilde wrote: namespace shared { separator = / # %%u gets expanded to the remote user. Instead of %%u you can # also use %%n and %%d. prefix = shared/%%u/ location =

Re: [Dovecot] Initial support for shared mailboxes

2008-09-30 Thread Timo Sirainen
On Sep 30, 2008, at 6:08 PM, Sascha Wilde wrote: Is there a %%h, too? So that, if we have mail_location = maildir:~ .. Another (more specific) problem in this context: Is is it possible to determine a users home calling an external program like checkpassword? This would be needed in an

Re: [Dovecot] Initial support for shared mailboxes

2008-09-30 Thread Sascha Wilde
Timo Sirainen [EMAIL PROTECTED] writes: On Sep 30, 2008, at 6:08 PM, Sascha Wilde wrote: Is there a %%h, too? So that, if we have mail_location = maildir:~ .. Another (more specific) problem in this context: Is is it possible to determine a users home calling an external program like

Re: [Dovecot] Initial support for shared mailboxes

2008-09-30 Thread Timo Sirainen
On Sep 30, 2008, at 6:48 PM, Sascha Wilde wrote: On Sep 30, 2008, at 6:08 PM, Sascha Wilde wrote: Is there a %%h, too? So that, if we have mail_location = maildir:~ .. Another (more specific) problem in this context: Is is it possible to determine a users home calling an external program

Re: [Dovecot] Initial support for shared mailboxes

2008-09-24 Thread Robert Schetterer
Robert Schetterer schrieb: Timo Sirainen schrieb: On Wed, 2008-09-17 at 01:31 +0200, Robert Schetterer wrote: dovecot: Sep 17 01:26:05 Panic: IMAP([EMAIL PROTECTED]): shared mailbox list: Can't return path for 'users/' Fixed: http://hg.dovecot.org/dovecot-1.2/rev/fd4091d53627

Re: [Dovecot] Initial support for shared mailboxes

2008-09-22 Thread Timo Sirainen
On Wed, 2008-09-17 at 01:31 +0200, Robert Schetterer wrote: dovecot: Sep 17 01:26:05 Panic: IMAP([EMAIL PROTECTED]): shared mailbox list: Can't return path for 'users/' Fixed: http://hg.dovecot.org/dovecot-1.2/rev/fd4091d53627 http://hg.dovecot.org/dovecot-1.2/rev/909ed7cd98a5

Re: [Dovecot] Initial support for shared mailboxes

2008-09-22 Thread Robert Schetterer
Timo Sirainen schrieb: On Wed, 2008-09-17 at 01:31 +0200, Robert Schetterer wrote: dovecot: Sep 17 01:26:05 Panic: IMAP([EMAIL PROTECTED]): shared mailbox list: Can't return path for 'users/' Fixed: http://hg.dovecot.org/dovecot-1.2/rev/fd4091d53627

Re: [Dovecot] Initial support for shared mailboxes

2008-09-16 Thread Robert Schetterer
Timo Sirainen schrieb: On Sat, 2008-09-06 at 11:11 +0300, Timo Sirainen wrote: On Sat, 2008-09-06 at 10:05 +0200, Robert Schetterer wrote: Timo Sirainen schrieb: On Sat, 2008-09-06 at 09:42 +0200, Robert Schetterer wrote: Hi Timo, what about imap acl full implemented ( not plugin ) is there

[Dovecot] Initial support for shared mailboxes

2008-09-07 Thread Timo Sirainen
On Sat, 2008-09-06 at 11:11 +0300, Timo Sirainen wrote: On Sat, 2008-09-06 at 10:05 +0200, Robert Schetterer wrote: Timo Sirainen schrieb: On Sat, 2008-09-06 at 09:42 +0200, Robert Schetterer wrote: Hi Timo, what about imap acl full implemented ( not plugin ) is there a chance to have

Re: [Dovecot] Initial support for shared mailboxes

2008-09-07 Thread Robert Schetterer
Timo Sirainen schrieb: On Sat, 2008-09-06 at 11:11 +0300, Timo Sirainen wrote: On Sat, 2008-09-06 at 10:05 +0200, Robert Schetterer wrote: Timo Sirainen schrieb: On Sat, 2008-09-06 at 09:42 +0200, Robert Schetterer wrote: Hi Timo, what about imap acl full implemented ( not plugin ) is there