On 24 November 2018 at 10:55 Odhiambo Washington < odhiambo@gmail.com> wrote:


On Sat, 24 Nov 2018 at 10:56, Aki Tuomi < aki.tuomi@open-xchange.com> wrote:

>
On 23 November 2018 at 17:46 Brad Smith < brad@comstyle.com> wrote:
>
On 11/23/2018 9:39 AM, Odhiambo Washington wrote:
>
On Fri, 23 Nov 2018 at 17:30, The Doctor < doctor@doctor.nl2k.ab.ca
<mailto: doctor@doctor.nl2k.ab.ca>> wrote:
On Fri, Nov 23, 2018 at 04:02:27PM +0300, Odhiambo Washington
wrote:
> On Fri, 23 Nov 2018 at 15:29, Timo Sirainen < tss@iki.fi
<mailto: tss@iki.fi>> 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.
> >
> >
>
> FreeBSD 9.3 (i386):
>
>
> Making all in lib-master
> gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/lib
-I../../src/lib-dns
> -I../../src/lib-test -I../../src/lib-settings
> -I../../src/lib-ssl-iostream
> -DPKG_RUNDIR=\""/opt/dovecot2.3/var/run/dovecot"\"
> -DPKG_STATEDIR=\""/opt/dovecot2.3/var/lib/dovecot"\"
> -DSYSCONFDIR=\""/opt/dovecot2.3/etc/dovecot"\"
> -DBINDIR=\""/opt/dovecot2.3/bin"\" -std=gnu99 -g -O2
-fstack-protector
> -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -Wall -W
-Wmissing-prototypes
> -Wmissing-declarations -Wpointer-arith -Wchar-subscripts
-Wformat=2
> -Wbad-function-cast -fno-builtin-strftime -Wstrict-aliasing=2
> -I/usr/local/include -MT test-event-stats.o -MD -MP -MF
> .deps/test-event-stats.Tpo -c -o test-event-stats.o
test-event-stats.c
> test-event-stats.c: In function 'kill_stats_child':
> test-event-stats.c:101: warning: implicit declaration of
function 'kill'
> test-event-stats.c:101: error: 'SIGKILL' undeclared (first use
in this
> function)
> test-event-stats.c:101: error: (Each undeclared identifier is
reported only
> once
> test-event-stats.c:101: error: for each function it appears in.)
> test-event-stats.c: In function 'test_no_merging2':
> test-event-stats.c:361: warning: format '%lu' expects type 'long
unsigned
> int', but argument 2 has type 'uint64_t'
> test-event-stats.c: In function 'test_no_merging3':
> test-event-stats.c:387: warning: format '%lu' expects type 'long
unsigned
> int', but argument 2 has type 'uint64_t'
> test-event-stats.c:387: warning: format '%lu' expects type 'long
unsigned
> int', but argument 4 has type 'uint64_t'
> test-event-stats.c:387: warning: format '%lu' expects type 'long
unsigned
> int', but argument 6 has type 'uint64_t'
> test-event-stats.c: In function 'test_merge_events2':
> test-event-stats.c:452: warning: format '%lu' expects type 'long
unsigned
> int', but argument 2 has type 'uint64_t'
> test-event-stats.c: In function 'test_skip_parents':
> test-event-stats.c:484: warning: format '%lu' expects type 'long
unsigned
> int', but argument 2 has type 'uint64_t'
> test-event-stats.c:484: warning: format '%lu' expects type 'long
unsigned
> int', but argument 4 has type 'uint64_t'
> test-event-stats.c:484: warning: format '%lu' expects type 'long
unsigned
> int', but argument 6 has type 'uint64_t'
> test-event-stats.c: In function 'test_merge_events_skip_parents':
> test-event-stats.c:526: warning: format '%lu' expects type 'long
unsigned
> int', but argument 2 has type 'uint64_t'
> test-event-stats.c:526: warning: format '%lu' expects type 'long
unsigned
> int', but argument 4 has type 'uint64_t'
> test-event-stats.c:526: warning: format '%lu' expects type 'long
unsigned
> int', but argument 6 has type 'uint64_t'
> *** Error code 1
>
Are you able to upgrade to FreeBSD 10 or 11 ?
>
I will be upgrading the servers to 11.2 soon :)
The OS version is irrelevant.
Fix for this format issue and the signal.h issue can be found in master
now, and you can download the patch at
https://github.com/dovecot/core/compare/10048229%5E...de42b54a.patch
Aki

The patch doesn't resolve the permissions issue
on /var/run/dovecot//stats-writer so I have backed off again - to 2.3.3.

--
Best regards,
Odhiambo WASHINGTON,
Nairobi,KE
+254 7 3200 0004/+254 7 2274 3223
"Oh, the cruft."

Well, to be exact no one claims it does fix it. You can work around it with

service stats {
  unix_listener stats-writer {
      mode = 0777
  }
}


---
Aki Tuomi