mirror of
https://github.com/imapsync/imapsync.git
synced 2025-06-07 21:25:23 +02:00
1.678
This commit is contained in:
parent
c16227350f
commit
629adbb8db
113 changed files with 7581 additions and 43297 deletions
|
@ -1,9 +1,12 @@
|
|||
#!/bin/sh
|
||||
# $Id: imapsync_example.sh,v 1.3 2015/03/26 04:35:02 gilles Exp gilles $
|
||||
# $Id: imapsync_example.sh,v 1.6 2016/01/21 03:35:15 gilles Exp gilles $
|
||||
|
||||
# imapsync example shell for Unix users
|
||||
# lines beginning with # are just comments
|
||||
|
||||
# See http://imapsync.lamiral.info/#doc
|
||||
# for more details on how to use imapsync.
|
||||
|
||||
# Replace below the 6 parameters
|
||||
# "test1.lamiral.info" "test1" "secret1" "test2.lamiral.info" "test2" "secret2"
|
||||
# with your own values
|
||||
|
@ -21,7 +24,25 @@
|
|||
# "this command continues on the next line". You can add other lines
|
||||
# but don't forget \ character lasting each line, except the last one.
|
||||
|
||||
# Three other options are in this example because they are good to start with
|
||||
#
|
||||
# --dry makes imapsync doing nothing, just print what would be done without --dry.
|
||||
#
|
||||
# --justfolders does only things about folders (ignore messages). It is good
|
||||
# to verify the folder mapping is good for you.
|
||||
#
|
||||
# --automap guesses folders mapping, for folders like
|
||||
# "Sent", "Junk", "Drafts", "All", "Archive", "Flagged".
|
||||
#
|
||||
# I suggest to start with --automap --justfolders --dry.
|
||||
# If the folder mapping is not good then add some --f1f2 fold1=fold2
|
||||
# to fix it.
|
||||
# Then remove --dry and have a run to create folders on host2.
|
||||
# If everything goes well so far then remove --justfolders to
|
||||
# start syncing messages.
|
||||
|
||||
./imapsync --host1 test1.lamiral.info --user1 test1 --password1 'secret1' \
|
||||
--host2 test2.lamiral.info --user2 test2 --password2 'secret2'
|
||||
--host2 test2.lamiral.info --user2 test2 --password2 'secret2' \
|
||||
--automap --justfolders --dry "$@"
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue