I try to migrate emails from an ice warp server to zimbra and I use imapsync for it. With the following command I get the error message

--host1 option must be used, run /usr/bin/imapsync --help for help

the command what I try to run

imapsync \ --buffersize 8192000 --nosyncacls --subscribe --syncinternaldates \ --host1 myip1--user1 myuser --password1 mypassword --ssl1 --port1 993 \ --host2 myip --user2 myuser --password2 mypassword --ssl1 --port2 993
  • Try it without the ` \ `s ?
    – NickW
    May 17, 2013 at 15:51
  • I'll put it as an answer then...
    – NickW
    May 17, 2013 at 15:58
  • ok I will accept
    – fefe
    May 17, 2013 at 16:11

2 Answers 2


Remove the \ from the command, I'd imagine the --buffersize 8192000 --nosyncacls --subscribe --syncinternaldates commands are optional, but the --host is not.


Remove useless:

--buffersize 8192000 
--port1 993 

Also if host2 needs ssl then replace --port 993 by --ssl2

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .