Hi
A great way of getting all email addresses is to run
Code:
/opt/zimbra/openldap/bin/ldapsearch -LLL -x -D"`/opt/zimbra/bin/zmlocalconfig -s zimbra_ldap_userdn | \
awk '{print $3}'`" -w"`/opt/zimbra/bin/zmlocalconfig -s zimbra_ldap_password | \
awk '{print $3}'`" -H `/opt/zimbra/bin/zmlocalconfig ldap_url | \
awk '{print $3}'` $* | \
grep ^mail | \
awk '{print $2}' | \
sort > zimbra_recipients.list I would like to find a great way to get all domains (inclusive alias domains) in a list. Anyone know how to get this?