Re: [Dovecot] v2.1.alpha1 released
On Sun, 04 Sep 2011 18:34:13 +0300 Timo Sirainen wrote: > On Thu, 2011-09-01 at 21:09 +0200, Frank Elsner wrote: > > But when I stop dovecot I get > > > > Sep 1 17:08:17 seymour dovecot: master: Warning: Killed with signal 15 (by > > pid=7896 uid=0 code=kill) > > Sep 1 17:08:17 seymour dovecot: anvil: Panic: file master-service.c: line > > 584 (master_service_client_connection_de > > stroyed): assertion failed: (service->total_available_count > 0) > > http://hg.dovecot.org/dovecot-2.1/rev/66453d942761 should fix this. Works. --Frank Elsner
Re: [Dovecot] v2.1.alpha1 released
Timo Sirainen said the following on 04/09/11 17:33: Sep 2 11:03:11 mail dovecot: stats: Error: Mail server input error: UPDATE-SESSION: stats shrank: ucpu 0.5999< 0.9000 http://hg.dovecot.org/dovecot-2.1/rev/9434093229aa should fix this. Confirmed! Ciao, luigi -- / +--[Luigi Rosa]-- \ Cheap recursion jokes are my favorite kind of cheap recursion jokes.
Re: [Dovecot] v2.1.alpha1 released
On Thu, 2011-09-01 at 21:09 +0200, Frank Elsner wrote: > But when I stop dovecot I get > > Sep 1 17:08:17 seymour dovecot: master: Warning: Killed with signal 15 (by > pid=7896 uid=0 code=kill) > Sep 1 17:08:17 seymour dovecot: anvil: Panic: file master-service.c: line > 584 (master_service_client_connection_de > stroyed): assertion failed: (service->total_available_count > 0) http://hg.dovecot.org/dovecot-2.1/rev/66453d942761 should fix this.
Re: [Dovecot] v2.1.alpha1 released
On Fri, 2011-09-02 at 11:05 +0200, Luigi Rosa wrote: > Sep 2 11:03:11 mail dovecot: stats: Error: Mail server input error: > UPDATE-SESSION: stats shrank: ucpu 0.5999 < 0.9000 http://hg.dovecot.org/dovecot-2.1/rev/9434093229aa should fix this.
Re: [Dovecot] v2.1.alpha1 released
Am 03.09.2011 um 11:05 schrieb Timo Sirainen: > On 3.9.2011, at 11.56, Stephan Bosch wrote: > >> As you can see, libdovecot-sql.so now has dependencies on mysql, pgsql and >> sqlite. I am not sure why. The following change seems to be the cause: >> >> --- dovecot-2.0/src/lib-sql/Makefile.am 2011-04-16 22:02:06.0 +0200 >> +++ dovecot-2.1/src/lib-sql/Makefile.am 2011-08-25 23:16:57.0 +0200 >> @@ -66,7 +72,11 @@ >> >> pkglib_LTLIBRARIES = libdovecot-sql.la >> libdovecot_sql_la_SOURCES = >> -libdovecot_sql_la_LIBADD = libsql.la $(MODULE_LIBS) >> +libdovecot_sql_la_LIBADD = libsql.la $(deplibs) \ >> + $(MYSQL_LIBS) \ >> + $(PGSQL_LIBS) \ >> + $(SQLITE_LIBS) \ >> + $(MODULE_LIBS) >> libdovecot_sql_la_DEPENDENCIES = libsql.la >> libdovecot_sql_la_LDFLAGS = -export-dynamic >> >> Timo, any ideas? > > http://hg.dovecot.org/dovecot-2.1/rev/d2b27eae9221 probably helps? > Looks good now, dependency gone. Thanks to both of you.
Re: [Dovecot] v2.1.alpha1 released
On 3.9.2011, at 11.56, Stephan Bosch wrote: > As you can see, libdovecot-sql.so now has dependencies on mysql, pgsql and > sqlite. I am not sure why. The following change seems to be the cause: > > --- dovecot-2.0/src/lib-sql/Makefile.am 2011-04-16 22:02:06.0 +0200 > +++ dovecot-2.1/src/lib-sql/Makefile.am 2011-08-25 23:16:57.0 +0200 > @@ -66,7 +72,11 @@ > > pkglib_LTLIBRARIES = libdovecot-sql.la > libdovecot_sql_la_SOURCES = > -libdovecot_sql_la_LIBADD = libsql.la $(MODULE_LIBS) > +libdovecot_sql_la_LIBADD = libsql.la $(deplibs) \ > + $(MYSQL_LIBS) \ > + $(PGSQL_LIBS) \ > + $(SQLITE_LIBS) \ > + $(MODULE_LIBS) > libdovecot_sql_la_DEPENDENCIES = libsql.la > libdovecot_sql_la_LDFLAGS = -export-dynamic > > Timo, any ideas? http://hg.dovecot.org/dovecot-2.1/rev/d2b27eae9221 probably helps?
Re: [Dovecot] v2.1.alpha1 released
On 9/3/2011 7:07 AM, Thomas Leuxner wrote: Am 02.09.2011 um 23:15 schrieb Stephan Bosch: D'oh, builder did not update from patch repositories. Starting build now... Regards, Stephan. Working now :) Minor glitch I noticed for the build: Appears 'libpq5' is required by 'dovecot-common' even if no SQL package is installed… Wonder if that works as designed. dpkg: dependency problems prevent configuration of dovecot-common: dovecot-common depends on libpq5 (>= 8.4~0cvs20090328); however: Package libpq5 is not installed. dpkg: error processing dovecot-common (--install): dependency problems - leaving unconfigured Those dependencies are added automatically and are probably caused by the following: For dovecot-2.0: $ ldd .libs/libdovecot-sql.so linux-vdso.so.1 => (0x7fff03dc3000) libdl.so.2 => /lib/libdl.so.2 (0x7f981d3a9000) librt.so.1 => /lib/librt.so.1 (0x7f981d1a1000) libc.so.6 => /lib/libc.so.6 (0x7f981ce3f000) /lib64/ld-linux-x86-64.so.2 (0x7f981d7bf000) libpthread.so.0 => /lib/libpthread.so.0 (0x7f981cc23000) For dovecot-2.1: $ ldd .libs/libdovecot-sql.so linux-vdso.so.1 => (0x7fffc5549000) libdovecot.so.0 => dovecot-2.1/src/lib-dovecot/.libs/libdovecot.so.0 (0x7f0372414000) libmysqlclient.so.16 => /usr/lib/libmysqlclient.so.16 (0x7f0371fe9000) libpq.so.5 => /usr/lib/libpq.so.5 (0x7f0371dc) libsqlite3.so.0 => /usr/lib/libsqlite3.so.0 (0x7f0371b29000) [lots more ...] As you can see, libdovecot-sql.so now has dependencies on mysql, pgsql and sqlite. I am not sure why. The following change seems to be the cause: --- dovecot-2.0/src/lib-sql/Makefile.am 2011-04-16 22:02:06.0 +0200 +++ dovecot-2.1/src/lib-sql/Makefile.am 2011-08-25 23:16:57.0 +0200 @@ -66,7 +72,11 @@ pkglib_LTLIBRARIES = libdovecot-sql.la libdovecot_sql_la_SOURCES = -libdovecot_sql_la_LIBADD = libsql.la $(MODULE_LIBS) +libdovecot_sql_la_LIBADD = libsql.la $(deplibs) \ + $(MYSQL_LIBS) \ + $(PGSQL_LIBS) \ + $(SQLITE_LIBS) \ + $(MODULE_LIBS) libdovecot_sql_la_DEPENDENCIES = libsql.la libdovecot_sql_la_LDFLAGS = -export-dynamic Timo, any ideas? Regards, Stephan.
Re: [Dovecot] v2.1.alpha1 released
On 9/3/2011 8:33 AM, Michael Köhler wrote: Hello Stephan, Am 02.09.2011 um 19:25 schrieb Stephan Bosch: Are you perhaps using the automated Debian packages? I´m also upgraded to latest Debian version and I´ve got the following errors: Preparing to replace dovecot-managesieved 2:2.0.13-0~auto+71 (using .../dovecot-managesieved_2%3a2.0.14-0~auto+4_amd64.deb) ... Stopping IMAP/POP3 mail server: dovecot. Unpacking replacement dovecot-managesieved ... doveconf: Error: Module is for different version 2.0.14: /usr/lib/dovecot/modules/settings/libmanagesieve_login_settings.so doveconf: Error: Module is for different version 2.0.14: /usr/lib/dovecot/modules/settings/libmanagesieve_settings.so doveconf: Error: service(managesieve-login): executable is empty doveconf: Fatal: Error in configuration file /etc/dovecot/dovecot.conf: service(managesieve-login): executable is empty [...] Or isn´t it a problem? At this time I don´t use sieve. I've seen this the first time too and it disappeared on the second update. Not sure why this happens like this, but I have a feeling it will return at the upgrade to alpha2. Regards, Stephan.
Re: [Dovecot] v2.1.alpha1 released
Hello Stephan, Am 02.09.2011 um 19:25 schrieb Stephan Bosch: > Are you perhaps using the automated Debian packages? I´m also upgraded to latest Debian version and I´ve got the following errors: Preparing to replace dovecot-managesieved 2:2.0.13-0~auto+71 (using .../dovecot-managesieved_2%3a2.0.14-0~auto+4_amd64.deb) ... Stopping IMAP/POP3 mail server: dovecot. Unpacking replacement dovecot-managesieved ... doveconf: Error: Module is for different version 2.0.14: /usr/lib/dovecot/modules/settings/libmanagesieve_login_settings.so doveconf: Error: Module is for different version 2.0.14: /usr/lib/dovecot/modules/settings/libmanagesieve_settings.so doveconf: Error: service(managesieve-login): executable is empty doveconf: Fatal: Error in configuration file /etc/dovecot/dovecot.conf: service(managesieve-login): executable is empty Starting IMAP/POP3 mail server: dovecotdoveconf: Error: Module is for different version 2.0.14: /usr/lib/dovecot/modules/settings/libmanagesieve_login_settings.so doveconf: Error: Module is for different version 2.0.14: /usr/lib/dovecot/modules/settings/libmanagesieve_settings.so doveconf: Fatal: Error in configuration file /etc/dovecot/dovecot.conf: service(managesieve-login): executable is empty Preparing to replace dovecot-sieve 2:2.0.13-0~auto+71 (using .../dovecot-sieve_2%3a2.0.14-0~auto+4_amd64.deb) ... Unpacking replacement dovecot-sieve ... doveconf: Error: Module is for different version 2.0.14: /usr/lib/dovecot/modules/settings/libmanagesieve_login_settings.so doveconf: Error: Module is for different version 2.0.14: /usr/lib/dovecot/modules/settings/libmanagesieve_settings.so doveconf: Error: service(managesieve-login): executable is empty doveconf: Fatal: Error in configuration file /etc/dovecot/dovecot.conf: service(managesieve-login): executable is empty Starting IMAP/POP3 mail server: dovecotdoveconf: Error: Module is for different version 2.0.14: /usr/lib/dovecot/modules/settings/libmanagesieve_login_settings.so doveconf: Error: Module is for different version 2.0.14: /usr/lib/dovecot/modules/settings/libmanagesieve_settings.so doveconf: Fatal: Error in configuration file /etc/dovecot/dovecot.conf: service(managesieve-login): executable is empty Preparing to replace dovecot-lmtpd 2:2.0.13-0~auto+71 (using .../dovecot-lmtpd_2%3a2.0.14-0~auto+4_amd64.deb) ... doveconf: Error: Module is for different version 2.0.14: /usr/lib/dovecot/modules/settings/libmanagesieve_login_settings.so doveconf: Error: Module is for different version 2.0.14: /usr/lib/dovecot/modules/settings/libmanagesieve_settings.so doveconf: Error: service(managesieve-login): executable is empty doveconf: Fatal: Error in configuration file /etc/dovecot/dovecot.conf: service(managesieve-login): executable is empty Stopping IMAP/POP3 mail server: dovecot. Unpacking replacement dovecot-lmtpd ... doveconf: Error: Module is for different version 2.0.14: /usr/lib/dovecot/modules/settings/libmanagesieve_login_settings.so doveconf: Error: Module is for different version 2.0.14: /usr/lib/dovecot/modules/settings/libmanagesieve_settings.so doveconf: Error: service(managesieve-login): executable is empty doveconf: Fatal: Error in configuration file /etc/dovecot/dovecot.conf: service(managesieve-login): executable is empty Starting IMAP/POP3 mail server: dovecotdoveconf: Error: Module is for different version 2.0.14: /usr/lib/dovecot/modules/settings/libmanagesieve_login_settings.so doveconf: Error: Module is for different version 2.0.14: /usr/lib/dovecot/modules/settings/libmanagesieve_settings.so doveconf: Fatal: Error in configuration file /etc/dovecot/dovecot.conf: service(managesieve-login): executable is empty Preparing to replace dovecot-common 2:2.0.13-0~auto+71 (using .../dovecot-common_2%3a2.0.14-0~auto+4_amd64.deb) ... doveconf: Error: Module is for different version 2.0.14: /usr/lib/dovecot/modules/settings/libmanagesieve_login_settings.so doveconf: Error: Module is for different version 2.0.14: /usr/lib/dovecot/modules/settings/libmanagesieve_settings.so doveconf: Error: service(managesieve-login): executable is empty doveconf: Fatal: Error in configuration file /etc/dovecot/dovecot.conf: service(managesieve-login): executable is empty Stopping IMAP/POP3 mail server: dovecot. Or isn´t it a problem? At this time I don´t use sieve. Greetings, Michael
Re: [Dovecot] v2.1.alpha1 released
Am 02.09.2011 um 23:15 schrieb Stephan Bosch: > D'oh, builder did not update from patch repositories. Starting build now... > > Regards, > > Stephan. Working now :) Minor glitch I noticed for the build: Appears 'libpq5' is required by 'dovecot-common' even if no SQL package is installed… Wonder if that works as designed. dpkg: dependency problems prevent configuration of dovecot-common: dovecot-common depends on libpq5 (>= 8.4~0cvs20090328); however: Package libpq5 is not installed. dpkg: error processing dovecot-common (--install): dependency problems - leaving unconfigured
Re: [Dovecot] v2.1.alpha1 released
On 9/2/2011 8:38 PM, Thomas Leuxner wrote: Am 02.09.2011 um 20:35 schrieb Stephan Bosch: Then, it actually is my fault. The v2.1 packages also involve a login patch of mine, which apparently broke STARTTLS. I've fixed it and a new set of packages is available within the hour. Regards, Stephan. I shall then rebuild as suggested. Thanks Stephan and guilty you :) D'oh, builder did not update from patch repositories. Starting build now... Regards, Stephan.
Re: [Dovecot] v2.1.alpha1 released
Am 02.09.2011 um 20:35 schrieb Stephan Bosch: > > Then, it actually is my fault. The v2.1 packages also involve a login patch > of mine, which apparently broke STARTTLS. I've fixed it and a new set of > packages is available within the hour. > > Regards, > > Stephan. I shall then rebuild as suggested. Thanks Stephan and guilty you :)
Re: [Dovecot] v2.1.alpha1 released
On 9/2/2011 7:48 PM, Thomas Leuxner wrote: Am 02.09.2011 um 19:25 schrieb Stephan Bosch: Are you perhaps using the automated Debian packages? Regards, Stephan. Indeed I am. Guilty... Then, it actually is my fault. The v2.1 packages also involve a login patch of mine, which apparently broke STARTTLS. I've fixed it and a new set of packages is available within the hour. Regards, Stephan.
Re: [Dovecot] v2.1.alpha1 released
Am 02.09.2011 um 19:25 schrieb Stephan Bosch: > Are you perhaps using the automated Debian packages? > > Regards, > > Stephan. Indeed I am. Guilty...
Re: [Dovecot] v2.1.alpha1 released
On 9/2/2011 12:21 PM, Thomas Leuxner wrote: Hi, any idea why STARTTLS would not work after replacing 2.0.14 with the alpha? When STARTTLS is not requested by the client it can connect. Config is unaltered working 2.0.14 one. Are you perhaps using the automated Debian packages? Regards, Stephan.
Re: [Dovecot] v2.1.alpha1 released
Hi, any idea why STARTTLS would not work after replacing 2.0.14 with the alpha? When STARTTLS is not requested by the client it can connect. Config is unaltered working 2.0.14 one. Regards Thomas signature.asc Description: Digital signature
Re: [Dovecot] v2.1.alpha1 released
Timo Sirainen said the following on 01/09/11 16:53: Oh.. What OS is this? See what it logs with http://hg.dovecot.org/dovecot-2.1/rev/1c2d8da38a06 Between a lot of ucpu events logged there are some like: Sep 2 11:41:52 mail dovecot: stats: Error: Mail server input error: UPDATE-SESSION: stats shrank: minflt 787 < 790 Sep 2 11:42:02 mail dovecot: stats: Error: Mail server input error: UPDATE-SESSION: stats shrank: minflt 787 < 790 Sep 2 11:43:42 mail dovecot: stats: Error: Mail server input error: UPDATE-SESSION: stats shrank: diskout 140735698723992 < 167507184 Sep 2 11:43:52 mail dovecot: stats: Error: Mail server input error: UPDATE-SESSION: stats shrank: diskout 140735698723992 < 167507184 Ciao, luigi -- / +--[Luigi Rosa]-- \ A beer delayed is a beer denied.
Re: [Dovecot] v2.1.alpha1 released
Timo Sirainen said the following on 01/09/11 16:53: Sep 1 16:39:43 mail dovecot: stats: Error: Mail server input error: UPDATE-SESSION: stats shrank Oh.. What OS is this? See what it logs with http://hg.dovecot.org/dovecot-2.1/rev/1c2d8da38a06 Sorry for the delay... Sep 2 11:03:11 mail dovecot: stats: Error: Mail server input error: UPDATE-SESSION: stats shrank: ucpu 0.5999 < 0.9000 Sep 2 11:03:21 mail dovecot: stats: Error: Mail server input error: UPDATE-SESSION: stats shrank: ucpu 0.5999 < 0.9000 Sep 2 11:03:42 mail dovecot: stats: Error: Mail server input error: UPDATE-SESSION: stats shrank: ucpu 0.9998 < 0.15997 Sep 2 11:03:42 mail dovecot: stats: Error: Mail server input error: UPDATE-SESSION: stats shrank: ucpu 0.3999 < 0.8997 Sep 2 11:03:43 mail dovecot: stats: Error: Mail server input error: UPDATE-SESSION: stats shrank: ucpu 0.1999 < 0.3999 Sep 2 11:03:45 mail dovecot: stats: Error: Mail server input error: UPDATE-SESSION: stats shrank: ucpu 0.6998 < 0.6999 Sep 2 11:03:52 mail dovecot: stats: Error: Mail server input error: UPDATE-SESSION: stats shrank: ucpu 0.3999 < 0.8997 Sep 2 11:03:54 mail dovecot: stats: Error: Mail server input error: UPDATE-SESSION: stats shrank: ucpu 0.10998 < 0.18997 Sep 2 11:03:54 mail dovecot: stats: Error: Mail server input error: UPDATE-SESSION: stats shrank: ucpu 0.5999 < 0.1 Sep 2 11:03:55 mail dovecot: stats: Error: Mail server input error: UPDATE-SESSION: stats shrank: ucpu 0.6998 < 0.6999 Ciao, luigi -- / +--[Luigi Rosa]-- \ I don't think we have the right or the wisdom to interfere, however a planet is evolving. --James Kirk, "The Omega Glory"
Re: [Dovecot] v2.1.alpha1 released
On Thu, 1 Sep 2011 17:05:56 +0300 Timo Sirainen wrote: > On 1.9.2011, at 16.57, Frank Elsner wrote: > > >>+ Statistics tracking via stats service. Exported via doveadm stats. > > > > My 2.0.13 configuration works perfect with dovecot-2.1.alpha1. > > What must I add to my configuration to enable the stats service? > > mail_plugins = $mail_plugins stats > protocol imap { > mail_plugins = $mail_plugins imap_stats > } > plugin { > stats_refresh = 10s > stats_track_cmds = yes > } > > Then you can use doveadm stats top/dump. Ok, works. But when I stop dovecot I get Sep 1 17:08:17 seymour dovecot: master: Warning: Killed with signal 15 (by pid=7896 uid=0 code=kill) Sep 1 17:08:17 seymour dovecot: anvil: Panic: file master-service.c: line 584 (master_service_client_connection_de stroyed): assertion failed: (service->total_available_count > 0) Sep 1 17:08:17 seymour dovecot: auth: Error: read(anvil-auth-penalty) failed: EOF Sep 1 17:08:17 seymour dovecot: auth: Error: net_connect_unix(anvil-auth-penalty) failed: Permission denied --Frank Elsner
Re: [Dovecot] v2.1.alpha1 released
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Timo Sirainen said the following on 01/09/11 16:53: >> Sep 1 16:39:43 mail dovecot: stats: Error: Mail server input error: >> UPDATE-SESSION: stats shrank > > Oh.. What OS is this? See what it logs with > http://hg.dovecot.org/dovecot-2.1/rev/1c2d8da38a06 > Linux mail.hypertrek.info 2.6.18-238.19.1.el5.centos.plus #1 SMP Mon Jul 18 10:05:09 EDT 2011 x86_64 x86_64 x86_64 GNU/Linux Compiled with ./configure --with-mysql --with-ssl=openssl --sysconfdir=/etc --localstatedir=/var I'm leaving and I'll be back this evening. Will do further checks later Ciao, luigi - -- / +--[Luigi Rosa]-- \ You know you've landed gear-up when it takes full power to taxi. -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk5fnOIACgkQ3kWu7Tfl6ZQIAwCgt411k13mnhYsMS64P+1YOUmQ hEoAoJA16LYtzlbRn5MOu61f02X9/SuX =CVfU -END PGP SIGNATURE-
Re: [Dovecot] v2.1.alpha1 released
On 1.9.2011, at 17.41, Luigi Rosa wrote: > Sep 1 16:39:43 mail dovecot: stats: Error: Mail server input error: > UPDATE-SESSION: stats shrank Oh.. What OS is this? See what it logs with http://hg.dovecot.org/dovecot-2.1/rev/1c2d8da38a06
Re: [Dovecot] v2.1.alpha1 released
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Timo Sirainen said the following on 01/09/11 16:33: > Right, you'll also need to figure out proper permissions for this (or simply > set mode to 0666): > > service stats { > fifo_listener stats-mail { > user = something > mode = 0600 > } > } > Works, thanks! For initial tests, I put 0666 But I got this: Sep 1 16:39:43 mail dovecot: stats: Error: Mail server input error: UPDATE-SESSION: stats shrank Sep 1 16:39:51 mail dovecot: stats: Error: Mail server input error: UPDATE-SESSION: stats shrank Sep 1 16:40:01 mail dovecot: stats: Error: Mail server input error: UPDATE-SESSION: stats shrank Ciao, luigi - -- / +--[Luigi Rosa]-- \ A species that enslaves other beings is hardly superior, mentally or otherwise. --James Kirk, "The Gamesters of Triskelion" -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk5fmY0ACgkQ3kWu7Tfl6ZSHwQCeM50dTX6RdKBKUkfCrPJcOdRz Aa8An07wqRjwYdgYsFqL04B1ZcMKWem2 =C3vb -END PGP SIGNATURE-
Re: [Dovecot] v2.1.alpha1 released; automatic Debian repository for Dovecot v2.1 now available
Op 1-9-2011 11:27, Timo Sirainen schreef: http://dovecot.org/releases/2.1/alpha/dovecot-2.1.alpha1.tar.gz http://dovecot.org/releases/2.1/alpha/dovecot-2.1.alpha1.tar.gz.sig So it's time for the first alpha version of Dovecot v2.1. There are no huge intrusive changes, so I expect v2.1.0 to be released this year (maybe even in a few months?) I've started an automatic Debian package builder for Dovecot v2.1. It is now also documented in the wiki: http://wiki2.dovecot.org/PrebuiltBinaries#Automatically_Built_Packages Regards, Stephan.
Re: [Dovecot] v2.1.alpha1 released
On 1.9.2011, at 17.29, Luigi Rosa wrote: >> Then you can use doveadm stats top/dump. > > did what you said, restarted dovecot, run (as root) doveadm stats top and got > this in dovecot log: > > Error: stats: open(/var/run/dovecot//stats-mail) failed: Permission denied Right, you'll also need to figure out proper permissions for this (or simply set mode to 0666): service stats { fifo_listener stats-mail { user = something mode = 0600 } }
Re: [Dovecot] v2.1.alpha1 released
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Timo Sirainen said the following on 01/09/11 16:05: > Then you can use doveadm stats top/dump. did what you said, restarted dovecot, run (as root) doveadm stats top and got this in dovecot log: Error: stats: open(/var/run/dovecot//stats-mail) failed: Permission denied And the output of doveadm was simply USER SERVICE %CPU %SYS DISKIN DISKOUT # ls -al /var/run/dovecot/ total 24 drwxr-xr-x 4 rootroot 4096 Sep 1 16:25 . drwxr-xr-x 22 rootroot 4096 Sep 1 15:01 .. srw--- 1 rootroot0 Sep 1 16:25 anvil srw--- 1 rootroot0 Sep 1 16:25 anvil-auth-penalty srw--- 1 rootroot0 Sep 1 16:25 auth-client srw--- 1 dovecot root0 Sep 1 16:25 auth-login srw--- 1 rootroot0 Sep 1 16:25 auth-master srw-rw-rw- 1 rootroot0 Sep 1 16:25 auth-userdb srw--- 1 dovecot root0 Sep 1 16:25 auth-worker srw--- 1 rootroot0 Sep 1 16:25 config srw--- 1 rootroot0 Sep 1 16:25 dict srw--- 1 rootroot0 Sep 1 16:25 director-admin srw--- 1 rootroot0 Sep 1 16:25 director-userdb srw-rw-rw- 1 rootroot0 Sep 1 16:25 dns-client srw--- 1 rootroot0 Sep 1 16:25 doveadm-server lrwxrwxrwx 1 rootroot 25 Sep 1 16:25 dovecot.conf -> /etc/dovecot/dovecot.conf drwxr-xr-x 2 rootroot 4096 Dec 14 2009 empty srw-rw-rw- 1 rootroot0 Sep 1 16:25 indexer srw-rw-rw- 1 rootroot0 Sep 1 16:25 indexer-worker srw--- 1 rootroot0 Sep 1 16:25 ipc srw-rw-rw- 1 rootroot0 Sep 1 16:25 lmtp drwxr-x--- 2 rootdovenull 4096 Sep 1 16:25 login - -rw--- 1 rootroot6 Sep 1 16:25 master.pid srw--- 1 rootroot0 Sep 1 16:25 stats prw--- 1 dovecot dovecot 0 Sep 1 16:25 stats-mail Ciao, luigi - -- / +--[Luigi Rosa]-- \ Zipple grelbnot horbnofg asirvnig fzouple! Or something like that. -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk5flq8ACgkQ3kWu7Tfl6ZRQcQCeNbR0bBBf8Ux2pT4doiw912jO a3AAn3UPZu+xTqHXQ9XbCuxDPrrrd2vk =W99h -END PGP SIGNATURE-
Re: [Dovecot] v2.1.alpha1 released
On 1.9.2011, at 16.57, Frank Elsner wrote: >> + Statistics tracking via stats service. Exported via doveadm stats. > > My 2.0.13 configuration works perfect with dovecot-2.1.alpha1. > What must I add to my configuration to enable the stats service? mail_plugins = $mail_plugins stats protocol imap { mail_plugins = $mail_plugins imap_stats } plugin { stats_refresh = 10s stats_track_cmds = yes } Then you can use doveadm stats top/dump.
Re: [Dovecot] v2.1.alpha1 released
On Thu, 01 Sep 2011 12:27:32 +0300 Timo Sirainen wrote: > http://dovecot.org/releases/2.1/alpha/dovecot-2.1.alpha1.tar.gz > http://dovecot.org/releases/2.1/alpha/dovecot-2.1.alpha1.tar.gz.sig [ ... ] > + Statistics tracking via stats service. Exported via doveadm stats. My 2.0.13 configuration works perfect with dovecot-2.1.alpha1. What must I add to my configuration to enable the stats service? --Frank Elsner
Re: [Dovecot] v2.1.alpha1 released
Op 1-9-2011 11:27, Timo Sirainen wrote: http://dovecot.org/releases/2.1/alpha/dovecot-2.1.alpha1.tar.gz http://dovecot.org/releases/2.1/alpha/dovecot-2.1.alpha1.tar.gz.sig So it's time for the first alpha version of Dovecot v2.1. There are no huge intrusive changes, so I expect v2.1.0 to be released this year (maybe even in a few months?) There is no specific Pigeonhole repository for v2.1 yet. However, we did port it to v2.1 and there is a patch available to port Pigeonhole v0.2 to Dovecot v2.1. It is kept up-to-date in its own mq repository: http://hg.rename-it.nl/pigeonhole-0.2-dovecot-2.1-patches/file/tip/pigeonhole-0.2-dovecot-2.1.patch Just apply it to a recent dovecot-2.0-pigeonhole tree and compile it against dovecot-2.1. Regards, Stephan.