How
to allow single user send mail in zimbra distribution list.
1. Enable zimbra mitlter serivce.
Note that the Milter server should
only be enabled on servers running the MTA.
Open zimbra admin console.
Global: Home > Configure >
Global Settings > MTA > Milter Server.
Server: Home > Configure >
Servers > Select Desired Server > MTA > Milter Server.
Alternatively using the CLI:
# su - zimbra
$ zmprov modifyConfig
zimbraMilterServerEnabled TRUE
For a specific server (say
eg.zmailtech.com):
$ zmprov modifyServer mail.zmailtech.com zimbraMilterServerEnabled TRUE
2. Start Zimbra Mailter service.
$ zmmilterctl start
The following will provide examples for
granting sender permissions on the CLI:
User - grants a user sending
permissions to a distribution list
$ zmprov grr dl
distributionlist@zmailtech.com usr user@zmailtech.com
sendToDistList
Group (distribution list) - grants a group sending rights to distribution list
$ zmprov grr dl
distributionlist@zmailtech.com grp groupdl@zmailtech.com
sendToDistList
All Entities - allows all entities
on the server to send to a distribution list
$ zmprov grr dl
distributionlist@zmailtech.com all sendToDistList
Domain - grant all users on a
domain sending rights
$ zmprov grr dl
distributionlist@zmailtech.com dom zmailtech.com sendToDistList
Public - grant all users both
internal/external sending rights
$ zmprov grr dl
distributionlist@zmailtech.com pub sendToDistList
After granting or revoking rights for
the milter, you must reaload the configuration for the changes to
take effect.
$ zmmtactl reload
Verifying permissions for an entity
Checking a single user or entity:
$ zmprov ckr dl
distributionlist@zmailtech.com username@zmailtech.com
sendToDistList
ALLOWED
Modifying and revoking grants
If you want to remove or modify
permissions, you'll need to use 'zmprov rvr' instead of 'zmprov grr'.
Example of removing sendToDistList
permissions for a user:
$ zmprov rvr dl
distributionlist@zmailtech.com usr user@zmailtech.com
sendToDistList
After granting or revoking rights for
the milter, you must reaload the configuration for the changes to
take effect.
$ zmmtactl reload
No comments:
Post a Comment