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?) The biggest changes are related to full text search handling. I'll probably still make some changes to it and its configuration. Also it wouldn't be difficult to add more backends, does anyone want to add Xapian support for Dovecot? :) Mailbox list indexes are intended to improve performance of IMAP STATUS command lookups, since they could be simply looked up from the index without even opening the mailbox. TODO related to this: 1) optimize virtual mailbox handling so that it doesn't need to actually open all of the mailboxes' index files, it can simply look at the mailbox list index for changes. 2) Implement IMAP NOTIFY extension using this. Statistics tracking can be used to look at what's happening currently in your system and also its history. You can look at what's happening in command/session/user/domain/ip level. "doveadm stats top" gives a list of currently running sessions and sorts them by whichever is using the most disk io/cpu/whatever. "doveadm stats dump" followed by one of the levels shows you a raw dump of everything stored in that level. It would be nice if someone wrote a pretty Ajaxy HTML stats browser where you could zoom in/out of levels. I'd also like to hear if anyone has suggestions on how to improve what stats are gathered or how they could be exported. (I've thought about SNMP, but I'm not entirely sure how to export the data nicely using it.) Finally here's the NEWS file: * Plugins now use UTF-8 mailbox names rather than mUTF-7: acl, autocreate, expire, trash, virtual * auth_username_format default changed to %Lu. If you really want case sensitive usernames, set it back to empty. * Solr full text search backend changed to use mailbox GUIDs instead of mailbox names, requiring reindexing everything. solr_old backend can be used with old indexes to avoid reindexing, but it doesn't support some newer features. + imapc (= IMAP client) storage allows using a remote IMAP server to be used as storage. This allows using Dovecot as a smart (caching) proxy or using dsync to do migration from remote IMAP server. + Mailbox indexing via queuing indexer service (required for Lucene) + Lucene full text search (FTS) backend rewritten with support for different languages + FTS finally supports "OR" search operation + FTS supports indexing attachments via external programs + IMAP FUZZY extension, supported by Lucene and Solr FTS backends + Mailbox list indexes + Statistics tracking via stats service. Exported via doveadm stats. + Autocreate plugin creates/subscribes mailboxes physically only when the mailbox is opened for the first time. Mailbox listing shows the autocreated mailboxes even if they don't physically exist. + Password and user databases now support default_fields and override_fields settings to specify template defaults/overrides. - listescape plugin works perfectly now
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.
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
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.
-----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 root root 4096 Sep 1 16:25 . drwxr-xr-x 22 root root 4096 Sep 1 15:01 .. srw------- 1 root root 0 Sep 1 16:25 anvil srw------- 1 root root 0 Sep 1 16:25 anvil-auth-penalty srw------- 1 root root 0 Sep 1 16:25 auth-client srw------- 1 dovecot root 0 Sep 1 16:25 auth-login srw------- 1 root root 0 Sep 1 16:25 auth-master srw-rw-rw- 1 root root 0 Sep 1 16:25 auth-userdb srw------- 1 dovecot root 0 Sep 1 16:25 auth-worker srw------- 1 root root 0 Sep 1 16:25 config srw------- 1 root root 0 Sep 1 16:25 dict srw------- 1 root root 0 Sep 1 16:25 director-admin srw------- 1 root root 0 Sep 1 16:25 director-userdb srw-rw-rw- 1 root root 0 Sep 1 16:25 dns-client srw------- 1 root root 0 Sep 1 16:25 doveadm-server lrwxrwxrwx 1 root root 25 Sep 1 16:25 dovecot.conf -> /etc/dovecot/dovecot.conf drwxr-xr-x 2 root root 4096 Dec 14 2009 empty srw-rw-rw- 1 root root 0 Sep 1 16:25 indexer srw-rw-rw- 1 root root 0 Sep 1 16:25 indexer-worker srw------- 1 root root 0 Sep 1 16:25 ipc srw-rw-rw- 1 root root 0 Sep 1 16:25 lmtp drwxr-x--- 2 root dovenull 4096 Sep 1 16:25 login - -rw------- 1 root root 6 Sep 1 16:25 master.pid srw------- 1 root root 0 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-----
Stephan Bosch
2011-Sep-01 14:34 UTC
[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.
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
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/1c2d8da38a06Between 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.
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 -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 198 bytes Desc: Digital signature URL: <http://dovecot.org/pipermail/dovecot/attachments/20110902/828f5481/attachment-0004.bin>
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.
Am 02.09.2011 um 19:25 schrieb Stephan Bosch:> Are you perhaps using the automated Debian packages? > > Regards, > > Stephan.Indeed I am. Guilty...
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
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.000000000 +0200 >> +++ dovecot-2.1/src/lib-sql/Makefile.am 2011-08-25 23:16:57.000000000 +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.
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.
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.
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