This is just a short post describing Zimbra distribution list (mailinglist) commands.
These commands should be run as the zimbra user
# su - zimbra
List all distribution lists
# zmprov gadl
Print only members addresses of a distribution list
# zmprov gdl mailinglist@example.com | grep zimbraMailForwardingAddress: | awk {'print $2'}
Show if a list is member of another distribution list(s)
# zmprov gdlm mailinglist@example.com
Posted by Hans-Henry Jakobsen
I had some problems with one of my mailaccounts periodically not receiving mail. A temporary way to fix it was to restart zimbra as zimbra user (zmcontrol stop; zmcontrol start; ) It worked for a while, but came back usually after a couple of hours.
The solution to this problem was to reindex the mailaccount as zimbra user.
# su - zimbra # zmprov rim username@example.com start # zmprov rim username@example.com status
Posted by Hans-Henry Jakobsen