Tuan Van wrote:
Alexey Melnikov wrote:
Actually, there is a bug in the code calling _sasl_syslog (the
default logging callback), which will result in context being NULL,
so the code quoted above will be ignored.
I will fix this in 2.1.22 (coming soon).
However if Postfix is installing own logging callback, my original
comment still apply.
I noticed
https://bugzilla.andrew.cmu.edu/cgi-bin/cvsweb.cgi/src/sasl/lib/common.c.diff?r1=1.113&r2=1.114
This change only affects the default logging callback (i.e. the one used
when the application using libsasl doesn't install its own). You need to
check if Cyrus Imapd installs own logging callback.
so I rebuild cyrus sasl 2.1.21 with above patch.