GWilliams-Notes: Difference between revisions

mNo edit summary
mNo edit summary
Line 39: Line 39:
== Backups ==
== Backups ==


Configure e-mail settings for backup reports:
*Configure e-mail settings for backup reports:
  zmprov gacf | grep -i backup
  zmprov gacf | grep -i backup
  zmprov mcf zimbraBackupReportEmailRecipients e@mail.address
  zmprov mcf zimbraBackupReportEmailRecipients e@mail.address
  zmprov mcf zimbraBackupReportEmailSender e@mail.address
  zmprov mcf zimbraBackupReportEmailSender e@mail.address
  zmprov mcf zimbraBackupReportEmailSubjectPrefix Subject of message
  zmprov mcf zimbraBackupReportEmailSubjectPrefix Subject of message
* Display current backup schedule:
zmschedulebackup -q
* To display the schedules on one line as a command, so that they can be copied to a text file and saved to be used if the application needs to be restored.
zmschedulebackup -s
* To schedule the default full and incremental backup
zmschedulebackup -D
* To replace the existing schedule with a new schedule
zmschedulebackup -R f [“schedule”]
* To add an additional full backup to the existing schedule
zmschedulebackup -A f [“schedule”]
* To add an additional incremental backup to the existing schedule
zmschedulebackup -A i [“schedule”]
*Example:
zmschedulebackup -R f "0 1 * * 6" i "0 1 * * 0-5" d 14d "0 0 * * *"


=== Directing Users to the correct Change Password Page ===
== Directing Users to the correct Change Password Page ==
*Set the zimbraChangePasswordURL attribute to the URL of your password change page. The Change Password link in the Preferences>General tab goes to this URL and when passwords expire, users are sent to this page.
*Set the zimbraChangePasswordURL attribute to the URL of your password change page. The Change Password link in the Preferences>General tab goes to this URL and when passwords expire, users are sent to this page.



Revision as of 15:29, 19 July 2010

ZCS 6.x

Create Domain Admin User

Create Domain, Account and Distribution List

su - zimbra
/opt/zimbra/bin/zmprov -m -l cd domain.com
/opt/zimbra/bin/zmprov -m -l ca manager@domain.com zimbraIsDelegatedAdminAccount TRUE zimbraIsDomainAdminAccount TRUE
/opt/zimbra/bin/zmprov -m -l cdl zimbraDomainAdmins@domain.com zimbraIsAdminGroup TRUE zimbraMailStatus disabled zimbraAdminConsoleUIComponents accountListView zimbraAdminConsoleUIComponents aliasListView zimbraAdminConsoleUIComponents DLListView zimbraAdminConsoleUIComponents resourceListView zimbraAdminConsoleUIComponents saveSearch
/opt/zimbra/bin/zmprov -m -l grr domain domain.com grp zimbraDomainAdmins@domain.com +domainAdminConsoleRights
/opt/zimbra/bin/zmprov -m -l grr global grp zimbraDomainAdmins@domain.com +domainAdminZimletRights

Set Global Admin Rights and reset to Normal Rights

  • Log into webAdminUI as global admin
  • Set manager@domain.com as member of zimbraDomainAdmins@domain.com
  • Set manager@domain.com as global admin
  • Log out of webAdminUI
  • Log into webAdminUI as manager@domain.com
  • Log out of webAdminUI
  • Log into webAdminUI as global admin
  • Remove global admin for manager@domain.com
  • Log out of webAdminUI
  • Log into webAdminUI as manager@domain.com (might need to wait a couple of minutes - depends on server performance)

Domain Admin link when logged in as user

zmprov md <domain_name> zimbraWebClientAdminReference <domain_admin_site>

zmprov md mail.domain.com zimbraWebClientAdminReference https://admin.domain.com:7071/

Restart Zimbra mailbox service

zmmailboxdctl restart

Admin Console tabs and buttons missing

"Rights", "Global ACL" and "Account limits tab" missing? Log into CLi and run:

su - zimbra
zmzimletctl listZimlet all

Check that "com_zimbra_delegatedadmin" zimlet is deployed. I found that it was deployed, but was disabled on my LDAP server. I fixed this by running:

zmzimletctl enable com_zimbra_delegatedadmin

Viola... All my missing admin buttons and tabs appeared.

Backups

  • Configure e-mail settings for backup reports:
zmprov gacf | grep -i backup
zmprov mcf zimbraBackupReportEmailRecipients e@mail.address
zmprov mcf zimbraBackupReportEmailSender e@mail.address
zmprov mcf zimbraBackupReportEmailSubjectPrefix Subject of message
  • Display current backup schedule:
zmschedulebackup -q
  • To display the schedules on one line as a command, so that they can be copied to a text file and saved to be used if the application needs to be restored.
zmschedulebackup -s
  • To schedule the default full and incremental backup
zmschedulebackup -D
  • To replace the existing schedule with a new schedule
zmschedulebackup -R f [“schedule”]
  • To add an additional full backup to the existing schedule
zmschedulebackup -A f [“schedule”]
  • To add an additional incremental backup to the existing schedule
zmschedulebackup -A i [“schedule”]
  • Example:
zmschedulebackup -R f "0 1 * * 6" i "0 1 * * 0-5" d 14d "0 0 * * *"

Directing Users to the correct Change Password Page

  • Set the zimbraChangePasswordURL attribute to the URL of your password change page. The Change Password link in the Preferences>General tab goes to this URL and when passwords expire, users are sent to this page.
  • This is changed from the zmprov CLI.
zmprov md exampledomain.com zimbraChangePasswordURL https://mail.exampledomain.com/h/changepass
Jump to: navigation, search