added names:
passdb allusers {
...
}
passdb postmasterfilter {
...
username_filter = [email protected]
...
}
passdb user2filter {
....
username_filter = [email protected]
,,,
}
try "doveadm auth test [email protected]" and got logs:
Aug 1 16:08:02 auth: Debug: auth client connected (pid=0)
Aug 1 16:08:02 auth: Debug: client in: AUTH 1 PLAIN
service=doveadm debug resp=<hidden>
Aug 1 16:08:02 auth: Debug: allusers([email protected]): Performing passdb
lookup
Aug 1 16:08:02 auth: Debug: allusers([email protected]): execute:
/usr/local/bin/php /usr/local/dovecot/bin/checkpassword.php
/usr/local/libexec/dovecot/checkpassword-reply
Aug 1 16:08:02 auth: Debug: allusers([email protected]): Received input:
Aug 1 16:08:02 auth: Debug: allusers([email protected]): exit_status=1
Aug 1 16:08:02 auth: allusers([email protected]): Login failed (status=1)
Aug 1 16:08:02 auth: Debug: allusers([email protected]): Finished passdb
lookup
Aug 1 16:08:02 auth: Debug: postmasterfilter([email protected]):
Performing passdb lookup
Aug 1 16:08:02 auth: Debug: postmasterfilter([email protected]): username
changed [email protected] -> [email protected]
Aug 1 16:08:02 auth: Debug: postmasterfilter([email protected]): execute:
/usr/local/bin/php /usr/local/dovecot/bin/checkpassword.php
/usr/local/libexec/dovecot/checkpassword-reply
Aug 1 16:08:02 auth: Debug: postmasterfilter([email protected]): Received input:
[email protected] userdb_home=/var/spool/mail/ userdb_uid=dovecot
userdb_gid=dovecot
Aug 1 16:08:02 auth: Debug: postmasterfilter([email protected]): exit_status=0
Aug 1 16:08:02 auth: Debug: postmasterfilter([email protected]): username
changed [email protected] -> [email protected]
Aug 1 16:08:02 auth: Debug: postmasterfilter([email protected]): Finished
passdb lookup
Aug 1 16:08:02 auth: Debug: auth([email protected]): Auth request finished
Aug 1 16:08:02 auth: Debug: client passdb out: OK 1
[email protected] [email protected]
Same result: it should skip postmasterfilter passdb and work with user2filter,
but it didn't
_______________________________________________
dovecot mailing list -- [email protected]
To unsubscribe send an email to [email protected]