Adding Members to a Group
The email recipients associated with a particular group must have membership in that group. Members are included in a group by adding their email addresses. This can be done by either editing the group file directly or using the pmx-list command. The groups are stored in the members-per-group directory.
Members must be specified as email address parts; that is, they must take the form of individual addresses, subdomains, domains, or the first part of the email address. For example:
To add members by editing the group file:
- At the command line, navigate to the /opt/pmx6/etc/members-per-group directory.
- Using an editor (for example, vi), enter the email addresses of those who will administer the group.
- Run pmx-makemap --grouplist -g to create a CDB list that can be synchronized with the database.
- Run pmx-profile sync-to-db to synchronize the list data with the database.
To add members using the pmx-list command:
At the command line, as the "pmx6" user, run the following command:
pmx-profile sync-from-db --resource=members-per-group
Run the following command:
pmx-list add members-per-group#<GroupName> email@example.com firstname.lastname@example.org ...
where GroupName is the name of the group to which addresses are added. The addresses are added to the group file in a subdirectory of the /opt/pmx6/etc/members-per-group directory.
- Run pmx-profile sync-to-db.
- Run pmx-makemap --grouplist.
- At the command line, as the "pmx6" user, run the following command:
See the pmx-list man page for more information.