Re: [Dovecot] Ignore prefix given by client?

2008-10-15 Thread Tim Bishop
On Wed, Oct 15, 2008 at 09:57:04PM +0300, Timo Sirainen wrote: > On Oct 15, 2008, at 9:42 PM, Tim Bishop wrote: > > >The problem is when a user specifies their own prefix in their mail > >client (if it's blank there are no problems). If they have ~/Mail none > >of the folders show up. > > > >I've

[Dovecot] Virtual Domains and Master Users

2008-10-15 Thread Roderick A. Anderson
Can I have a master users list for each virtual domain? I'm not sure from what I read on the page: http://wiki.dovecot.org/Authentication/MasterUsers auth default { mechanisms = plain login CRAM-MD5 passdb passwd-file { args = /var/mail/vhosts/%d/passwd.masterusers mast

Re: [Dovecot] Ignore prefix given by client?

2008-10-15 Thread Timo Sirainen
On Oct 15, 2008, at 9:42 PM, Tim Bishop wrote: The problem is when a user specifies their own prefix in their mail client (if it's blank there are no problems). If they have ~/Mail none of the folders show up. I've had a play with namespaces in an attempt to fix that, but it doesn't seem to be

[Dovecot] Ignore prefix given by client?

2008-10-15 Thread Tim Bishop
Hi all, I'm new to Dovecot, but so far I've been really impressed with what I've seen. I hope someone can help with the following question. We're migrating from a setup where some of our users use mbox with UW imap. The problem is we've never enforced a folder prefix, so some have their folders i

Re: [Dovecot] Something weird happening...

2008-10-15 Thread Marcus Rueckert
On 2008-10-08 10:44:25 +0200, Claudio Prono wrote: > I use Dovecot dovecot11-1.1.3-5.1 from OpenSuSE 11, when i send a mail > from the logs i read: > > Oct 8 10:36:31 mail postfix/pipe[17934]: A360A851: > to=<[EMAIL PROTECTED]>, relay=dovecot, delay=0.22, > delays=0.18/0/0/0.04, dsn=4.3.0, status

Re: [Dovecot] imap segfaults in dovecot 1.2 on logout

2008-10-15 Thread Sascha Wilde
Bernhard Herzog <[EMAIL PROTECTED]> writes: > On 15.10.2008, Bernhard Herzog wrote: >> I recall having a similar problem with the Annotation plugin. IIRC it had >> something to do with not unregistering commands properly when the plugin >> was unloaded. In that case the array of known commands re

Re: [Dovecot] imap segfaults in dovecot 1.2 on logout

2008-10-15 Thread Bernhard Herzog
On 15.10.2008, Bernhard Herzog wrote: > I recall having a similar problem with the Annotation plugin. IIRC it had > something to do with not unregistering commands properly when the plugin > was unloaded. In that case the array of known commands retains dangling > pointers to the names of the com

Re: [Dovecot] imap segfaults in dovecot 1.2 on logout

2008-10-15 Thread Bernhard Herzog
Sascha Wilde <[EMAIL PROTECTED]> writes: > when logging out like > > a001 logout > > the imap child dies from signal 11. The back trace looks like this: > > Program received signal SIGSEGV, Segmentation fault. > 0xb7ed4991 in strcasecmp () from /lib/tls/i686/cmov/libc.so.6 > (gdb) bt > #0 0xb7ed4

Re: [Dovecot] imap segfaults in dovecot 1.2 on logout

2008-10-15 Thread Timo Sirainen
On Oct 15, 2008, at 5:57 PM, Sascha Wilde wrote: #1 0x0806ab6c in command_unregister (name=0x815b9ab "LOGOUT") at commands.c:83 83 if (strcasecmp(cmd[i].name, name) == 0) { (gdb) p cmd[i] $1 = {name = 0xb7e65ce7 , func = 0xb7e6432d, flags = 0}

[Dovecot] imap segfaults in dovecot 1.2 on logout

2008-10-15 Thread Sascha Wilde
Hi Timo, when logging out like a001 logout the imap child dies from signal 11. The back trace looks like this: Program received signal SIGSEGV, Segmentation fault. 0xb7ed4991 in strcasecmp () from /lib/tls/i686/cmov/libc.so.6 (gdb) bt #0 0xb7ed4991 in strcasecmp () from /lib/tls/i686/cmov/lib

[Dovecot] Multiple IMAP connections.

2008-10-15 Thread Roderick A. Anderson
There is a project (catmail) to build a webmail front end using the Catalyst Framework and the question came up about multiple connections per user. Specifically the question was: "The IMAP server can support multiple connections, but do you think the backend should support multiple connection

[Dovecot] deliver does not work with new shared namespaces in dovecot 1.2

2008-10-15 Thread Sascha Wilde
Hi Timo, checking my new userdb-checkpassword back end is stumbled across the fact, that the new shared namespace definitions possible in dovecot stop deliver from working. The log says: Oct 15 14:37:43 burlywood3 deliver([EMAIL PROTECTED])[24502]: Namespace: type=shared, prefix=users/%%u/, se

Re: [Dovecot] Bug: MODSEQ FETCH return (?)

2008-10-15 Thread Timo Sirainen
On Tue, 2008-10-14 at 21:29 -0600, Michael M. Slusarz wrote: > Unfortunately, Dovecot 1.2 is returning as follows: > S: * 1 FETCH (UID 1 MODSEQ 3 FLAGS (\Flagged \Deleted \Recent)) > > Where, under the RFC, I believe it should be: > S: * 1 FETCH (UID 1 MODSEQ (3) FLAGS (\Flagged \Deleted \Recent))

Re: [Dovecot] Patch: use child_wait in passdb-checkpassword

2008-10-15 Thread Sascha Wilde
Sascha Wilde <[EMAIL PROTECTED]> writes: > Sascha Wilde <[EMAIL PROTECTED]> writes: >> Now I'll try to do the same for my userdb, so that they should work at >> the same time -- stay tuned... > > I have a first working beta. I'll put a repository with the changes > on line soon... Done. You can

Re: [Dovecot] Search results as virtual folders

2008-10-15 Thread Timo Sirainen
On Tue, 2008-10-14 at 17:21 -0700, Daniel L. Miller wrote: > This may have been asked before - if so I apologize. > > Some mail clients - like Thunderbird - can provide a virtual folder or > "saved search" to provide a list of mails that match certain criteria. > Obviously, unless special clien

Re: [Dovecot] Patch: use child_wait in passdb-checkpassword

2008-10-15 Thread Sascha Wilde
Sascha Wilde <[EMAIL PROTECTED]> writes: > Thanks! Seems indeed helpful. I have changed passdb-checkpassword to > use the child-wait stuff, see attached patch. (I have put > child-wait.[ch] into src/lib/) Doh! Forgot to attach the patch (which isn't to bad as it was faulty anyway...). This ti