Zimbra uses the zmprov command to create a group and authorize the group to send emails.

Source: Internet
Author: User

The zmprov tool can execute many tasks, such as creating accounts, aliases, domain names, cos, lists, and calendars.

For the email administrator, zmporv is a powerful tool in CLI (command line interface) for daily work. Of course, you can also perform these operations on the Administrator console.

// Email Environment

  1. System centos6.4, zimbra7

  2. Zimbra works normally and the domain name uses zijian.com

  3. The created test users include user1, user2, user3,... user10.

// View group information

1. View All groups under a domain name (getalldistributionlists)

Zmprov gadl


2. view group members (get distributionlistmember)

Zmprov gdlm [email protected]


3. View Details of a group (getdistributionlist)

Zmprov GDL [email protected]

// Manage group members

1. Create a group (createdistributionlist)

Zmprov CDL [email protected]


2. Add distributionlistmember)

Zmporv adlm [email protected] [email protected]

Zmporv adlm [email protected] [email protected]

Zmporv adlm [email protected] [email protected]


3. removedistributionlistmember)

Zmprov rdlm [email protected] [email protected]

// Authorize the user to send emails to the group

# By default (create only groups and add users without zmprov authorization), all users can send emails to all groups created under the domain name, after explicitly authorizing some users to send emails, other users cannot send emails to this group.

# To Use Authorization commands, you must enable the milter Server

How to enable: Console ----> global settings -----> MTA ------> enable milter Server


1. Authorize user1 and user4 users to send emails to [email protected]

Zmprov grr DL [email protected] USR [email protected] sendtodistlist

Zmprov grr DL [email protected] USR [email protected] sendtodistlist


2. revoke the [email protected] email permission from user1 to the group.

Zmprov rvr dl [email protected] USR [email protected] sendtodistlist

Note: The user authorized to send emails to the group does not have any relationship with the user in the group.

Zimbra uses the zmprov command to create a group and authorize the group to send emails.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.