Re: [Dovecot] MySQL server has gone away

2012-01-20 Thread Paul B. Henson
On Fri, Jan 20, 2012 at 09:16:57AM -0800, Timo Sirainen wrote: > This is fixed in v2.1 hg. The default idle_kill of 60 seconds seems to > have gotten rid of the "MySQL server has gone away" errors completely. > So I guess the problem was that during some peak times a ton of auth > worker processes

Re: [Dovecot] 2.1.rc3 (1a722c7676bb): doveadm mailbox list withholds child mailboxes

2012-01-20 Thread Pascal Volk
On 01/13/2012 02:25 AM Pascal Volk wrote: > doveadm mailbox list -u u...@example.com doesn't show child mailboxes. Looks like http://hg.dovecot.org/dovecot-2.1/rev/54e74090fb42 fixed the problem. Thanks Regards, Pascal -- The trapper recommends today: defaced.1202...@localdomain.org

Re: [Dovecot] MySQL server has gone away

2012-01-20 Thread Paul B. Henson
On 1/20/2012 9:17 AM, Timo Sirainen wrote: Works for me. Are you maybe sending it to wrong auth process (auth worker instead of master)? I had tried sending it to both; but the underlying problem turned out to be that the updated config hadn't actually been deployed yet 8-/ oops. Once I fix

Re: [Dovecot] mail_max_userip_connections exceeded.

2012-01-20 Thread Knute Johnson
On 1/20/2012 4:48 PM, Joseph Tam wrote: Simon Brereton writes: /var/log/mail.log.1:2490:Jan 19 12:02:55 mail dovecot: imap-login: Maximum number of connections from user+IP exceeded (mail_max_userip_connections): user=, method=PLAIN, rip=127.0.0.1, secured I never changed this from the defaul

Re: [Dovecot] Clients show .subscriptions folder

2012-01-20 Thread Mark Sapiro
Timo Sirainen wrote: >On 10.1.2012, at 18.34, Mark Sapiro wrote: > >> Since upgrading from dovecot-2.1.rc1 to dovecot-2.1.rc3, some clients >> are showing a .subscriptions file in the user's mbox path as a folder. > >Fixed: http://hg.dovecot.org/dovecot-2.1/rev/958ef86e7f5b Thanks Timo. I've ins

Re: [Dovecot] mail_max_userip_connections exceeded.

2012-01-20 Thread Joseph Tam
Simon Brereton writes: /var/log/mail.log.1:2490:Jan 19 12:02:55 mail dovecot: imap-login: Maximum number of connections from user+IP exceeded (mail_max_userip_connections): user=, method=PLAIN, rip=127.0.0.1, secured I never changed this from the default 10. When I googled this error there wa

Re: [Dovecot] MySQL server has gone away

2012-01-20 Thread Paul B. Henson
On 1/20/2012 1:06 PM, Timo Sirainen wrote: Hmh. Still doesn't work 100%: auth-worker(28788): Error: mysql: Query failed, retrying: MySQL server has gone away (idled for 181 secs) auth-worker(7413): Error: mysql: Query failed, retrying: MySQL server has gone away (idled for 298 secs) I'm not re

Re: [Dovecot] MySQL server has gone away

2012-01-20 Thread Timo Sirainen
On 20.1.2012, at 19.16, Timo Sirainen wrote: > This is fixed in v2.1 hg. The default idle_kill of 60 seconds seems to have > gotten rid of the "MySQL server has gone away" errors completely. So I guess > the problem was that during some peak times a ton of auth worker processes > were created,

Re: [Dovecot] Clients show .subscriptions folder

2012-01-20 Thread Timo Sirainen
On 10.1.2012, at 18.34, Mark Sapiro wrote: > Since upgrading from dovecot-2.1.rc1 to dovecot-2.1.rc3, some clients > are showing a .subscriptions file in the user's mbox path as a folder. Fixed: http://hg.dovecot.org/dovecot-2.1/rev/958ef86e7f5b

Re: [Dovecot] Performance of Maildir vs sdbox/mdbox

2012-01-20 Thread Timo Sirainen
On 20.1.2012, at 9.43, Robert Schetterer wrote: > i.e i think it should be poosible to design partitioning with ldap or sql > to i.e split up heavy and big mailboxes in seperate storage partitions etc > am i right here Timo ? You can use per-user home or mail_location that points to different sto

Re: [Dovecot] Performance of Maildir vs sdbox/mdbox

2012-01-20 Thread Timo Sirainen
On 20.1.2012, at 4.27, Stan Hoeppner wrote: >> I spent months looking into NFS related issues. I read through Linux and >> FreeBSD kernel source codes to figure out if there's something I could do to >> avoid the problems I see. I sent some patches to try to improve things, >> which of course d

Re: [Dovecot] LMTP ignoring tcpwrappers

2012-01-20 Thread Timo Sirainen
On 20.1.2012, at 0.30, Harm Weites wrote: > we want to use dovecot LMTP for efficient mail delivery from our MX > servers (running postfix 2.8) to our storage servers (dovecot 2.0.17). > However, the one problem we see is the lack of access control when using > LMTP. It apears that every client in

Re: [Dovecot] mail_max_userip_connections exceeded.

2012-01-20 Thread Timo Sirainen
On 01/20/2012 06:06 PM, Simon Brereton wrote: I have this error in the logs. /var/log/mail.log.1:2490:Jan 19 12:02:55 mail dovecot: imap-login: Maximum number of connections from user+IP exceeded (mail_max_userip_connections): user=, method=PLAIN, rip=127.0.0.1, secured I never changed this fro

Re: [Dovecot] UID 0 problem while issuing an UID THREAD REFS command

2012-01-20 Thread Timo Sirainen
On 01/20/2012 06:24 PM, Jesús M. Navarro wrote: I'm having problems on a maildir due to dovecot returning an UID 0 to an UID THREAD REFS command: I think that, as per a previous answer from Timo Sirainen*1, this should be considered a dovecot's bug, am I right? Anyway, what should I try to find

Re: [Dovecot] Notify plugin: segmentation fault

2012-01-20 Thread Timo Sirainen
On 01/20/2012 02:35 PM, Ewald Dieterich wrote: I'm trying to develop a plugin that uses the hooks provided by the notify plugin. The notify plugin segfaults if you don't set the mailbox_rename hook. I attached a patch to notify-plugin.c from Dovecot 2.0.16 that should fix this. Fixed, thanks.

Re: [Dovecot] MySQL server has gone away

2012-01-20 Thread Timo Sirainen
On 14.1.2012, at 2.19, Paul B. Henson wrote: > On Fri, Jan 13, 2012 at 11:38:28AM -0800, Robert Schetterer wrote: > >> by the way , if you use sql for auth have you tried auth caching ? >> >> http://wiki.dovecot.org/Authentication/Caching > > That page says you can send a USR2 signal to the aut

Re: [Dovecot] MySQL server has gone away

2012-01-20 Thread Timo Sirainen
On 14.1.2012, at 1.19, Mark Moseley wrote: >>> Also another idea to avoid them in the first place: >>> >>> service auth-worker { >>> idle_kill = 20 >>> } >> >> Ah, set the auth-worker timeout to less than the mysql timeout to >> prevent a stale mysql connection from ever being used. I'll try t

[Dovecot] UID 0 problem while issuing an UID THREAD REFS command

2012-01-20 Thread Jesús M. Navarro
Hi: This is my first message to this list, so pleased to meet you all. Using dovecot 2.0.17 from packages at xi.rename-it.nl on a Debian "Squeeze" i686. Mail storage is a local ext3 partition (I attached the output of dovecot -n to this message). I'm having problems on a maildir due to doveco

[Dovecot] mail_max_userip_connections exceeded.

2012-01-20 Thread Simon Brereton
Hi I'm using Dovecot version 1:1.2.15-7 installed on Debian Squeeze via apt-get.. I have this error in the logs. /var/log/mail.log.1:2490:Jan 19 12:02:55 mail dovecot: imap-login: Maximum number of connections from user+IP exceeded (mail_max_userip_connections): user=, method=PLAIN, rip=127.0.0.

[Dovecot] LMTP ignoring tcpwrappers

2012-01-20 Thread Harm Weites
Hello, we want to use dovecot LMTP for efficient mail delivery from our MX servers (running postfix 2.8) to our storage servers (dovecot 2.0.17). However, the one problem we see is the lack of access control when using LMTP. It apears that every client in our network who has access to the storage

[Dovecot] Notify plugin: segmentation fault

2012-01-20 Thread Ewald Dieterich
I'm trying to develop a plugin that uses the hooks provided by the notify plugin. The notify plugin segfaults if you don't set the mailbox_rename hook. I attached a patch to notify-plugin.c from Dovecot 2.0.16 that should fix this. Ewald --- dovecot-2.0.16/src/plugins/notify/notify-plugin.c.or