Hi,
I'm a newbie to Zimbra.

I've just installed on my CentOS box zcs 7.1.4 and I want to import all my mail and user accounts from a remote server that is using Postfix and uses POP3.

I picked up on this script/ code:


createFolder "/$FOLDERNAME"
addMessage "/$FOLDERNAME" "/path/to/$FOLDERNAME/cur"
addMessage "/$FOLDERNAME" "/path/to/$FOLDERNAME/new"
and ran
zmmailbox -z -m user@example.com < $TEXTFILE
but this is the error I'm getting:


mailbox: user@example.com, size: 0 B, messages: 0, unread: 0
mbox user@example.com> createFolder "/$Maildir"
ERROR: mail.ALREADY_EXISTS (object with that name already exists: $Maildir)
mbox <user@example>.com> addMessage "/$Maildir" "11.22.33.44:/home/<user>/Maildir/cur"
Exception in thread "main" java.io.FileNotFoundException: 11.22.33.44:/home/<user>/Maildir/cur (No such file or directory)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.<init>(FileInputStream.jav a:120)
at com.zimbra.cs.zclient.ZMailboxUtil.addMessage(ZMai lboxUtil.java:1744)
at com.zimbra.cs.zclient.ZMailboxUtil.doAddMessage(ZM ailboxUtil.java:1790)
at com.zimbra.cs.zclient.ZMailboxUtil.execute(ZMailbo xUtil.java:917)
at com.zimbra.cs.zclient.ZMailboxUtil.interactive(ZMa ilboxUtil.java:2567)
at com.zimbra.cs.zclient.ZMailboxUtil.main(ZMailboxUt il.java:2679)
What am I missing, or doing wrong?

Any help would be much appreciated.