Re: maildirlock time unit?

2018-10-17 Thread Aki Tuomi
On 15.10.2018 16.46, Kris von Mach wrote: > What is the time unit maildirlock will accept? > > I've tried 20s, 20 sec, 20 secs, 20 seconds, all results in: > Fatal: Invalid timeout value: 20s > > And if you don't specify time unit you just get: > Panic: BUG: No IOs or timeouts set. Not waiting

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:

dovecot passdb driver=checkpassword as external script for block ip

2018-10-17 Thread bes
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_failure = return-fail result_success = continue } passdb {