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
Javascript POP Up Window August 2, 2009 To open a new window by clicking on the link, you will need to use window.open method of javascript. Simple popup window <a href=”javascript: void(0)” onclick=”window.open(‘popup.html’, ‘windowname1’, ‘width=200, height=77’); return false;”>Click here for simple popup window</a> Now you can open a simple window, also this function can have different features… Read More
Recover web gui access of Elastic 2.4.0 October 28, 2023October 28, 2023 Just in case if anyone still using the veeery old and legacy Elastix box (2.4.0) and forgot its web GUI console password, here’s the trick to get this sorted. /usr/bin/sqlite3 /var/www/db/acl.db “UPDATE acl_user SET md5_password = ‘`echo -n newpassword|md5sum|cut -d ‘ ‘ -f 1`’ WHERE name = ‘admin'” Voila! Related Read More
How to install Java SDK (1.6) and Apache Ant (1.7) on CentOS November 18, 2011November 18, 2011 I had enough with some package managers or alternative ways of installing Java on a server which is running CentOS (RHEL) 4.4 . I think the most straight forward way is the following. I promise by the end of this post you will have Java and Apache Ant running on… 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