Displaying 1 result from an estimated 1 matches for "techdept".
Did you mean:
techcert
2018 Oct 17
2
dovecot passdb driver=checkpassword as external script for block ip
...driver = checkpassword
result_failure = return-fail
result_success = continue
}
passdb {
args = /etc/dovecot/dovecot-sql.conf.ext ( my working auth method )
driver = sql
}
Created executable /myscript.sh:
#!/bin/sh
exit 1
But I saw in the logs:
dovecot[15111]: auth: Error:
checkpassword(techdept at nestormedia.com,192.168.99.128,<Mos6jW94XNzAqGOA>):
Child 15115 exited with status 1
dovecot[18016]: imap-login: Login: user=....[successful login]
Why result_failure=return-fail from first passdb does not work?