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
Install Apache2, PHP 7.2 and MariaDB 10.5 on Debian 11 February 18, 2023 First, update all the packages of the system by below-mentioned command: sudo apt update After updating packages, now install the dependencies required by the below-mentioned command: sudo apt install software-properties-common ca-certificates lsb-release apt-transport-https Enable SURY Repository The following step is to integrate the SURY repository into our system. SURY is… Read More
Endian Installation USB Flash Drive December 25, 2019 This lesson describes how to create an installation USB drive for image files provided by Endian and to verify the integrity of the image file. The procedure applies to Windows users with XP, Vista, or Windows7 systems. Requirements You need the following to complete this lesson: .iso or .img image of an Endian… Read More
Flushing IPTables rule and allow all traffic for Debian or Ubuntu March 20, 2023 Flushing all iptables chain rules shell script #!/bin/sh echo “Stopping IPv4 firewall and allowing everyone…” ipt=”/sbin/iptables” ## Failsafe – die if /sbin/iptables not found [ ! -x “$ipt” ] && { echo “$0: \”${ipt}\” command not found.”; exit 1; } $ipt -P INPUT ACCEPT $ipt -P FORWARD ACCEPT $ipt -P… 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