Ok, partially solved....
"Public folder" was at the same level of contacts so:
Code:
/opt/zimbra/bin/zmmailbox -z -m user@domain.com getRestURL "/?fmt=csv&query=under:Public folder"
but empty space between "public" and "folder" is a problem.This don't work:
Code:
/opt/zimbra/bin/zmmailbox -z -m user@domain.com getRestURL '/?fmt=csv&query=under:Public folder'
as this:
Code:
/opt/zimbra/bin/zmmailbox -z -m user@domain.com getRestURL "/?fmt=csv&query=under:Public%20folder"
so renaming it into "PublicFolder" I could see csv.
there is a way to customize CSV output?
I need to know if a row is under publicFolder/Banks, or PublicFolder/Customers ecc ecc.