
アイスワープサーバーから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 に置き換えます。