TODO file for imapsync
----------------------

Update doc with ALL options.

Add in doc:
> The problem seems to be that one of the imap servers (the destination
> one) only supports connections over TLS, and refuses logins via plain tcp.
> Does imapsync support IMAP over TLS (IMAPS)?

Not natively. 
but, 2 ways, at least :

a) There are patches in patches/ directory to do this 
   in imapsync code.
   I tried to include them but it broke my tests.
   It works but not always.

b) Use stunnel
   http://www.stunnel.org/
   Assuming there is an imaps (993) server on imap.foo.org,
   on your localhost machine (or bar machine) run :
       stunnel -c -d imap -r imap.foo.org:imaps
   or
       stunnel -c -d 143 -r imap.foo.org:993
   then use imapsync on localhost (or bar machine) imap (143) port.
   

Read:
http://www.washington.edu/imap/documentation/commndmt.txt.html

Talk about :
"I think notes is right but MS Eudora is bad with dates.
(netscape or thunderbird is ok with dates)
use the option --syncinternaldates "


Add usage about --regextrans2
To remove INBOX. in the name of destination folders :
--regextrans2 's/^INBOX\.(.+)/$1/'

Add cyrus link about INBOX. namespace
http://asg.web.cmu.edu/cyrus/download/imapd/altnamespace.html

Look at http://freshmeat.net/projects/freshmeat-submit/
Look at comp.mail.imap http://groups.google.fr/groups?q=imapsync


Think about speed.

Explain expunge behavior

Add a --recurse option when --folder option is used.

Add --prefix1 option. Don't know what is the need exactly.

DONE. Pb if "to separator" is in "from folder" name.
Have to choose a caracter != to separator and
not in from folders. The solution can be to
just exchange the two separator caracters.

DONE. Look at the separator() function in Mail::IMAPClient

DONE. Add SASL support MD5 : DIGEST-MD5 and CRAM-MD5
see authenticate in IMAPClient.pm
Test the new Mail::IMAPClient (2.1.4 -> 2.2.6 or sup)
userdbpw -hmac-md5 | userdb userdb set hmac-md5pw
http://www.inter7.com/courierimap/INSTALL.html


DONE. Add a --subscribe option to subscribe folders on the
      destination server.

DONE. Add a --subscribed option to transfert only subscribed
      folder on the source server.

DONE. Add a CREDITS file.

DONE. Pb with namespace INBOX. Some IMAP servers 
don't have this CAPABILITY
http://www.inter7.com/courierimap/FAQ.html#namespace
http://www.rfc-editor.org/rfc/rfc2342.txt

DONE. Pb with date

DONE. Pb with \Recent flag

DONE. Add the list of tested IMAP servers (successes and failures).


