Re: [Dovecot] status=bounced (Command died with signal 11: /usr/lib/dovecot/deliver

2009-05-26 Thread Timo Sirainen
On Tue, 2009-05-26 at 07:49 +0200, Chantal Rosmuller wrote: Program received signal SIGSEGV, Segmentation fault. 0xb7e0b5bf in unsetenv () from /lib/tls/i686/cmov/libc.so.6 (gdb) #0 0xb7e0b5bf in unsetenv () from /lib/tls/i686/cmov/libc.so.6 No symbol table info available. #1 0xb7ff80dd in

Re: [Dovecot] pop3 gives a permission denied error on chdir

2009-05-26 Thread Timo Sirainen
On Tue, 2009-05-26 at 11:24 +0530, Kenneth Gonsalves wrote: I can't really give any more suggestions. It should either be a directory permission problem somewhere or SELinux or something. You could maybe temporarily try installing v1.2 and see what it logs as the error. It should

Re: [Dovecot] Segfault with dovecot -n / dovecot 2.0

2009-05-26 Thread reg9009
Timo Sirainen schrieb: On Mon, 2009-05-25 at 16:32 +, ja nein wrote: and while trying to get some environmental stuff via dovecot -n, I got a segfault (dovecot is not in system path): /opt/dovecot-2.0/sbin/dovecot -c /etc/dovecot-2.0/sql/dovecot.conf -n Could you get gdb

[Dovecot] namespace problem with dovecot 2.0

2009-05-26 Thread reg9009
Hi all, I've got some namespace problems with dovecot 2.0 again. If I start dovecot 2.0 with same settings of namespace and maildir layout as dovecot 1.2, I don't see my folders above the Inbox. I see them as INBOX/xxx in the same root level as my INBOX. If I try to subscribe to the folders, I

[Dovecot] compile errors on latest hg trunk

2009-05-26 Thread reg9009
Hi, I think there are some files missing (regarding auth mech-external): compile error (did fresh autogen.sh): gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/lib -I../../src/lib-auth -I../../src/lib-sql -I../../src/lib-settings -I../../src/lib-ntlm -I../../src/lib-otp -I../../src/lib-master

[Dovecot] Maildir with LAYOUT=fs not working

2009-05-26 Thread Rich Wales
I'm considering converting a Cyrus system (managing my family's e-mail) to Dovecot. I'm trying Dovecot 1.1.15 on an Ubuntu 9.04 (2.6.28-11-server) system. My production server is currently running Cyrus 2.3.14. Since I have a huge number of folders and subfolders, I need to use LAYOUT=fs.

Re: [Dovecot] status=bounced (Command died with signal 11: /usr/lib/dovecot/deliver

2009-05-26 Thread Timo Sirainen
On Tue, 2009-05-26 at 07:49 +0200, Chantal Rosmuller wrote: Program received signal SIGSEGV, Segmentation fault. 0xb7e0b5bf in unsetenv () from /lib/tls/i686/cmov/libc.so.6 (gdb) #0 0xb7e0b5bf in unsetenv () from /lib/tls/i686/cmov/libc.so.6 No symbol table info available. #1 0xb7ff80dd in

Re: [Dovecot] compile errors on latest hg trunk

2009-05-26 Thread Timo Sirainen
On Tue, 2009-05-26 at 08:39 +0200, reg9009 wrote: Hi, I think there are some files missing (regarding auth mech-external): Looks like I managed to forget adding it in v2.0 commit. Added now. signature.asc Description: This is a digitally signed message part

Re: [Dovecot] namespace problem with dovecot 2.0

2009-05-26 Thread Timo Sirainen
On Tue, 2009-05-26 at 08:21 +0200, reg9009 wrote: Hi all, I've got some namespace problems with dovecot 2.0 again. If I start dovecot 2.0 with same settings of namespace and maildir layout as dovecot 1.2, I don't see my folders above the Inbox. I see them as INBOX/xxx in the same root level

Re: [Dovecot] status=bounced (Command died with signal 11: /usr/lib/dovecot/deliver

2009-05-26 Thread Chantal Rosmuller
On Tuesday 26 May 2009 08:48:17 Timo Sirainen wrote: On Tue, 2009-05-26 at 07:49 +0200, Chantal Rosmuller wrote: Program received signal SIGSEGV, Segmentation fault. 0xb7e0b5bf in unsetenv () from /lib/tls/i686/cmov/libc.so.6 (gdb) #0 0xb7e0b5bf in unsetenv () from

Re: [Dovecot] expire tool - individual user/folder?

2009-05-26 Thread Timo Sirainen
On Tue, 2009-05-26 at 08:50 +0200, Andre Hübner wrote: #1 0x080ba380 in vstrconcat (str1=0x80bd017 RESTRICT_SETGID=, args=0xbfd4bd78 , ret_len=0xbfd4bd5c) at strfuncs.c:165 str = 0x4 Address 0x4 out of bounds temp = 0x80d6330 RESTRICT_SETGID=, 'Þ' repeats 184 times...

Re: [Dovecot] status=bounced (Command died with signal 11: /usr/lib/dovecot/deliver

2009-05-26 Thread Timo Sirainen
On Tue, 2009-05-26 at 08:59 +0200, Chantal Rosmuller wrote: On Tuesday 26 May 2009 08:48:17 Timo Sirainen wrote: On Tue, 2009-05-26 at 07:49 +0200, Chantal Rosmuller wrote: Program received signal SIGSEGV, Segmentation fault. 0xb7e0b5bf in unsetenv () from /lib/tls/i686/cmov/libc.so.6

Re: [Dovecot] namespace problem with dovecot 2.0

2009-05-26 Thread reg9009
Timo Sirainen schrieb: On Tue, 2009-05-26 at 08:21 +0200, reg9009 wrote: Hi all, I've got some namespace problems with dovecot 2.0 again. If I start dovecot 2.0 with same settings of namespace and maildir layout as dovecot 1.2, I don't see my folders above the Inbox. I see them as

Re: [Dovecot] LDAP (AD) auth problem

2009-05-26 Thread Misha Volodko
Hello, Using port 3268 I faced with absolutely the same behavior. So, doesn't matter in this case. On Tue, May 26, 2009 at 1:33 AM, Timo Sirainen t...@iki.fi wrote: On Mon, 2009-05-25 at 17:07 +0200, Misha Volodko wrote: I'm trying to authenticate users using MS AD with auth_bind option.

Re: [Dovecot] [bug] dovecot 1.1.15: segfault after message move

2009-05-26 Thread Juergen Daubert
On Mon, May 25, 2009 at 07:31:10PM -0400, Timo Sirainen wrote: On Mon, 2009-05-25 at 10:24 +0200, Juergen Daubert wrote: On Sun, May 24, 2009 at 06:10:50PM -0400, Timo Sirainen wrote: On Wed, 2009-05-20 at 13:47 +0200, Juergen Daubert wrote: May 20 13:28:10 ser dovecot: Panic:

Re: [Dovecot] status=bounced (Command died with signal 11: /usr/lib/dovecot/deliver

2009-05-26 Thread Chantal Rosmuller
I moved the line but now I get status=deferred (temporary failure) probably a permission problem, I have been fiddling with the settings to solve the command died issue so I probably broke something. Either it's not able to write to log file or it wrote the error to log file. Ah okay

Re: [Dovecot] namespace problem with dovecot 2.0

2009-05-26 Thread Timo Sirainen
On Tue, 2009-05-26 at 09:06 +0200, reg9009 wrote: Well, I think it doesn't honour the separator /. It still uses .: Fixed: http://hg.dovecot.org/dovecot-2.0/rev/0b3225f7b3a6 signature.asc Description: This is a digitally signed message part

Re: [Dovecot] [bug] dovecot 1.1.15: segfault after message move

2009-05-26 Thread Timo Sirainen
On Tue, 2009-05-26 at 09:17 +0200, Juergen Daubert wrote: On Mon, May 25, 2009 at 07:31:10PM -0400, Timo Sirainen wrote: On Mon, 2009-05-25 at 10:24 +0200, Juergen Daubert wrote: On Sun, May 24, 2009 at 06:10:50PM -0400, Timo Sirainen wrote: On Wed, 2009-05-20 at 13:47 +0200, Juergen

Re: [Dovecot] expire tool - individual user/folder?

2009-05-26 Thread Andre Hübner
Does the problem go away if you don't configure Dovecot with --enable-devel-checks? no, its not included in my configure-line. This is it: ./configure \ --prefix=/usr \ --sysconfdir=/etc \ --localstatedir=/var \ --mandir=/usr/share/man \ --with-ssl=openssl \ --with-storages=mbox,maildir,raw

Re: [Dovecot] [bug] dovecot 1.1.15: segfault after message move

2009-05-26 Thread Patrick Nagel
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 2009-05-26 15:31, Timo Sirainen wrote: | - mailx: hangs always | | Ubuntu mailx doesn't seem to support IMAP. This is some BSD mailx? He probably refers to http://packages.ubuntu.com/jaunty/heirloom-mailx Patrick. - -- STAR Software (Shanghai)

[Dovecot] enable of imapflags, possible patch (was Re: libsieve problems / wishes)

2009-05-26 Thread Steffen Kaiser
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Thu, 12 Feb 2009, Stephan Bosch wrote: Ok, I finished implementing the 'imapflags' variant of the imap4flags extension. It turned out to be relatively easy to provide support for the obsolete mark/unmark commands, so I added those as well. Note

Re: [Dovecot] Dovecot 1.0.15, sieve fileinto subdirectory ?

2009-05-26 Thread Steffen Kaiser
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Mon, 25 May 2009, Timo Sirainen wrote: if envelope :contains to k+dovecot { fileinto oss.dovecot; } Looks correct. Works for me. Do you have another directory separator (aka not '.') or namespaces? I use the stock Maildir setup. Bye, -

Re: [Dovecot] Panic: file client.c: line 354: unreached

2009-05-26 Thread Ralf Hildebrandt
* Timo Sirainen t...@iki.fi: On Fri, 2009-05-22 at 10:38 +0200, Ralf Hildebrandt wrote: May 22 07:45:37 postamt dovecot: imap-login: Panic: file client.c: line 354: unreached http://hg.dovecot.org/dovecot-1.2/rev/09f78cad5d58 should help. autogen complains today: libtoolize: putting

Re: [Dovecot] [bug] dovecot 1.1.15: segfault after message move

2009-05-26 Thread Timo Sirainen
On Tue, 2009-05-26 at 15:36 +0800, Patrick Nagel wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 2009-05-26 15:31, Timo Sirainen wrote: | - mailx: hangs always | | Ubuntu mailx doesn't seem to support IMAP. This is some BSD mailx? He probably refers to

Re: [Dovecot] Panic: file client.c: line 354: unreached

2009-05-26 Thread Timo Sirainen
On Tue, 2009-05-26 at 09:47 +0200, Ralf Hildebrandt wrote: * Timo Sirainen t...@iki.fi: On Fri, 2009-05-22 at 10:38 +0200, Ralf Hildebrandt wrote: May 22 07:45:37 postamt dovecot: imap-login: Panic: file client.c: line 354: unreached

Re: [Dovecot] [bug] dovecot 1.1.15: segfault after message move

2009-05-26 Thread Juergen Daubert
On Tue, May 26, 2009 at 03:31:41AM -0400, Timo Sirainen wrote: On Tue, 2009-05-26 at 09:17 +0200, Juergen Daubert wrote: On Mon, May 25, 2009 at 07:31:10PM -0400, Timo Sirainen wrote: On Mon, 2009-05-25 at 10:24 +0200, Juergen Daubert wrote: On Sun, May 24, 2009 at 06:10:50PM -0400, Timo

Re: [Dovecot] pop3 gives a permission denied error on chdir

2009-05-26 Thread Max Ivanov
If strace says chdir() failed with EACCES, the only way it could be something else is if kernel is buggy or there is some kernel security module preventing the access. Or dovecot doesn't change uid to user one and still acts as dovecot user, but its unlikely to be true

Re: [Dovecot] namespace problem with dovecot 2.0

2009-05-26 Thread reg9009
Am 26.05.2009 09:21, schrieb Timo Sirainen: On Tue, 2009-05-26 at 09:06 +0200, reg9009 wrote: Well, I think it doesn't honour the separator /. It still uses .: Fixed: http://hg.dovecot.org/dovecot-2.0/rev/0b3225f7b3a6 Hi Timo, hmm, partly. It show up as expected now, but I

Re: [Dovecot] status=bounced (Command died with signal 11: /usr/lib/dovecot/deliver

2009-05-26 Thread Chantal Rosmuller
On Tuesday 26 May 2009 09:03:38 Timo Sirainen wrote: On Tue, 2009-05-26 at 08:59 +0200, Chantal Rosmuller wrote: On Tuesday 26 May 2009 08:48:17 Timo Sirainen wrote: On Tue, 2009-05-26 at 07:49 +0200, Chantal Rosmuller wrote: Program received signal SIGSEGV, Segmentation fault.

Re: [Dovecot] Secure Sockets Layer client certificate authentication

2009-05-26 Thread Stephen Feyrer
Hi. That's really cool! Thanks. -- Kind regards. Stephen. Timo Sirainen wrote: On Mon, 2009-05-25 at 20:10 -0400, Timo Sirainen wrote: There is an EXTERNAL SASL authentication mechanism, which I guess Dovecot could pretty easily support. But I'm not aware of any clients that support

Re: [Dovecot] FTS Plugin design

2009-05-26 Thread Rui Carneiro
Citando Timo Sirainen t...@iki.fi: So valgrind didn't find anything wrong. We should ignore LEAK SUMMARY? What does gdb show as the backtrace? My gdb is not writing where he should (or not writing at all). This shouldn't be enough? mail_executable = /usr/local/libexec/dovecot/gdbhelper

Re: [Dovecot] pop3 gives a permission denied error on chdir

2009-05-26 Thread Kenneth Gonsalves
On Tuesday 26 May 2009 13:33:24 Max Ivanov wrote: If strace says chdir() failed with EACCES, the only way it could be something else is if kernel is buggy or there is some kernel security module preventing the access. Or dovecot doesn't change uid to user one and still acts as dovecot

Re: [Dovecot] Secure Sockets Layer client certificate authentication

2009-05-26 Thread Charles Marcus
On 5/25/2009 7:44 PM, Stephen Feyrer wrote: This is the configuration I am currently running: # 1.2.beta1: /opt/etc/dovecot/dovecot.conf If you are going to run unstable versions of s/w, you should be prepared to run the *latest* versions as soon as they are released, in order to avoid

Re: [Dovecot] Can expire-tool skip folders with expire time in future errors?

2009-05-26 Thread Ralph Seichter
Timo Sirainen wrote: Info: user/Trash: stop, expire time in future: [...] It should log that only when you use --test parameter. You're right, I've used the --test parameter to see what's going on. Anyway it's not an error. It just means that all the rest of the mailboxes have future

[Dovecot] Capability problems dovecot 2.0

2009-05-26 Thread ja nein
Hi, I had some problems connecting TB 2.x with dovecot 2.0. TB2 complained about not being an IMAP4 server. TB 3 worked. It seems that dovecot 2.0 doesn't return capabilities when queried. Maybe some wrong config, thoug? Here are the debug logs from TB2 comparing dovecot 2.0 (not working) and

Re: [Dovecot] Some questions about deliver

2009-05-26 Thread Axel Luttgens
Le 26 mai 09 à 02:08, Timo Sirainen a écrit : On Sun, 2009-05-24 at 18:35 +0200, Axel Luttgens wrote: 1. Shouldn't deliver honor the first_valid_uid setting? I'm not sure. Somehow enforcing it there seems like a bad idea to me. Yes, could well be that I overlooked some possible

Re: [Dovecot] FTS Plugin design

2009-05-26 Thread Timo Sirainen
On May 26, 2009, at 5:46 AM, Rui Carneiro wrote: Citando Timo Sirainen t...@iki.fi: So valgrind didn't find anything wrong. We should ignore LEAK SUMMARY? At least for now. Memory leaks don't cause crashes. What does gdb show as the backtrace? My gdb is not writing where he should (or

[Dovecot] offlineimap with dovecot and sieve

2009-05-26 Thread Dieter Faulbaum
I have a dumb question, is it possible to use this combination: Synchronising a remote IMAP-server and a local dovecot-IMAP-server by offlineimap (with both types = IMAP), which works very well. But it seems, that my sieve-scripts on the local dovecot server are not recognised by this

Re: [Dovecot] offlineimap with dovecot and sieve

2009-05-26 Thread Eduardo M KALINOWSKI
On Ter, 26 Mai 2009, Dieter Faulbaum wrote: I have a dumb question, is it possible to use this combination: Synchronising a remote IMAP-server and a local dovecot-IMAP-server by offlineimap (with both types = IMAP), which works very well. But it seems, that my sieve-scripts on the local dovecot

Re: [Dovecot] offlineimap with dovecot and sieve

2009-05-26 Thread Seth Mattinen
Dieter Faulbaum wrote: I have a dumb question, is it possible to use this combination: Synchronising a remote IMAP-server and a local dovecot-IMAP-server by offlineimap (with both types = IMAP), which works very well. But it seems, that my sieve-scripts on the local dovecot server are not

Re: [Dovecot] FTS Plugin design

2009-05-26 Thread Rui Carneiro
Citando Timo Sirainen t...@iki.fi: At least for now. Memory leaks don't cause crashes. Ok. gdb -p `pidof imap` cont make it crash bt full I think it won't be necessary. It is not crashing anymore. Maybe it was a bug in my code. Tomorrow (or in the next day) I will send you the code.

Re: [Dovecot] [bug] dovecot 1.1.15: segfault after message move

2009-05-26 Thread Timo Sirainen
On Tue, 2009-05-26 at 09:17 +0200, Juergen Daubert wrote: On Mon, May 25, 2009 at 07:31:10PM -0400, Timo Sirainen wrote: On Mon, 2009-05-25 at 10:24 +0200, Juergen Daubert wrote: On Sun, May 24, 2009 at 06:10:50PM -0400, Timo Sirainen wrote: On Wed, 2009-05-20 at 13:47 +0200, Juergen

Re: [Dovecot] Problem in deliver (Panic: file index-mail-headers.c ...)

2009-05-26 Thread Timo Sirainen
On Wed, 2009-05-06 at 13:16 +0200, Stefan Roese wrote: Hi All, I'm experiencing a problem with some mails in deliver. Here the logged error message: deliver(ste...@roese.nl): 2009-05-06 11:57:36 Panic: file index-mail-headers.c: line 141 (index_mail_parse_header_finish): assertion

Re: [Dovecot] example sql acl_shared_dict wiki

2009-05-26 Thread Robert Schetterer
Robert Schetterer schrieb: Timo Sirainen schrieb: On May 22, 2009, at 3:47 AM, Robert Schetterer wrote: Timo Sirainen schrieb: On Mon, 2009-05-18 at 01:40 +0200, Robert Schetterer wrote: could you include an example for having acl_shared_dict in sql ? See if you can get it working with

Re: [Dovecot] Capability problems dovecot 2.0

2009-05-26 Thread Timo Sirainen
On Tue, 2009-05-26 at 11:20 +, ja nein wrote: Hi, I had some problems connecting TB 2.x with dovecot 2.0. TB2 complained about not being an IMAP4 server. TB 3 worked. It seems that dovecot 2.0 doesn't return capabilities when queried. Maybe some wrong config, thoug? I think you can

[Dovecot] dbox verses maildir - advantages/disadvantages

2009-05-26 Thread James Brown
I am migrating our mail server from Courier-IMAP to Dovecot. We currently use maildir storage format. What are the advantages and disadvantages of Dovecot's dbox format over maildir? Does anyone have any performance benchmarks for both? What do people use to test performance? We are

Re: [Dovecot] [bug] dovecot 1.1.15: segfault after message move

2009-05-26 Thread Max Ivanov
Once more, I changed the behavior so that I actually understand how it works now :) http://hg.dovecot.org/dovecot-1.1/rev/c3612800cb90 Does it affects 1.2 version?

Re: [Dovecot] [bug] dovecot 1.1.15: segfault after message move

2009-05-26 Thread Timo Sirainen
On May 27, 2009, at 12:53 AM, Max Ivanov wrote: Once more, I changed the behavior so that I actually understand how it works now :) http://hg.dovecot.org/dovecot-1.1/rev/c3612800cb90 Does it affects 1.2 version? Yes. It has the same fixes.