password expire warning for dovecot users in IMAP/POP login

mkawada at redhat.com mkawada at redhat.com
Wed Jun 8 06:37:39 UTC 2016


Dear list,

Is it possible to give a notification about password exprire warning to 
users authenticated by OpenLDAP when the users login via dovecot using 
IMAP or POP? For example, when you ssh to a server and/or run 
ldapsearch, you can be warned with password expire warning like below:

# ssh testuser at localhost
testuser at localhost's password:
Your password will expire in 31 minute(s).            <==
Last login: Wed Jun  8 12:22:08 2016 from localhost.localdomain

]$ ldapsearch -LLL -D uid=testuser,ou=People,dc=example,dc=com -w 
redhat  "cn=testuser" -e ppolicy
ldap_bind: Success (0) (Password expires in 1808 seconds)    <==
dn: uid=testuser,ou=People,dc=example,dc=com

Does the same can be done for dovecot users authenticated by OpenLDAP in 
IMAP/POP?


Thanks,

-- 
Masaharu Kawada



More information about the dovecot mailing list