1
0
mirror of https://github.com/imapsync/imapsync.git synced 2024-11-17 00:02:29 +01:00
imapsync/TODO

515 lines
17 KiB
Plaintext
Raw Normal View History

2011-03-12 03:44:47 +01:00
#!/bin/cat
2013-04-22 21:50:50 +02:00
# $Id: TODO,v 1.119 2013/04/17 13:04:21 gilles Exp gilles $
2011-03-12 03:44:47 +01:00
2011-03-12 03:43:46 +01:00
TODO file for imapsync
----------------------
2011-03-12 03:43:43 +01:00
2011-03-12 03:44:51 +01:00
Start a wiki for imapsync.
2012-04-17 00:28:48 +02:00
Write a tutorial.
2011-03-12 03:44:51 +01:00
Add a best practice migration tips document.
2011-03-12 03:45:02 +01:00
Write a Mail::imapsync package and use it.
2013-02-09 03:40:54 +01:00
Remove 2.2.9 Mail::IMAPClient support.
2011-03-12 03:44:51 +01:00
Fix the mailing-list archive bug with From at
the beginning of a line
http://www.linux-france.org/prj/imapsync_list/msg00307.html
2011-03-12 03:44:53 +01:00
Evaluate
http://www.rackspace.com/apps/email_hosting/migrations
http://www.yippiemove.com/
2012-04-17 00:28:48 +02:00
http://www.migrationwiz.com/
2012-07-21 04:18:22 +02:00
http://www.microsoft.com/download/en/details.aspx?id=1329 "Microsoft Transporter Suite"
2013-04-22 21:50:50 +02:00
Add an exit value when exiting because of --exitwhenover
The goal is to know easily why to restart later.
2013-02-09 03:40:54 +01:00
Add --delete1 as an alias for --delete
Add --mark-as-deleted1 --mark-as-deleted2 as
aliases for --noexpunge1 --delete1 and --noexpunge2 --delete2
Move --help documentation into the man page so that description is easier to find.
Feature request for ImapSync.
Can you setup an option to make it stop if the destination mailbox reports that it is over quota?
Print the list of messages not copied and why (duplicates or void header)
2012-07-21 04:18:22 +02:00
Fix bug found by Pavel Stano on 01/06/2012 (june) imapsync never stop login
when login fails with a "* BYE Temp error" from server.
2012-04-17 00:28:48 +02:00
Consider /var/tmp/ instead of /tmp (/tmp is destoyed
on some Unix at reboot)
Add a FAQ entry about long path over than 260 character on Win32.
Fix long path over than 260 character on Win32.
Think about Digest::SHA or Digest::SHA::PurePerl.
2012-09-12 03:50:53 +02:00
Think about a file database like DBM instead.
2012-04-17 00:28:48 +02:00
2013-04-22 21:50:50 +02:00
Add OAUTH autentication support
https://developers.google.com/google-apps/gmail/oauth_overview
2011-06-14 13:04:24 +02:00
Find a way to avoid passwords in --debugimap unless needed.
2011-07-11 23:24:12 +02:00
Explain that users can win time/bandwidth by using --expunge
2011-04-24 23:19:36 +02:00
Fix "\Forwarded" flag bug in courier.
Does \lalala can be forbidden (courier does a
"16 NO Error in IMAP command received by server"
with
* OK [PERMANENTFLAGS (\* \Draft \Answered \Flagged \Deleted \Seen)] Limited
2011-09-25 22:31:48 +02:00
Add an option to log both on screen and append to a file.
At least document the tee command solution (Unix and Windows)
2011-04-24 23:19:36 +02:00
2011-03-12 03:45:02 +01:00
Suggestion: it's very difficult to track down messages which are behaving
funny during the sync. It would be great - and presumably easy to code -
to have an option to have imapsync display e.g. the subject of an
e-mail when it gets synced, rather than just the message ID and the date/time.
2011-03-12 03:44:57 +01:00
Add a well described problem for each problem detected
and counted in error counter statistics.
2011-03-12 03:44:53 +01:00
Add sync imap keywords. Sync gmail labels to imap keyword
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=503159
2011-03-12 03:45:01 +01:00
http://www.linux-france.org/prj/imapsync_list/msg00022.html
http://mail.google.com/support/bin/answer.py?hl=en&answer=77657
http://mail.google.com/support/bin/answer.py?answer=78892
2012-04-17 00:34:41 +02:00
Look at larch https://github.com/rgrove/larch/
http://wonko.com/
2011-03-12 03:44:53 +01:00
Add and option to sync to & from files.
2011-03-12 03:44:51 +01:00
Add an --aclregextrans2 flag.
"Today we discovered, that Cyrus and Dovecot use different characters for
their ACLs. Syncing ACLs vom Cyrus to Dovecot (at least 1.2) doesn't
work. Cyrus uses c and d, Dovecot uses k and x instead."
Peer Heinlein.
Add different levels of output to see clearly the
problem by default.
2011-03-12 03:44:48 +01:00
Add more information about skipped messages.
2011-03-12 03:44:47 +01:00
Add Rick Romero patch with
--quiet No output at all
--showstats intended for use with --quiet
2011-03-12 03:44:40 +01:00
2011-03-12 03:44:47 +01:00
Take a look at Mail::IMAPTalk
Simon Bertrang said "way better performance, less problems, easier to use and no
issues so far". Sounds good!
2011-03-12 03:44:39 +01:00
Add an option to implement the faq entry about copying a contact folder.
imapsync doesn't report well. It should says "I had
to sync 123 messages but I could transfer only 99 messages"
2011-03-12 03:44:54 +01:00
Maybe count messages not transfered because they're dupplicate.
2011-03-12 03:44:39 +01:00
2011-03-12 03:44:38 +01:00
Fix bug "not possible to use space in the imap password"
2011-03-12 03:44:37 +01:00
Add kerberos authentification
2011-03-12 03:44:37 +01:00
2011-03-12 03:44:35 +01:00
Add stdin/stdout filter before transfer:
"Now i asked me, how to modify your perl program to work with
that - in example, to write each mail to stdout, pipe that to the
convertion program, and read the result from stdin - and this all before
the mail will transfer to the target imap-server"
2011-03-12 03:44:34 +01:00
Fix bug with folder names starting with an asterisk: *Archiv
Sending: 220 SELECT *Archiv/Support/foobar
Read: 220 BAD Protokollfehler: "Invalid folder specified in SELECT command"
Add automatic convertion or detection when
separator inversion produces an invalid character.
From uw to cyrus, for example :
FoldA/FoldB.ext -> FoldA.FoldB/ext
2011-03-12 03:44:33 +01:00
Compare speed between 1.182 and 1.217
"un mailbox de 90MB, ~2400 fichiers prends 80s avec la version 1.182
vs 250s avec la version 1.217". Marc Jauvin
Add LITERAL+ [RFC 2088] support to imapsync.
2011-03-12 03:44:32 +01:00
Add an entry to
http://lsm.execpc.com/lsm/
See template lsm.imapsync
2011-03-12 03:44:31 +01:00
Add an option to tell imapsync that the domain
is changing and have it replace the domain in all user names that are
related to ACLs.
See patches/imapsync-acls-users
2011-03-12 03:44:30 +01:00
2011-03-12 03:44:29 +01:00
Use examine() instead of select() in --dry mode.
Add a method doing the switch automagicaly.
2011-03-12 03:44:25 +01:00
Add --verbose from Kjetil jumbo patch.
2011-03-12 03:44:17 +01:00
Read the IMAP RFC http://www.faqs.org/rfcs/rfc3501.html
2011-03-12 03:44:15 +01:00
Interface with external software like procmail
2011-03-12 03:44:13 +01:00
Read:
http://www.washington.edu/imap/documentation/commndmt.txt.html
2011-03-12 03:44:09 +01:00
Add cyrus link about INBOX. namespace
http://asg.web.cmu.edu/cyrus/download/imapd/altnamespace.html
2011-03-12 03:44:59 +01:00
===========================================================================
2011-03-12 03:44:54 +01:00
2012-11-27 23:32:36 +01:00
DONE. Add current date at the beginning of the run, useful when imapsync
doesn't finish with statistics.
2012-09-12 03:50:53 +02:00
DONE. Not donse since useless now (--useuid)
Add a --skipheaderinfolder option
DONE. Not fixed since only reported once a long time ago.
Fix this:
> - Erreur avec la traditionnelle diff<66>rence entre Windows
> et Linux sur les retour-chariots : le calcul de la
> longueur du message ou des ent<6E>tes <20> envoyer au serveur
> cible n'est pas bon sur une machine Windows.
> Ci-dessous la modif :
>
> # No NL Count on Windows my $length = ( -s $file ) + $bare_nl_count;
> my $length = ( -s $file );
I wonder if it is Windows or the imap server used.
DONE. No Debian package anymore.
Add debian packaging in the Makefile.
Write to the debian maintener about that.
DONE with --addheader
Add an option to solve syncing Sent folder when no good header
are available:
http://www.linux-france.org/prj/imapsync_list/msg01151.html
http://www.linux-france.org/prj/imapsync_list/msg01158.html
2012-07-21 04:18:22 +02:00
DONE. Add a note about
"One other thing: You might want to warn idiots like me, that if your
cache resides on a filesystem with a limited number of inodes such as
ext4, your inodes will be exhausted really fast (check with df -i). I
now use a dedicated partition with reiserfs."
2012-04-17 00:31:15 +02:00
DONE. Add an option --exitwhenover 2500000000 to avoid to be banned or locked
http://support.google.com/a/bin/answer.py?hl=en&answer=1071518
DONE. Check if a message exists before fetching it (could have been deleted recently)
(Check avoided when UID mode is not available)
DONE. Change default --useheader 'Message-ID' --useheader Date to
--useheader 'Message-ID' --useheader 'Received'
because Exchange changes Date header! (but not Received:)
DONE. Add "output to reflect everything that imapsync was doing".
Not everything but flag synchronization will be nice"
--debugflags does this.
2012-04-17 00:28:48 +02:00
DONE. Add a script to install automaticaly all needed Perl modules
if needed. Not a script but command lines in INSTALL file.
DONE. Post on imapsync mailing-list when a new release comes.
No since I no longer distribute it gratis, imapsync detects
itself a new release and buyers are informed by a specific
list. I know some packagers (FreeBSD) use the Changelog file
to detect an update.
DONE. Subscribe users to imapsync_update mailing-list automatically after the payment.
(done in paypal_send)
DONE. NO became porn! Post on newsgroup comp.mail.imap when a new release comes.
http://groups.google.fr/group/comp.mail.imap
2012-04-17 00:27:13 +02:00
DONE. The --search option allows this (and many other things)
Add option --exclude_messages_with_flag
DONE. (yahoo login is standard now)
Add yahoo imap support:
http://elearningcentral.blogspot.com/2010/07/how-to-use-imapsync-with-yahoo-imap.html
http://www.bwebcentral.com/utils/imapsync-yahoo
See patches/imapsync-yahoo
DONE. Add --subscribe by default.
Subscribe only when needed (not already subscribed).
2012-04-17 00:26:18 +02:00
DONE. Ask Nick Czeczulin why he wrote patent "Method for mailbox migration"
http://www.google.com/patents/about?id=qI_IAAAAEBAJ
2011-07-11 23:24:12 +02:00
DONE. Add --search option allowing to select messages with any IMAP SEARCH command.
2011-06-14 13:02:33 +02:00
DONE. Make --usecache works with --maxage --maxsize etc.
DONE. Fix Exchange 2010 SP1 issue with --foldersizes when
host2 folders don't exist. $imap->exists calls STATUS.
Is it RFC compliant or an Exchange bug?
Exchange quit after 10 errors.
2011-06-14 12:59:46 +02:00
DONE. Make --delete2 works with --useuid
DONE. write a comment to http://blog.migrationwiz.com/2010/12/09/imapsync-vs-migrationwiz/
2011-04-24 23:19:36 +02:00
DONE. Read http://bugs.gentoo.org/show_bug.cgi?id=354831
Nice conversation.
DONE. Look https://fedorahosted.org/released/imapsync/
DONE. Take a look at https://bitbucket.org/imapsync/imapsync
2011-03-12 03:45:04 +01:00
DONE. Explain expunge behavior in help message.
DONE. Add --authmd51 --authmd52 to permit authmd5 by host.
DONE. Write option --delete2foldersonly regex.
Example: to permit a sync in a subfolder with --delete2folder
--regextrans2 's#(.*)#NEW/$1#' --delete2foldersonly /^NEW/
DONE. Write option --delete2foldersnot regex.
Example: to permit a sync but not deleting folder OLD
--delete2foldersnot /^OLD/
DONE. Add cache to speed up transfer. Option --usecache
DONE. There was a time imapsync took the whole message when the
header was bad (empty). But it was bad for speed with big
messages (nowadays there are always big messages in
mailboxes). May be the best is to take a part of the
body. Have to code this.
DONE. Add a --delete2folders option
"When syncing mailboxes with imapsync, is there a way to delete folders in the
target account? The --delete2 option only seems to delete individual
messages, not folders."
DONE. Add NTLM authentification support. Mail-IMAPClient-3.25
support it.
http://cpansearch.perl.org/src/BUZZ/NTLM-1.05/NTLM.pm
http://curl.haxx.se/rfc/ntlm.html
2011-03-12 03:45:02 +01:00
DONE. Evaluate memory consumption with (or better):
print qx{ ps o pid,pcpu,comm,vsz,rss,size $$ }, "\n"
Search memory leaks with
Test-Weaken Test-Memory-Cycle Devel-Cycle Devel-Leak Test-Weaken
sh -x tests.sh ll_bigmail
sh -x tests.sh ll_memory_consumption
are good candidate to stress memory.
No memory leak detected just up to 8 memory copies of the same data
in Mail::IMAPClient.
Wrote ./learn/memory_consumption to show that it is a Mail::IMAPClient issue.
2011-03-12 03:45:01 +01:00
DONE.Be more effiscient with large mailboxes
Write a Mail::IMAPClient::fetch_hash allowing selecting messages to fetch
4 hours estimated time coding. Time spent 4h30 (with public release and emails)
2011-03-12 03:44:59 +01:00
DONE. Bugfix. Duplicate messages on host2 are not deleted with --delete2
Reason: "Skipping msg #120:508 in host2 folder INBOX.2005-INBOX (duplicate so we ignore this message)"
2011-03-12 03:44:54 +01:00
2011-03-12 03:44:59 +01:00
DONE. Ask namespace capability after login (dovecot 2).
It was a bug from library caching CAPABILITY.
2011-03-12 03:44:54 +01:00
DONE. Write a clean_exit() replacing each die() or exit() call.
Wrote exit_clean() and die_clean() to remove pid file.
DONE. Add a --pidfile option.
DONE. Add NOOP commands to avoid timeouts.
Useless since reconnect mode permits timeouts.
2011-03-12 03:44:53 +01:00
DONE. Add --subscribeall option.
Is it possible to have a option that subscribes all folders regardless of
subscription on the source server? Perhaps --subscribeall?
2011-03-12 03:44:50 +01:00
2011-03-12 03:44:53 +01:00
DONE. Add an option to make imapsync automatically
reconnect when the connection drops
2011-03-12 03:44:51 +01:00
2011-03-12 03:44:53 +01:00
DONE. Add Google adsence to imapsync website to see if it can help.
2011-03-12 03:44:51 +01:00
DONE. Be "FLAGS.SILENT" the normal behavior instead of "+FLAGS.SILENT".
DONE. Add TLS support with patches/imapsync-1.217_tls_support.patch
2011-03-12 03:44:50 +01:00
USELESS. Make --skipheader be multiple. Useless since we can
use the or perl regex '^X-|^Date|^From'
USELESS. Add a --tmpfile option.
DONE. Add --justlogin options
to check usernames and passwords.
DONE. Add a --tmpdir option.
2011-03-12 03:44:49 +01:00
DONE. Fix bug "Found that if folders have a space at the end of
the name, it will not create the folder name on the new
server, nor will it copy that folder's email."
Added regression test checking this.
Could not reproduce this bug.
Seems to be a old imapsync bug with 2.2.9
DONE. (contacted Date::Manip maintener) Fix bug with Date::Manip 6.02
2011-03-12 03:44:47 +01:00
DONE. Explain howto change only the header with --regexmess
2011-03-12 03:44:40 +01:00
2011-03-12 03:44:47 +01:00
DONE.
Change IsUnconnected behavior. If IsUnconnected then print
stats and die. Avoid logout.
DONE. Remove --password "secret" in outpout.
DONE. Make "--delete 2" be a fatal error.
DONE.
Write to zimbra coders about the date presentation:
Sorting by default by internal date is bad with migrations
and delayed arrivals. An user option would be good.
DONE.
Add failure return code in case of
last FOLDER if $from->IsUnconnected();
last FOLDER if $to->IsUnconnected();
See Phil Lobbes messages (18 Sep 2008)
Subject: BUG: imapsync may silently disconnect leading to unmigrated data without warnings
2011-03-12 03:44:40 +01:00
2011-03-12 03:44:47 +01:00
DONE. Fix bad english language.
2011-03-12 03:44:40 +01:00
2011-03-12 03:44:43 +01:00
DONE. Add a better test to check non existing folders on destination
server. (status and select are bad).
2011-03-12 03:44:40 +01:00
DONE. Fix the buggy --include behavior with no --folder --folderrec or --subscribed.
DONE. Update the distribution list including imapsync in the
INSTALL chapter. Also in README.
DONE. Start FAQ entries about good options with such imap server.
DONE. Talk about mbox and maildir format when "Invalid header"
problem is encountered. (See FAQ "Invalid header")
DONE. Look at http://barnson.org/node/81
An old blog about imap migration.
DONE. Normally, "no header used or found" means imapsync found a message
with no header. It may be a bad message with really no header
or it may be a imap server problem, the server gives no header
for this message. In that case imapsync gets the whole message
to see if there is the same on the other side. It slows the transfer
of course. I think I'll change imapsync behavior and let it
give up those bad messages missing an header.
DONE. Make --syncinternaldates turn on by default
DONE. Check imapsync with gmail (dates problem?).
DONE. Start an imap internet scan project.
DONE. Fix --ssl --justconnect bug
DONE. Fix --ssl needs --authmech login with gmail. Why?
2011-03-12 03:44:31 +01:00
DONE. Try a 50Mo message transfer (slow ?)
fast !
2011-03-12 03:44:30 +01:00
DONE. Add my amazon wishlist link.
2011-03-12 03:44:29 +01:00
DONE. Remove file rfc2342.txt "IMAP4 Namespace"
2011-03-12 03:44:25 +01:00
DONE. Add an --exactsync option to remove target messages
that are not on source. Maybe --delete2 is a better name.
2011-03-12 03:44:24 +01:00
DONE. Fix the "word too large" or "Command line too long"
bug with some imap servers.
2011-03-12 03:44:23 +01:00
DONE. Add features from Herman (patch against 1.139 and
again with 1.156 by Kjetil Torgrim Homme)
- Support for authenticating as different (admin) user
- Support for different auth mechanisms (we needed PLAIN)
2011-03-12 03:44:22 +01:00
DONE. Make --include --exclude options possibly be a list.
DONE. Look at http://freshmeat.net/projects/freshmeat-submit/
2011-03-12 03:44:21 +01:00
DONE in FAQ.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 "
DONE. Create a imapsync mailing list.
May be I won't since we can use comp.mail.imap
http://groups.google.fr/group/comp.mail.imap
to talk about imapsync
DONE. Add a --recurse option when --folder option is used.
No I won't since this feature can be done by doing a
--include '^INBOX.MyFolder'
2011-03-12 03:44:30 +01:00
Yes done with --folderrec
2011-03-12 03:43:56 +01:00
2011-03-12 03:44:21 +01:00
Done. Look at comp.mail.imap http://groups.google.fr/groups?q=imapsync
In fact I set up an google alert on imapsync so I read
any posted question about imapsync posted to any group
followed by google.
2011-03-12 03:43:50 +01:00
2011-03-12 03:44:20 +01:00
DONE. Add usage about --regextrans2
To remove INBOX. in the name of destination folders:
--regextrans2 's/^INBOX\.(.+)/$1/'
To sync a complete account in a subfolder called FOO:
--regextrans2 's/^INBOX(.*)/INBOX.FOO$1/'
DONE. Make the --justconnect a real "just connect" connection,
not a auth connection like it is now.
2011-03-12 03:44:19 +01:00
DONE. Add --prefix1 option. Don't know what is the need exactly.
The need is to remove this prefix when building target folder names.
2011-03-12 03:44:17 +01:00
2011-03-12 03:44:19 +01:00
DONE. Read the IMAP RFC http://www.rfc-editor.org/rfc/rfc2342.txt
Respect the NAMESPACE behavior like the RFC.
2011-03-12 03:44:17 +01:00
DONE. Add in doc: Does imapsync support IMAP over TLS (IMAPS)?
DONE. Add the licence of each IMAP software (the free ones).
DONE. Add MailEnable version 1.54 if
Javier Gomez succeed. He failed.
MailEnable is an early stage developpment IMAP server.
2011-03-12 03:44:15 +01:00
DONE. Update doc with ALL options.
DONE. Think about speed.
2011-03-12 03:43:50 +01:00
DONE. Pb if "to separator" is in "from folder" name.
2011-03-12 03:43:48 +01:00
Have to choose a caracter != to separator and
2011-03-12 03:43:49 +01:00
not in from folders. The solution can be to
2011-03-12 03:43:50 +01:00
just exchange the two separator caracters.
2011-03-12 03:43:49 +01:00
2011-03-12 03:43:50 +01:00
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
2011-03-12 03:43:49 +01:00
DONE. Add a --subscribe option to subscribe folders on the
destination server.
2011-03-12 03:43:48 +01:00
2011-03-12 03:43:49 +01:00
DONE. Add a --subscribed option to transfert only subscribed
folder on the source server.
2011-03-12 03:43:48 +01:00
DONE. Add a CREDITS file.
DONE. Pb with namespace INBOX. Some IMAP servers
don't have this CAPABILITY
2011-03-12 03:43:47 +01:00
http://www.inter7.com/courierimap/FAQ.html#namespace
http://www.rfc-editor.org/rfc/rfc2342.txt
2011-03-12 03:43:48 +01:00
DONE. Pb with date
2011-03-12 03:43:47 +01:00
2011-03-12 03:43:48 +01:00
DONE. Pb with \Recent flag
2011-03-12 03:43:47 +01:00
2011-03-12 03:43:48 +01:00
DONE. Add the list of tested IMAP servers (successes and failures).