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).
Requirements
Make sure you meet the following requirements:
- Make sure to setup the Zimbra LDAP admin user, on your Zimbra server.
- You need the python-ldap package.
Tested on Zimbra v8.8.12
Installation
You can install it with pip:
pip install zimbra-permissions-inspector
Usage
Help output:
usage: zimbra-permissions-inspector.py [-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
server
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
ZDLs
-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://zimbra.somecorp.com 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://zimbra.somecorp.com dc=somecorp,dc=com uid=zimbra,cn=admins,cn=zimbra -l zdl-list
Get a list of "send as" permissions:
zimbra-permissions-inspector ldap://zimbra.somecorp.com dc=somecorp,dc=com uid=zimbra,cn=admins,cn=zimbra -sa
Metadata
Release files for zimbra-permissions-inspector 0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| zimbra-permissions-inspector-0.1.tar.gz | 4.7 kB | Without provenance | Details for zimbra-permissions-inspector-0.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| zimbra_permissions_inspector-0.1-py3-none-any.whl | Python 3 | none | any | Details for zimbra_permissions_inspector-0.1-py3-none-any.whl |
Total release size: 23.0 kB
Release files / zimbra-permissions-inspector-0.1.tar.gz
| Download URL | zimbra-permissions-inspector-0.1.tar.gz |
|---|---|
| Size | 4.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a0f2872aa0a1c5bb8fce23833c26c8b4a86b52fd71108475b6169b19df329fd0
|
|
BLAKE2b-256 checksum How to use checksums |
186542a0ea2f1e5be79353ee68cb2bd87ba309e73ef0b5f0d9270bd4fa4d2a73
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.15.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/42.0.2 requests-toolbelt/0.9.1 tqdm/4.40.0 CPython/3.5.3
|
Release files / zimbra_permissions_inspector-0.1-py3-none-any.whl
| Download URL | zimbra_permissions_inspector-0.1-py3-none-any.whl |
|---|---|
| Size | 18.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
25a09ef2dd72ced19b8fb025e1ea0e99888ff068d765d221849190af79868935
|
|
BLAKE2b-256 checksum How to use checksums |
207271762508d4328db12fdced4a3f0ff812e3fd2ca3d1c20becbe77211e0483
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.15.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/42.0.2 requests-toolbelt/0.9.1 tqdm/4.40.0 CPython/3.5.3
|
Security for zimbra-permissions-inspector 0.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.