Changes

From SME Server
Jump to navigationJump to search
8 bytes added ,  22:54, 12 October 2008
Line 25: Line 25:  
=== Examples ===
 
=== Examples ===
 
==== Basic Example ====
 
==== Basic Example ====
This example would copy all existing folders from imapuser1@server1 to imapuser2@server2:
+
This example would copy all existing folders from foo@imap.truc.org to bar@imap.trac.org
/usr/bin/imapsync --host1 server1 --user1 imapuser1 --passfile1 /etc/secret1 --host2 server2 --user2 imapuser2 --passfile2 /etc/secret2
+
/usr/bin/imapsync \
 +
  --host1 imap.truc.org --user1 foo --passfile1 /etc/secret1 \
 +
  --host2 imap.trac.org --user2 bar --passfile2 /etc/secret2
    
Bear in mind that you would need to create /etc/secret1 and /etc/secret2 containing the correct passwords for imapuser1 and imapuser2 respectively.
 
Bear in mind that you would need to create /etc/secret1 and /etc/secret2 containing the correct passwords for imapuser1 and imapuser2 respectively.

Navigation menu