Please put the output of
in
your profile.
The error you posted has an extra "." between the / and the ?
Are you sure you put in the command exactly like this?
Code:
/opt/zimbra/bin/zmmailbox -z -m user@domain.com getRestURL “//?fmt=tgz” > /tmp/account.tgz
?