password expire warning for dovecot users in IMAP/POP login

Aki Tuomi aki.tuomi at dovecot.fi
Wed Jun 8 06:49:32 UTC 2016



On 08.06.2016 09:37, mkawada at redhat.com wrote:
> 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,
>
How would this warning get shown to people?

Aki


More information about the dovecot mailing list