from address expansion with zmmailbox

Discuss your pilot or production implementation with other Zimbra admins or our engineers.
Post Reply
PhD
Advanced member
Advanced member
Posts: 68
Joined: Sat Sep 13, 2014 2:03 am

from address expansion with zmmailbox

Post by PhD »

Howdy,

is there any way to return the "from" address in a zmmailbox search?
Currently it just shows me the display name of the sender (not the address)...
Im having to run zmmailbox to get the message id's then put that in a loop to do a "gm" (get message) on the ID, and grep out the From:
eg:

[zimbra@angelia ~]$ zmmailbox -z -m user@domain.com s -l 200 -t message "to: foo@bar.com"

num: 127, more: false
Id Type From Subject Date

------ ---- -------------------- -------------------------------------------------- --------------

1. 161409 mess Russell Summer Newsletter 12/17/12 10:59
So, how can i expand "Russell"?
cheers

PhD
PhD
Advanced member
Advanced member
Posts: 68
Joined: Sat Sep 13, 2014 2:03 am

from address expansion with zmmailbox

Post by PhD »

ah -v... i had tried that, but i was putting it in the wrong place, if i put it after the "s" , then it gave me more verbosity which i could then grep for sender address :)
Post Reply