[File id has all users, password must be same replace
for i in `cat id`
do
echo $i
#zimbra command to create a user with password 123456
#./zmprov ca $i@host.com
imapsync --buffersize 8192000 --nosyncacls --subscribe --syncinternaldates --host1 hostip
echo "----------------------------"
done
You forgot some arguments,
ReplyDeletehere is a more complete command line:
imapsync --subscribed --subscribe \
--syncinternaldates --host1 127.0.0.1 \
--user1 $i --password1 secret1 \
--host2 192.168.0.1 \
--user2 $i --password2 secret1 \
--authmech1 PLAIN --authmech2 LOGIN
(Gilles LAMIRAL)
thanx
ReplyDelete