Hello,
I have many people who are on distribution lists that aren't Zimbra users (as in they use another mail provider). I'm trying to figure out how I can search to see what distribution lists one of those people is on. This is obviously possible for people who have Zimbra accounts on my server, but what do I do about these other people?
Thanks.
finding non-zimbra users distribution list membership
-
- Posts: 39
- Joined: Fri Sep 12, 2014 10:45 pm
finding non-zimbra users distribution list membership
run as zimbra user (replace email@address.com with the person you're looking for
#!/bin/bash
for i in `zmprov gadl`
do
echo "Checking $i..."
zmprov gdl $i | grep -i 'email@address.com'
done
-
- Posts: 39
- Joined: Fri Sep 12, 2014 10:45 pm
finding non-zimbra users distribution list membership
Thanks for the script. It takes a bit to run because we've got a ton of distribution lists, but I guess this will have to do.
finding non-zimbra users distribution list membership
yeah you could probably optimize it theres a few people who have made scripts that only open zmprov once and just keep entering commands into it thats a lot more efficient. i don't have as large of a setup so i tend to not care about efficiency
Who is online
Users browsing this forum: No registered users and 11 guests