Hi Guys,
I am running below Zimbra Verison on CentOS 7.6.
Release 8.8.11_GA_3737.RHEL7_64_20181207111719 RHEL7_64 FOSS edition, Patch 8.8.11_P2.
I am running Multiple domains. ( there are about 7 domains).
I created a Dynamic Distribution list called all@mydomain.net with that specific COS ID. But, No members are in that list?
This is How I created it.
To see all COSes I ran below command.
zmprov gac
I got the COS id with below commands.
zmprov gc mydomain |grep -i zimbraid:
and
zmprov gd mydomain.net |grep -i cos
I want to add all the users of that particular domain to the DL called all@mydomain.net. I ran below command for it.
zmprov cddl all@mydomain.net memberURL 'ldap:///??sub?(&(objectClass=zimbraAccount)(zimbraCOSId=6e35cc2d-0fd3-4178-9f58-3b56f283777f)(zimbraAccountStatus=active))' zimbraIsACLGroup FALSE
I ran below command to see it's members. But, No members there.
zmprov gdlm all@mydomain.net
SOURCE - https://wiki.zimbra.com/wiki/Dynamic_Di ... rver_8.0.x
Why? Hope to hear from you.
zimbra Distribution List for a specific domain
- 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: zimbra Distribution List for a specific domain
Hello,
did you try without zimbraCOSId filter ?
Regards,
did you try without zimbraCOSId filter ?
Regards,
Re: zimbra Distribution List for a specific domain
> did you try without zimbraCOSId filter ?
Yes, Indeed with below command.
zmprov cddl all@mydomain.net memberURL 'ldap:///??sub?(&(objectClass=zimbraAccount)(ZimbraAccountStatus=active))' zimbraIsACLGroup FALSE
Then, Problem is all active users of ALL domains will be present. ( i,e - 7 domains in this case since there are 7 domains already hosted)
What a chaos?
anyway, Thanks for your reply.
Who can solve this ?
Yes, Indeed with below command.
zmprov cddl all@mydomain.net memberURL 'ldap:///??sub?(&(objectClass=zimbraAccount)(ZimbraAccountStatus=active))' zimbraIsACLGroup FALSE
Then, Problem is all active users of ALL domains will be present. ( i,e - 7 domains in this case since there are 7 domains already hosted)
What a chaos?
anyway, Thanks for your reply.
Who can solve this ?
- 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: zimbra Distribution List for a specific domain
Instead of zimbraCOSId use zimbraMailDeliveryAddress like this :
(zimbraMailDeliveryAddress=*@your_domain_to_match)
Regards,
(zimbraMailDeliveryAddress=*@your_domain_to_match)
Regards,
- ccelis5215
- Outstanding Member
- Posts: 632
- Joined: Sat Sep 13, 2014 2:04 am
- Location: Caracas - Venezuela
- ZCS/ZD Version: 8.8.15.GA.3869.UBUNTU18.64 P12
Re: zimbra Distribution List for a specific domain
Hi,
Just what i need.
My DL:
ccelis
Just what i need.
My DL:
Code: Select all
zmprov cddl allusers@domain.com memberURL 'ldap:///??sub?(&(objectClass=zimbraAccount)(zimbraMailDeliveryAddress=*domain.com)(zimbraAccountStatus=active)(!(zimbraHideInGal=TRUE)))' zimbraIsACLGroup FALSE
Re: zimbra Distribution List for a specific domain
zmprov cddl allusers@domain.com memberURL 'ldap:///??sub?(&(objectClass=zimbraAccount)(zimbraMailDeliveryAddress=*domain.com)(zimbraAccountStatus=active)(!(zimbraHideInGal=TRUE)))' zimbraIsACLGroup FALSE
Yes, the above command works as expected. Thanks. have a nice day.
Yes, the above command works as expected. Thanks. have a nice day.