hi,

Gilles Lamiral schrieb:

> I have some experience with imapsync.

a very great tool. I used it also to migrate my users. I never tried it,
but I think you can do the job with something like "while read ..." do ...

cat users.txt:

user1:password1
user2:password2
user3:password3

---

#!/bin/bash
 IFS=:
  cat /root/users.txt | while read username password
  do
     imapsync --host1 old-server.foo --user1 $username --password1
$password --host2 new-server.foo --user2 $username --password2 $password
--noauthmd5
  done

---

not tested. But a good hint, i mean ;-)

-- 
Stoppt den Überwachungswahn - Stoppt den Schäuble Katalog:
http://www.nopsis.de

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to