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 {

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

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 fo

Re: Fatal: setgid, imap connections dropped.

2018-10-17 Thread Aki Tuomi
On 16.10.2018 21.32, J. de Meijer wrote: > I'm still trying to fix this problem. Hopefully someone can help. > > I've upgraded dovecot to 2.3.3 > # dovecot --version > 2.3.3 (dcead646b) > > That didn't help. > > Next I switched 10-auth.conf to use a local password file (instead of LDAP) Can you

Ass(et) protection for mobile users

2018-10-17 Thread Rupert Gallagher
Hello! Is it possible to hide the public folder when the user is on its mobile phone?

Re: Ass(et) protection for mobile users

2018-10-17 Thread Aki Tuomi
On 18.10.2018 9.48, Rupert Gallagher wrote: > Hello! > > Is it possible to hide the public folder when the user is on its > mobile phone? How would you know this? Aki