Re: Log_level with auxprop sql_engine

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

so I rebuild cyrus sasl 2.1.21 with above patch.

edit
/etc/imapd.conf:
...
sasl_log_level: 0
log_level: 0 # just in case

restart cyrus imapd

and still
/var/log/auth.log:
Apr 20 15:43:40 mail imaps[25084]: sql auxprop plugin using mysql engine
Apr 20 15:43:40 mail imaps[25084]: sql plugin Parse the username user@xxxxxxxxxxx
Apr 20 15:43:40 mail imaps[25084]: sql plugin try and connect to a host
Apr 20 15:43:40 mail imaps[25084]: sql plugin trying to open db 'maildb' on host '127.0.0.1'
Apr 20 15:43:40 mail imaps[25084]: begin transaction
Apr 20 15:43:40 mail imaps[25084]: sql plugin create statement from userPassword user example.com Apr 20 15:43:40 mail imaps[25084]: sql plugin doing query SELECT password FROM users WHERE email = 'user@xxxxxxxxxxx'; Apr 20 15:43:40 mail imaps[25084]: sql plugin create statement from cmusaslsecretCRAM-MD5 user example.com Apr 20 15:43:40 mail imaps[25084]: sql plugin doing query SELECT password FROM users WHERE email = 'user@xxxxxxxxxxx';
Apr 20 15:43:40 mail imaps[25084]: commit transaction
Apr 20 15:43:40 mail imaps[25084]: sql plugin Parse the username user@xxxxxxxxxxx
Apr 20 15:43:40 mail imaps[25084]: sql plugin try and connect to a host
Apr 20 15:43:40 mail imaps[25084]: sql plugin trying to open db 'maildb' on host '127.0.0.1'

I don't know if I missed anything else that I have to do to make it works.

TIA,
Tuan

[Index of Archives]     [Info Cyrus]     [Squirrel Mail]     [Linux Media]     [Yosemite News]     [gtk]     [KDE]     [Gimp on Windows]     [Steve's Art]

  Powered by Linux