Re: [Dovecot] MySQL server has gone away

2012-01-13 Thread Paul B. Henson
On 1/13/2012 10:29 AM, Mark Moseley wrote: connection prior to this, is the auth worker not recognizing its connection is already half-closed (in which case, it probably shouldn't even consider it a legitimate connection and just automatically reconnect, i.e. try #1, not the retry, which would h

Re: [Dovecot] MySQL server has gone away

2012-01-13 Thread Paul B. Henson
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 Hmm, hadn't tried that, but flipped it on to see how it might work out. The only tradeoff is a potential dela

Re: [Dovecot] MySQL server has gone away

2012-01-13 Thread Mark Moseley
On Fri, Jan 13, 2012 at 2:46 PM, Paul B. Henson wrote: > On Fri, Jan 13, 2012 at 01:36:38AM -0800, Timo Sirainen 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 t

Re: [Dovecot] MySQL server has gone away

2012-01-13 Thread Paul B. Henson
On Fri, Jan 13, 2012 at 01:36:38AM -0800, Timo Sirainen 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

Re: [Dovecot] Server Time 45min ahead

2012-01-13 Thread maximus12
Hi Ralf, Thanks for your help. Dovecot stop Change the server time Dovecot start Got a warning but it worked! Thanks a lot for your help. (With dovecot 1.x) -- View this message in context: http://old.nabble.com/Server-Time-45min-ahead-tp33126760p33137241.html Sent from the Dovecot mailing

[Dovecot] 2.1.rc3 (1a722c7676bb): Panic: file ostream.c: line 173 (o_stream_sendv): assertion failed: (stream->stream_errno != 0)

2012-01-13 Thread Pascal Volk
Hi Timo, today some imap processes are crashed. Regards, Pascal -- The trapper recommends today: f007ba11.1201...@localdomain.org #0 0x7ff2b6e16405 in raise () from /lib/x86_64-linux-gnu/libc.so.6 No symbol table info available. #1 0x7ff2b6e19680 in abort () from /lib/x86_64-linux-gnu

Re: [Dovecot] 2.1.rc3 (1a722c7676bb):dsync umlaut problems

2012-01-13 Thread Pascal Volk
On 01/13/2012 04:10 AM Pascal Volk wrote: > All umlauts in mailbox names are lost after converting mbox/Maildir > mailboxes to mdbox. > > # ls -d /srv/import/Maildir/.Gel\&APY-schte\ Elemente/ > /srv/import/Maildir/.Gel&APY-schte Elemente/ > … > # doveadm mailbox list -u j...@example.com Gel* > G

Re: [Dovecot] MySQL server has gone away

2012-01-13 Thread Mark Moseley
On Fri, Jan 13, 2012 at 11:38 AM, Robert Schetterer wrote: > Am 13.01.2012 19:29, schrieb Mark Moseley: >> On Fri, Jan 13, 2012 at 1:36 AM, Timo Sirainen wrote: >>> On 13.1.2012, at 4.00, Mark Moseley wrote: >>> I'm running 2.0.17 and I'm still seeing a decent amount of "MySQL server ha

Re: [Dovecot] MySQL server has gone away

2012-01-13 Thread Robert Schetterer
Am 13.01.2012 19:29, schrieb Mark Moseley: > On Fri, Jan 13, 2012 at 1:36 AM, Timo Sirainen wrote: >> On 13.1.2012, at 4.00, Mark Moseley wrote: >> >>> I'm running 2.0.17 and I'm still seeing a decent amount of "MySQL >>> server has gone away" errors, despite having multiple hosts defined in >>> m

Re: [Dovecot] Dsync and compressed mailboxes

2012-01-13 Thread Dovecot-GDH
The dsync process will be aware of whatever configuration file it refers to. The best thing to do is to set up a separate instance of Dovecot with compression enabled (really not that hard to do) and point dsync to that separate instances's configuration. Mailboxes written by dsync will be comp

Re: [Dovecot] MySQL server has gone away

2012-01-13 Thread Mark Moseley
On Fri, Jan 13, 2012 at 1:36 AM, Timo Sirainen wrote: > On 13.1.2012, at 4.00, Mark Moseley wrote: > >> I'm running 2.0.17 and I'm still seeing a decent amount of "MySQL >> server has gone away" errors, despite having multiple hosts defined in >> my auth userdb 'connect'. This is Debian Lenny 32-b

Re: [Dovecot] Using Dovecot-auth to return error code 450 (or other 4xx) to Postfix when user is on vacation

2012-01-13 Thread Charles Marcus
On 2012-01-13 12:11 PM, IVO GELOV (CRM) wrote: I am aware of the various autoresponder scripts for vacation autoreplies (I am using Virtual Vacation 3.1 by Mischa Peters). I have an issue with auto-replies - it is vulnerable to spamming with forged email address. I think you are using an extre

[Dovecot] Using Dovecot-auth to return error code 450 (or other 4xx) to Postfix when user is on vacation

2012-01-13 Thread IVO GELOV (CRM)
Hello to all members. I am using Dovecot for 5 years, but this is my first post here. I am aware of the various autoresponder scripts for vacation autoreplies (I am using Virtual Vacation 3.1 by Mischa Peters). I have an issue with auto-replies - it is vulnerable to spamming with forged email a

[Dovecot] Dsync and compressed mailboxes

2012-01-13 Thread Joseba Torre
Hi, I will begin two migrations next week, and in both cases I plan to use compressed mailboxes with mdbox format. But in the last minute one doubt has appeared: is dsync aware of compressed mailboxes? I'm not sure if dsync -u $USER mirror mdbox:compressed_mdbox_path works, or if I have to u

Re: [Dovecot] Need help with details for new Dovecot plugin - was: Re: (no subject)

2012-01-13 Thread Charles Marcus
On 2012-01-12 6:17 PM, Timo Sirainen wrote: On 11.1.2012, at 20.53, Geoffrey Broadwell wrote: So now the hard part is writing the piece that I can't just crib from elsewhere -- making sure that I hook every place in Dovecot that the user's voicemail folder can be changed in a way that would cha

Re: [Dovecot] Need help with details for new Dovecot plugin

2012-01-13 Thread Charles Marcus
On 2012-01-12 6:10 PM, Maarten Bezemer wrote: Of course I don't know anything about the details of the project (number of users, requirements for speed of MWI updates, mail storage type, etc.) but if it's not a very large setup and mail storage is mbox or maildir, I'd probably go for cron-based

[Dovecot] dsync conversion and ldap attributes

2012-01-13 Thread Jan-Frode Myklebust
I have: mail_home = /srv/mailstore/%256RHu/%d/%n mail_location = maildir:~/:INDEX=/indexes/%1u/%1.1u/%u userdb { args = /etc/dovecot/dovecot-ldap.conf.ext driver = ldap } and the dovecot-ldap.conf.ext specifies: user_attrs

Re: [Dovecot] more than 200 imap processes for one user

2012-01-13 Thread Timo Sirainen
On 13.1.2012, at 11.01, Götz Reinicke wrote: > recently I noticed, that our dovecot server (RH EL 5.7 > dovecot-1.0.7-7.el5_7.1) 'fires' up a lot of imap processes only for one > user. v1.1+ limits this to 10 processes by default. > Dose anyone has an idea, what could be the cause? Some client

Re: [Dovecot] MySQL server has gone away

2012-01-13 Thread Timo Sirainen
On 13.1.2012, at 4.00, Mark Moseley wrote: > I'm running 2.0.17 and I'm still seeing a decent amount of "MySQL > server has gone away" errors, despite having multiple hosts defined in > my auth userdb 'connect'. This is Debian Lenny 32-bit and I'm seeing > the same thing with 2.0.16 on Debian Sque

[Dovecot] more than 200 imap processes for one user

2012-01-13 Thread Götz Reinicke
HI, recently I noticed, that our dovecot server (RH EL 5.7 dovecot-1.0.7-7.el5_7.1) 'fires' up a lot of imap processes only for one user. I counted 214 :-) most of tham in the 'S' state and are started nearly at the same time within 5 minutes. Usually users do have about 4 to 10 Dose anyon