Hi all,
I have just created approximately 150 distribution list (DL). I would like to add the owner of 150 DL at once by command line instead of using Web UI.
Is there any solution for me?
Thanks
Add owner to Distribution list
- DualBoot
- Elite member
- Posts: 1326
- Joined: Mon Apr 18, 2016 8:18 pm
- Location: France - Earth
- ZCS/ZD Version: ZCS FLOSS - 8.8.15 Mutli servers
- Contact:
Re: Add owner to Distribution list
Hello,
the basic command line must be :
See you
the basic command line must be :
Code: Select all
zmprov mdl ${your_distList} +zimbraACE "${owner_zimbraId} usr ownDistList"
Re: Add owner to Distribution list
Hi,
I'm have the same issue, can you confirm if it worked?
I 'm trying with zimbra 8.8.15 P40 (latest release) and and I receive this:
zmprov mdl ${distributionlist@domain.local} +zimbraACE "${996195e6-b1d1-4d14-873f-e97c5c4bc127} usr ownDistList"
-bash: ${956195e6-b1d1-4d14-873f-e97c5c4bc127} usr ownDistList: bad substitution
Any suggestion?
Checking from webui works and only difference using zmprov getDistributionList distributionlist@doamin.local is this output
zimbraACE: 956195e6-b1d1-4d14-873f-e97c5c4bc127 usr ownDistList
that is teh command that I need to enter via CLI
How can I do this?
Thanks
I'm have the same issue, can you confirm if it worked?
I 'm trying with zimbra 8.8.15 P40 (latest release) and and I receive this:
zmprov mdl ${distributionlist@domain.local} +zimbraACE "${996195e6-b1d1-4d14-873f-e97c5c4bc127} usr ownDistList"
-bash: ${956195e6-b1d1-4d14-873f-e97c5c4bc127} usr ownDistList: bad substitution
Any suggestion?
Checking from webui works and only difference using zmprov getDistributionList distributionlist@doamin.local is this output
zimbraACE: 956195e6-b1d1-4d14-873f-e97c5c4bc127 usr ownDistList
that is teh command that I need to enter via CLI
How can I do this?
Thanks
-
- Zimbra Employee
- Posts: 137
- Joined: Mon Apr 11, 2022 8:39 pm
Re: Add owner to Distribution list
Not sure why you are using extra ${} around values, that are used for variables.
Below command should work for you
Below command should work for you
Code: Select all
zmprov mdl distributionlist@domain.local +zimbraACE "996195e6-b1d1-4d14-873f-e97c5c4bc127 usr ownDistList"
Re: Add owner to Distribution list
First of all thanks, correct , now with this commands works, I was using suggested on previous message I don't know why $, well now solved
Now I'm truing to add permission to send to this distribution list only internal users from zimbra server, from webui (from owner web interface distribution list is working fine)I can configure, but I need to automate with zimbra cli, I'm searching the command but I can't find, is this possible and what can be the command to apply this config with a distribution list?
option 6 on this url -- only internal users
https://community.zextras.com/manage-yo ... st-zimbra/
What command can I use to edit this option 6 and configure only allow to send internal users?
Thanks
Now I'm truing to add permission to send to this distribution list only internal users from zimbra server, from webui (from owner web interface distribution list is working fine)I can configure, but I need to automate with zimbra cli, I'm searching the command but I can't find, is this possible and what can be the command to apply this config with a distribution list?
option 6 on this url -- only internal users
https://community.zextras.com/manage-yo ... st-zimbra/
What command can I use to edit this option 6 and configure only allow to send internal users?
Thanks