On 23.11.2018 15.51, Brad Smith wrote:> On 11/23/2018 8:23 AM, Aki Tuomi wrote: > >> On 23.11.2018 15.20, Brad Smith wrote: >>> On Fri, Nov 23, 2018 at 02:29:22PM +0200, Timo Sirainen wrote: >>>> https://dovecot.org/releases/2.3/dovecot-2.3.4.tar.gz >>>> https://dovecot.org/releases/2.3/dovecot-2.3.4.tar.gz.sig >>>> Binary packages in https://repo.dovecot.org/ >>>> >>>> ? * The default postmaster_address is now "postmaster@<user domain or >>>> ??? server hostname>". If username contains the @domain part, that's >>>> ??? used. If not, then the server's hostname is used. >>>> ? * "doveadm stats dump" now returns two decimals for the "avg" field. >>>> >>>> ? + Added push notification driver that uses a Lua script >>>> ? + Added new SQL, DNS and connection events. >>>> ??? See https://wiki2.dovecot.org/Events >>>> ? + Added "doveadm mailbox cache purge" command. >>>> ? + Added events API support for Lua scripts >>>> ? + doveadm force-resync -f parameter performs "index fsck" while >>>> opening >>>> ??? the index. This may be useful to fix some types of broken index >>>> files. >>>> ??? This may become the default behavior in a later version. >>>> ? - director: Kicking a user crashes if login process is very slow >>>> ? - pop3_no_flag_updates=no: Don't expunge DELEted and RETRed messages >>>> ??? unless QUIT is sent. >>>> ? - auth: Fix crypt() segfault with glibc-2.28+ >>>> ? - imap: Running UID FILTER script with errors assert-crashes >>>> ? - dsync, pop3-migration: POP3 UIDLs weren't added to >>>> ??? dovecot.index.cache while mails were saved. >>>> ? - dict clients may have been using 100% CPU while waiting for dict >>>> ??? server to finish commands. >>>> ? - doveadm user: Fixed user listing via HTTP API >>>> ? - All levels of Cassandra log messages were logged as Dovecot >>>> errors. >>>> ? - http/smtp client may have crashed after SSL handshake >>>> ? - Lua auth converted strings that looked like numbers into numbers. >>> The release does not build. Here is a patch to fix the build. >>> >>> >>> >>> test-event-stats.c:101:8: warning: implicit declaration of function >>> 'kill' is invalid in C99 [-Wimplicit-function-declaration] >>> ???????? (void)kill(stats_pid, SIGKILL); >>> ?????????????? ^ >>> test-event-stats.c:101:24: error: use of undeclared identifier >>> 'SIGKILL' >>> ???????? (void)kill(stats_pid, SIGKILL); >>> ?????????????????????????????? ^ >> On *BSD I assume? It would be useful to mention. But we'll think what we >> will do with this. > > Yes, OpenBSD. >There is a fix pending now for master, and will be released on next release. Aki
I installed 2.3.4 and just used it with the config files for 2.3.3 without changing anything in the configuration. I then realized that the LDA was throwing errors. 2018-11-24 00:02:51 1gQIaw-000AZS-Bc </var/spool/virtual/ crownkenya.com/john.doe/Maildir>: dovecot_virtual_delivery transport output: lda(john.doe at our.domain.name)Error: net_connect_unix(/var/run/dovecot//stats-writer) failed: Permission denied I checked on the presence of the sockets in /var/run/dovecot: srw------- 1 root wheel 0 Nov 24 09:07 stats-reader srw-rw---- 1 root dovecot 0 Nov 24 09:07 stats-writer I have tried to find any mention of stats-{writer|reader} in the example configs shipped with 2.3.4 and found nothing. I have backed-off 2.3.4 for now till I can figure out how to assign proper permissions to these sockets - or just to figure out why by default, permission is being denied. On Fri, 23 Nov 2018 at 16:53, Aki Tuomi <aki.tuomi at open-xchange.com> wrote:> > On 23.11.2018 15.51, Brad Smith wrote: > > On 11/23/2018 8:23 AM, Aki Tuomi wrote: > > > >> On 23.11.2018 15.20, Brad Smith wrote: > >>> On Fri, Nov 23, 2018 at 02:29:22PM +0200, Timo Sirainen wrote: > >>>> https://dovecot.org/releases/2.3/dovecot-2.3.4.tar.gz > >>>> https://dovecot.org/releases/2.3/dovecot-2.3.4.tar.gz.sig > >>>> Binary packages in https://repo.dovecot.org/ > >>>> > >>>> * The default postmaster_address is now "postmaster@<user domain or > >>>> server hostname>". If username contains the @domain part, that's > >>>> used. If not, then the server's hostname is used. > >>>> * "doveadm stats dump" now returns two decimals for the "avg" field. > >>>> > >>>> + Added push notification driver that uses a Lua script > >>>> + Added new SQL, DNS and connection events. > >>>> See https://wiki2.dovecot.org/Events > >>>> + Added "doveadm mailbox cache purge" command. > >>>> + Added events API support for Lua scripts > >>>> + doveadm force-resync -f parameter performs "index fsck" while > >>>> opening > >>>> the index. This may be useful to fix some types of broken index > >>>> files. > >>>> This may become the default behavior in a later version. > >>>> - director: Kicking a user crashes if login process is very slow > >>>> - pop3_no_flag_updates=no: Don't expunge DELEted and RETRed messages > >>>> unless QUIT is sent. > >>>> - auth: Fix crypt() segfault with glibc-2.28+ > >>>> - imap: Running UID FILTER script with errors assert-crashes > >>>> - dsync, pop3-migration: POP3 UIDLs weren't added to > >>>> dovecot.index.cache while mails were saved. > >>>> - dict clients may have been using 100% CPU while waiting for dict > >>>> server to finish commands. > >>>> - doveadm user: Fixed user listing via HTTP API > >>>> - All levels of Cassandra log messages were logged as Dovecot > >>>> errors. > >>>> - http/smtp client may have crashed after SSL handshake > >>>> - Lua auth converted strings that looked like numbers into numbers. > >>> The release does not build. Here is a patch to fix the build. > >>> > >>> > >>> > >>> test-event-stats.c:101:8: warning: implicit declaration of function > >>> 'kill' is invalid in C99 [-Wimplicit-function-declaration] > >>> (void)kill(stats_pid, SIGKILL); > >>> ^ > >>> test-event-stats.c:101:24: error: use of undeclared identifier > >>> 'SIGKILL' > >>> (void)kill(stats_pid, SIGKILL); > >>> ^ > >> On *BSD I assume? It would be useful to mention. But we'll think what we > >> will do with this. > > > > Yes, OpenBSD. > > > There is a fix pending now for master, and will be released on next > release. > > Aki > >-- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254 7 3200 0004/+254 7 2274 3223 "Oh, the cruft." -------------- next part -------------- An HTML attachment was scrubbed... URL: <https://dovecot.org/pipermail/dovecot/attachments/20181124/7baa34e0/attachment.html>
On 24 Nov 2018, at 8.33, Odhiambo Washington <odhiambo at gmail.com> wrote:> > > I installed 2.3.4 and just used it with the config files for 2.3.3 without changing anything in the configuration. > I then realized that the LDA was throwing errors. > > 2018-11-24 00:02:51 1gQIaw-000AZS-Bc </var/spool/virtual/crownkenya.com/john.doe/Maildir <http://crownkenya.com/john.doe/Maildir>>: dovecot_virtual_delivery transport output: lda(john.doe at our.domain.name <mailto:john.doe at our.domain.name>)Error: net_connect_unix(/var/run/dovecot//stats-writer) failed: Permission denied > > I checked on the presence of the sockets in /var/run/dovecot: > > srw------- 1 root wheel 0 Nov 24 09:07 stats-reader > srw-rw---- 1 root dovecot 0 Nov 24 09:07 stats-writerWhat user/group does dovecot_virtual_delivery run as? Change the stats-writer socket's owner to be that user. For example: service stats { unix_listener stats-writer { user = vmail } } Or alternatively change dovecot_virtual_delivery to use dovecot group.> I have tried to find any mention of stats-{writer|reader} in the example configs shipped with 2.3.4 and found nothing. I have backed-off 2.3.4 for now till I can figure out how to assign proper permissions to these sockets - or just to figure out why by default, permission is being denied.Looks like this is happening now because in earlier versions the dovecot-lda process wasn't sending any statistics. -------------- next part -------------- An HTML attachment was scrubbed... URL: <https://dovecot.org/pipermail/dovecot/attachments/20181124/05202fb3/attachment.html>