mkawada at redhat.com
2016-Jun-08 08:05 UTC
password expire warning for dovecot users in IMAP/POP login
Aki-san, Thanks for your feedback. Whatever ways will do. For instance, in a thunderbird mail client, a pop-up message or notification email telling client that the password will be expired in XX days, something like this, would be nice. Thanks, Masaharu Kawada On 2016?06?08? 15:49, Aki Tuomi wrote:> > 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-- Masaharu Kawada
On 06/08/2016 10:05 AM, mkawada at redhat.com wrote:> Whatever ways will do. For instance, in a thunderbird mail client, a > pop-up message or notification email telling client that the password > will be expired in XX days, something like this, would be nice.IMAP has ALERT response which is supported by some clients. I think Thunderbird supports that. I don't think POP has such a feature, but I wouldn't care about POP. -- Aleksander 'A.L.E.C' Machniak Kolab Groupware Developer [http://kolab.org] Roundcube Webmail Developer [http://roundcube.net] --------------------------------------------------- PGP: 19359DC1 @@ GG: 2275252 @@ WWW: http://alec.pl
mkawada at redhat.com
2016-Jun-08 08:39 UTC
password expire warning for dovecot users in IMAP/POP login
Alec-san, Thanks for your comment. Please lemme make sure one more thing. >IMAP has ALERT response which is supported by some clients. To make it happen, no need to add any other configurations on LDAP end once possword policy is correctly set? Thanks, Masaharu Kawada On 2016?06?08? 17:27, A.L.E.C wrote:> On 06/08/2016 10:05 AM, mkawada at redhat.com wrote: >> Whatever ways will do. For instance, in a thunderbird mail client, a >> pop-up message or notification email telling client that the password >> will be expired in XX days, something like this, would be nice. > IMAP has ALERT response which is supported by some clients. I think > Thunderbird supports that. I don't think POP has such a feature, but I > wouldn't care about POP. >-- Masaharu Kawada