i am trying to run the following command on a remote zimbra server. It works locally but in order to complete the migrations i need to to work remotely as well. what do i need to do to get the authtoken or even to ignore it completely?
/opt/zimbra/bin/zmmailbox -u
http://10.160.100.200 -a admin -p password -m sanga.c getAllFolders
ERROR: service.AUTH_REQUIRED (no valid authtoken present)
/opt/zimbra/bin/zmmailbox -u
http://localhost -a admin -p password -m sanga.c getAllFolders
Id View Unread Msg Count Path
---------- ---- ---------- ---------- ----------
1 unkn 0 0 /
16 docu 0 6 /Briefcase
10 appo 0 0 /Calendar
14 mess 0 2 /Chats
7 cont 0 50 /Contacts
6 mess 0 0 /Drafts
13 cont 0 2 /Emailed Contacts
627 cont 0 0 /FAmily
2 mess 1 55 /Inbox
4 mess 0 0 /Junk
599 mess 0 0 /Junk E-mail
12 docu 0 1 /Notebook
5 mess 0 35 /Sent
15 task 0 4 /Tasks
3 unkn 0 3 /Trash