Zimbra Domain Administration (Multi-tenant) Rumi, June 4, 2015 In order to create a multi tenancy in zimbra OSA, can be acheived through a bash script below. Thanks to Ahmad Imanuddin (http://www.imanudin.com) for sharing this very useful script. cd /srv/ vi admin-delegate.sh Fill with the following line : #!/bin/bash # $1 domain # $2 email zmprov ma $2 zimbraIsDelegatedAdminAccount TRUE zmprov ma $2 zimbraAdminConsoleUIComponents cartBlancheUI zimbraAdminConsoleUIComponents domainListView zimbraAdminConsoleUIComponents accountListView zimbraAdminConsoleUIComponents DLListView zmprov ma $2 zimbraDomainAdminMaxMailQuota 0 zmprov grantRight domain $1 usr $2 +createAccount zmprov grantRight domain $1 usr $2 +createAlias zmprov grantRight domain $1 usr $2 +createCalendarResource zmprov grantRight domain $1 usr $2 +createDistributionList zmprov grantRight domain $1 usr $2 +deleteAlias zmprov grantRight domain $1 usr $2 +listDomain zmprov grantRight domain $1 usr $2 +domainAdminRights zmprov grantRight domain $1 usr $2 +configureQuota zmprov grantRight domain $1 usr $2 set.account.zimbraAccountStatus zmprov grantRight domain $1 usr $2 set.account.sn zmprov grantRight domain $1 usr $2 set.account.displayName zmprov grantRight domain $1 usr $2 set.account.zimbraPasswordMustChange zmprov grantRight account $2 usr $2 +deleteAccount zmprov grantRight account $2 usr $2 +getAccountInfo zmprov grantRight account $2 usr $2 +getAccountMembership zmprov grantRight account $2 usr $2 +getMailboxInfo zmprov grantRight account $2 usr $2 +listAccount zmprov grantRight account $2 usr $2 +removeAccountAlias zmprov grantRight account $2 usr $2 +renameAccount zmprov grantRight account $2 usr $2 +setAccountPassword zmprov grantRight account $2 usr $2 +viewAccountAdminUI zmprov grantRight account $2 usr $2 +configureQuota # Save and give execute access chmod +x /srv/admin-delegate.sh # Login as Zimbra user and execute the script su - zimbra cd /srv/ ./admin-delegate.sh domainname account-email example ./admin-delegate.sh imanudin.net ahmad@imanudin.net Related Administrations Configurations (Linux) Scripts zimbra
Hide the Apache Web Server Version number with ServerSignature and ServerTokens directives March 7, 2013 You can easily hide Apche (httpd) version number and other information. There are two config directives that controls Apache version. The ServerSignature directive adds a line containing the Apache HTTP Server server version and the ServerName to any server-generated documents, such as error messages sent back to clients. ServerSignature is… Read More
Monitor MySQL database restore progress with pv January 12, 2013 The pv command is one that I really enjoy using but it's also one that I often forget about. You can't get a much more concise definition of what pv does than this one: pv allows a user to see the progress of data through a pipeline, by giving information… Read More
Nagios LDAP Monitoring (works for icinga as well) June 20, 2012June 20, 2012 on commands.cfg file define command { command_name check_ldaps command_line $USER1$/check_ldap.pl -H 192.168.0.123 -p 389 } on your <server.cfg> file- define service{ use generic-service ; template name, available by default host_name LDAP ; unique name… Read More
Since it is a by-pass solution on the community edition, it doesn’t allow a full administrative privileges! However, if you ever find a work around- plz share. 🙂 Reply
Thank you Rumi – this made my day 🙂 I was starting programming my own admin in php, but this is a much more elegant solution. Reply
Hello, Nice script. Does anybody know if this still work on Zimbra 8.7 / 8.8? Thanks in advance. Reply