Skip to main content

Query sending permissions on a Zimbra server

Project description

Zimbra Permissions Inspector

This CLI utility allows you to query sending permissions on a Zimbra server.

You can retrieve sending permissions for a particular Zimbra Distribution List (ZDL) or get a complete list of 'Send as' permissions. The most basic query, list all the existing ZDLs (both dynamic and static).


Make sure you meet the following requirements:

Tested on Zimbra v8.8.12


You can install it with pip:

pip install zimbra-permissions-inspector


Help output:

usage: [-h] [-l ZDL] [-sa] [-v]
                                       SERVER BASEDN LDAP_ADMIN

Query sending permissions on a Zimbra server

positional arguments:
  SERVER             URI formatted address of the Zimbra server
  BASEDN             Specify the searchbase or base DN of the Zimbra LDAP
  LDAP_ADMIN         Admin user of the Zimbra LDAP server

optional arguments:
  -h, --help         show this help message and exit
  -l ZDL, --zdl ZDL  Query which Zimbra accounts have permissions to send
                     mails to the given ZDL
  -sa, --sendas      Query 'send as' permissions on both Zimbra accounts and
  -v, --version      Show current version

Note that positional arguments are mandatory!.

Usage examples

If no optional arguments are given, it'll list all the existing ZDLs (both dynamic and static):

zimbra-permissions-inspector ldap:// dc=somecorp,dc=com uid=zimbra,cn=admins,cn=zimbra 

Query which Zimbra accounts have permissions to send mails to a ZDL ("Zimbra Distribution Lists") named "my-zdl-list":

zimbra-permissions-inspector ldap:// dc=somecorp,dc=com uid=zimbra,cn=admins,cn=zimbra -l zdl-list 

Get a list of "send as" permissions:

zimbra-permissions-inspector ldap:// dc=somecorp,dc=com uid=zimbra,cn=admins,cn=zimbra -sa 

Project details

Release history Release notifications | RSS feed

This version


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for zimbra-permissions-inspector, version 0.1
Filename, size File type Python version Upload date Hashes
Filename, size zimbra_permissions_inspector-0.1-py3-none-any.whl (18.3 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size zimbra-permissions-inspector-0.1.tar.gz (4.7 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page