Re: dovecot passdb driver=checkpassword as external script for block ip

2018-10-18 Thread Sami Ketola
> On 17 Oct 2018, at 20.09, bes wrote: > > Refer to > https://dovecot.org/pipermail/dovecot/2015-March/099971.html > https://wiki.dovecot.org/PasswordDatabase > I tried to repeat the same thing. > Set these passdb: > > passdb { > args = /myscript.sh ip=%r > driver = checkpassword > result_f

Re: dovecot passdb driver=checkpassword as external script for block ip

2018-10-17 Thread bes
After some debuging i expain that this happens only when the client authentication method is CRAM-MD5 dovecot[5553]: auth: Debug: checkpassword(login,192.168.99.128,<5/TM6XN4QOrAqGOA>): execute: /myscript.sh ip=192.168.99.128 /usr/libexec/dovecot/checkpassword-reply dovecot[5553]: auth: Error: che