Well, I have a result, but to make it useful will require some scripting and formating -- it is a start though.
If I run this command:
ldapsearch -H ldap://x.x.x.x:389 -w ********** -D uid=zimbra,cn=admins,cn=zimbra -x "(&(objectClass=zimbraAccount) (mail=*))" zimbraMailHost zimbraMailDeliveryAddress
It runs through every email account and outputs:
# christine, people, domain.com
dn: uid=christine,ou=people,dc=domain,dc=com
zimbraMailDeliveryAddress:
christine@domain.com
zimbraMailHost: server.domain.com
Reading this into a perl array and outputting a list in the format I want will work.
Anyone got an easier method?