[Dovecot] login crashes - maybe too many simultan connections

2013-04-23 Thread Frank Leonhardt
Hallo, since a few days, users sometimes have problems connecting to our mailserver, in the mail.err are many lines like this: Apr 23 11:14:25 psy2 dovecot: dovecot: child 17607 (login) killed with signal 11 (core dumps disabled) (ip=xx.xx.146.84) Users who are already logged in keep connect

Re: [Dovecot] Make install error

2013-04-23 Thread kengheng
Hi, I tried remove and make install, same err happended. I noticed from the log below, it first generate the "/usr/local/dovecot/lib/dovecot/auth" with checkpassword-reply, and it is success, the coming generation directory for auth at "/usr/local/dovecot/lib/dovecot/", it is weird that the mak

Re: [Dovecot] Using dsync to export mail to remote IMAP account

2013-04-23 Thread Joseph Tam
Timo Sirainen writes: I've read the web/man pages on dsync, but it's not clear to me whether dsync can be used to export (rather than import) a user's mailbox to a remote non-dovecot IMAP account. It should be possible at some point, but currently probably won't work very well. Ah, thanks fo

Re: [Dovecot] mailbox_list_index_parse_header crash

2013-04-23 Thread Kyle Wheeler
On Tuesday, April 23 at 09:06 PM, quoth Timo Sirainen: On Tue, 2013-04-23 at 10:52 -0600, Kyle Wheeler wrote: I got all excited about IMAP NOTIFY support and tried enabling mailbox_list_index on my server. Unfortunately, I rather quickly ran into trouble of the segfault variety. This prevented

Re: [Dovecot] mailbox_list_index_parse_header crash

2013-04-23 Thread Timo Sirainen
On Tue, 2013-04-23 at 10:52 -0600, Kyle Wheeler wrote: > I got all excited about IMAP NOTIFY support and tried enabling > mailbox_list_index on my server. Unfortunately, I rather quickly ran > into trouble of the segfault variety. This prevented me from doing > basic things like seeing the cont

Re: [Dovecot] mailbox_list_index_parse_header crash

2013-04-23 Thread Kyle Wheeler
Sorry, I should have said; I'm running 2.2.1 On Tuesday, April 23 at 10:52 AM, quoth Kyle Wheeler: Hi, I got all excited about IMAP NOTIFY support and tried enabling mailbox_list_index on my server. Unfortunately, I rather quickly ran into trouble of the segfault variety. This prevented me fr

[Dovecot] mailbox_list_index_parse_header crash

2013-04-23 Thread Kyle Wheeler
Hi, I got all excited about IMAP NOTIFY support and tried enabling mailbox_list_index on my server. Unfortunately, I rather quickly ran into trouble of the segfault variety. This prevented me from doing basic things like seeing the contents of some of my folders. Disabling mailbox_list_index

Re: [Dovecot] Feature request: Configure CONFIG_MODULE_DIR and AUTH_MODULE_DIR at runtime

2013-04-23 Thread Professa Dementia
If you start/stop dovecot with an initscript or some other related system, you can do what SuSE does, since this problem occurs in lots of situations, not just dovecot. Since you know where all the config files are, you could either have the initscript set up a directory with symlinks, as Timo

Re: [Dovecot] Feature request: Configure CONFIG_MODULE_DIR and AUTH_MODULE_DIR at runtime

2013-04-23 Thread Rickard Nilsson
Den 2013-04-23 17:20:02 skrev Timo Sirainen : On 23.4.2013, at 17.58, Rickard Nilsson wrote: The problem is the service and auth modules, that dovecot tries to load from the compile-time set MODULE_DIR/{settings,auth}. This is a problem for me, because I can't set the module path during

Re: [Dovecot] Replication -- multiple users, three or more servers?

2013-04-23 Thread Rich Wales
Replying to Timo: > Everything is the same as in that wiki page, except you need to have > userdb field override the mail_replica setting. Or I guess you wouldn't > want to have a default mail_replica at all, so users won't accidentally > get replicated to wrong place. See > http://wiki2.dovecot.o

Re: [Dovecot] Feature request: Configure CONFIG_MODULE_DIR and AUTH_MODULE_DIR at runtime

2013-04-23 Thread Timo Sirainen
On 23.4.2013, at 17.58, Rickard Nilsson wrote: > I am running dovecot 2.1.16 on NixOS (http://nixos.org), and I have been > fighting the dynamically loaded dovecot modules/plugins a bit. > > The problem is that in Nix/NixOS all packages are completely isolated from > each other (each package h

[Dovecot] Feature request: Configure CONFIG_MODULE_DIR and AUTH_MODULE_DIR at runtime

2013-04-23 Thread Rickard Nilsson
Hi! I am running dovecot 2.1.16 on NixOS (http://nixos.org), and I have been fighting the dynamically loaded dovecot modules/plugins a bit. The problem is that in Nix/NixOS all packages are completely isolated from each other (each package has a separate /lib, /libexec, /bin etc, with onl

Re: [Dovecot] imap Panic: file istream-seekable.c: line 253 (i_stream_seekable_read): assertion failed: (stream->istream.v_offset + stream->pos <= sstream->write_peak)

2013-04-23 Thread Timo Sirainen
On 23.4.2013, at 14.47, Pascal Volk wrote: > just another crash - using 2.2.1 (c95cea6e1389). Fixed: http://hg.dovecot.org/dovecot-2.2/rev/2784b88a4260 (This started happening only after yesterday's zlib change.)

Re: [Dovecot] Running LMTP as a user other than the root user

2013-04-23 Thread Axel Luttgens
Le 16 avr. 2013 à 19:47, Axel Luttgens a écrit : > [...] Mea culpa. I missed a few enlightening lines in 10-master.conf, at the beginning of the "service auth" section. They are terribly useful for understanding the coding choices and to conclude that everything "works as intended". Axel

Re: [Dovecot] Dovecot 2.2.1: typo in src/lib-http/Makefile.in

2013-04-23 Thread Timo Sirainen
On 23.4.2013, at 15.56, Piper Andreas wrote: > > there seems to be a typo in the dovecot-2.2.1-sources: > > in dovecot-2.2.1/src/lib-http/Makefile.in at line 758 the two lines > > ../lib-test/libtest.la \ > ../lib/liblib.la > > do not fit into the Makefile-syntax. At compile-time t

Re: [Dovecot] Dovecot 2.1.16: "default_client_count" written to the logs

2013-04-23 Thread Axel Luttgens
Le 23 avr. 2013 à 12:37, Timo Sirainen a écrit : > On Mon, 2013-04-22 at 14:07 +0200, Axel Luttgens wrote: >> Hello, >> >> [...] >> Shouldn't it read "default_client_limit" instead of "default_client_count"? > > Yes, fixed. Thanks, Timo. >> It seems that the warning is written only when reloa

[Dovecot] Dovecot 2.2.1: typo in src/lib-http/Makefile.in

2013-04-23 Thread Piper Andreas
Hello, there seems to be a typo in the dovecot-2.2.1-sources: in dovecot-2.2.1/src/lib-http/Makefile.in at line 758 the two lines ../lib-test/libtest.la \ ../lib/liblib.la do not fit into the Makefile-syntax. At compile-time they produce the error make: Fatal error in reader: Mak

Re: [Dovecot] Integrate mbox into mdbox

2013-04-23 Thread Steffen Kaiser
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Sat, 20 Apr 2013, lutz.niede...@gmx.net wrote: I have several mbox files (unstructured, only the big plain mbox files) and I would like to integrate/read these mbox files into mdbox subfolders of specific users.  This is a production system and

[Dovecot] imap Panic: file istream-seekable.c: line 253 (i_stream_seekable_read): assertion failed: (stream->istream.v_offset + stream->pos <= sstream->write_peak)

2013-04-23 Thread Pascal Volk
Hi Timo, just another crash - using 2.2.1 (c95cea6e1389). Regards, Pascal Reading symbols from /usr/local/libexec/dovecot/imap...done. [New LWP 15198] warning: Can't read pathname for load map: Input/output error. [Thread debugging using libthread_db enabled] Using host libthread_db library "/l

Re: [Dovecot] Using dsync to export mail to remote IMAP account

2013-04-23 Thread Timo Sirainen
On Mon, 2013-04-22 at 19:56 -0700, Joseph Tam wrote: > > I've read the web/man pages on dsync, but it's not clear to me whether > dsync can be used to export (rather than import) a user's mailbox to a > remote non-dovecot IMAP account. It should be possible at some point, but currently probably w

Re: [Dovecot] Replication -- multiple users, three or more servers?

2013-04-23 Thread Timo Sirainen
On Mon, 2013-04-22 at 11:23 -0700, Rich Wales wrote: > I'm running Dovecot 2.2.1 on an Ubuntu 12.04.2 server, with half a dozen > accounts for various family members. I want to set up replication > involving at least three Ubuntu servers, with different users replicated > on different sets of serv

Re: [Dovecot] Dovecot 2.1.16: "default_client_count" written to the logs

2013-04-23 Thread Timo Sirainen
On Mon, 2013-04-22 at 14:07 +0200, Axel Luttgens wrote: > Hello, > > As to be expected with low system limits, a warning may be written to the > logs: > master: Warning: fd limit (ulimit -n) is lower than required under > max. load (256 < 1000), because of default_client_count > Shoul

Re: [Dovecot] Make install error

2013-04-23 Thread Timo Sirainen
On Fri, 2013-04-19 at 11:50 +0800, kengheng wrote: > Hi, I'm recompiling dovecot 2.2.0/2.2.1 with error below during make > install: > > test -z "/usr/local/dovecot/lib/dovecot/auth" || /usr/bin/mkdir -p > "/usr/local/dovecot/lib/dovecot/auth" > /usr/bin/mkdir: cannot create directory > ‘/usr/l