
我嘗試將電子郵件從 Ice Warp 伺服器遷移到 zimbra,並使用 imapsync。使用以下命令我收到錯誤訊息
--host1 option must be used, run /usr/bin/imapsync --help for help
我嘗試運行的命令
imapsync \ --buffersize 8192000 --nosyncacls --subscribe --syncinternaldates \ --host1 myip1--user1 myuser --password1 mypassword --ssl1 --port1 993 \ --host2 myip --user2 myuser --password2 mypassword --ssl1 --port2 993
答案1
\
從命令中刪除,我想這些--buffersize 8192000 --nosyncacls --subscribe --syncinternaldates
命令是可選的,但--host
不是。
答案2
刪除無用的:
--buffersize 8192000
--nosyncacls
--syncinternaldates
--port1 993
另外,如果 host2 需要 ssl,則將 --port 993 替換為 --ssl2