User Tools

Site Tools


internet:mail:zimbra:zimbra_enable_forgot_password

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
internet:mail:zimbra:zimbra_enable_forgot_password [2021/01/12 11:18]
gcooper created
internet:mail:zimbra:zimbra_enable_forgot_password [2022/09/23 10:55] (current)
gcooper
Line 1: Line 1:
 ====== Enable Zimbra OSE Forgot Password ====== ====== Enable Zimbra OSE Forgot Password ======
  
-This will work on Zimbra OSE 8.8.15 and on 9.0.0 OSE ([[https://docs.zextras.com/zextras-suite-documentation/latest/zimbra9ose.html|Zextras Open Source Build]])+See also **[[quick_guide:zimbra_password|Change Your Zimbra Password]]** 
 + 
 +See also **[[internet:mail:zimbra:zimbra_password_policy|Zimbra Password Policy]]** 
 + 
 +This should work on Zimbra OSE 8.8.15 and on Zimbra 9.0.0 OSE ([[https://docs.zextras.com/zextras-suite-documentation/latest/zimbra9ose.html|Zextras Open Source Build]]) 
 + 
 +Log into your Zimbra server as ''root''
 + 
 +Backup and edit ''login.jsp'': 
 + 
 +<file> 
 +cp -a /opt/zimbra/jetty/webapps/zimbra/public/login.jsp /opt/zimbra/jetty/webapps/zimbra/public/login.jsp.orig 
 + 
 +vim /opt/zimbra/jetty/webapps/zimbra/public/login.jsp 
 +</file> 
 + 
 +Search for: 
 + 
 +<file> 
 +domainInfo.attrs.zimbraFeatureResetPasswordStatus 
 +</file> 
 + 
 +{{ :internet:mail:zimbra:zimbra_enable_forgot_password_on_login_page.png?750 |Zimbra 8.8.15}} 
 + 
 +{{ :internet:mail:zimbra:zimbra_enable_forgot_password_on_login_page_9.0.0.png?750 |Zimbra 9.0.0}} 
 + 
 +Move this line down: 
 + 
 +<file> 
 +<c:if test="${domainInfo.attrs.zimbraFeatureResetPasswordStatus eq 'enabled'}"> 
 +</file> 
 + 
 +immediately above this line: 
 + 
 +<file> 
 +</c:if> 
 +</file> 
 + 
 +The Forgot Password link should now be visible on your Zimbra login page. 
 + 
 +{{ :internet:mail:zimbra:zimbra_password_forgot_password_link.png?350 |Forgot Password Link}} 
 + 
 +===== Enable Password Recovery in CoS ===== 
 + 
 +FIXME Zimbra restart required? 
 + 
 +<file> 
 +zmprov gc default zimbraFeatureResetPasswordStatus 
 + 
 +zmprov mc default zimbraFeatureResetPasswordStatus enabled 
 +</file> 
 + 
 +Modify all CoS: 
 + 
 +<file> 
 +for cos in `zmprov gac`; do zmprov mc $cos zimbraFeatureResetPasswordStatus enabled; done 
 +</file>
internet/mail/zimbra/zimbra_enable_forgot_password.1610475495.txt.gz · Last modified: 2021/01/12 11:18 by gcooper