isync/debian
Theodore Ts'o 0121220339 Optimized isync by not fetching the sizes of messages if they are
unneeded (i.e., if MaxSize is not specified in the config file).

Patch and idea originally from Nicolas Boullis <nboullis@debian.org>,
modified/polished by Theodore Ts'o per comments by Oswald Buddenhagen.
2004-01-12 01:24:47 +00:00
..
patches Optimized isync by not fetching the sizes of messages if they are 2004-01-12 01:24:47 +00:00
po Update Debian files to the debian directory from isync 0.9.1-3. 2004-01-11 06:35:10 +00:00
.cvsignore new stuff 2004-01-11 12:38:07 +00:00
changelog Update changes from debian isync package 0.9.1-4: 2004-01-11 08:08:37 +00:00
compat debian packaging update 2003-03-26 03:33:15 +00:00
config Update Debian files to the debian directory from isync 0.9.1-3. 2004-01-11 06:35:10 +00:00
control Add uploaders field so that Theodore Ts'o can be added as a 2004-01-11 07:41:48 +00:00
copyright Update Debian files to the debian directory from isync 0.9.1-3. 2004-01-11 06:35:10 +00:00
dirs debian packaging update 2003-03-26 03:33:15 +00:00
docs Update Debian files to the debian directory from isync 0.9.1-3. 2004-01-11 06:35:10 +00:00
NEWS Update Debian files to the debian directory from isync 0.9.1-3. 2004-01-11 06:35:10 +00:00
preinst Update Debian files to the debian directory from isync 0.9.1-3. 2004-01-11 06:35:10 +00:00
README.Debian Update Debian files to the debian directory from isync 0.9.1-3. 2004-01-11 06:35:10 +00:00
rules Update changes from debian isync package 0.9.1-4: 2004-01-11 08:08:37 +00:00
templates Update Debian files to the debian directory from isync 0.9.1-3. 2004-01-11 06:35:10 +00:00
watch Update Debian files to the debian directory from isync 0.9.1-3. 2004-01-11 06:35:10 +00:00

A note from isync's web site:

To use this command effectively, you need a mail client that sets the T
(trashed) flag when it deletes a message from a maildir mailbox, instead of
just removing it altogether. Currently, only Mutt 1.3.27 supports this. Without
such a client, isync will refetch the locally deleted messages from the server
since they will never get expunged. Be sure to put

set maildir_trash

in your ~/.muttrc when using Mutt.

isync can be integrated into Mutt fairly easily with a few hooks:

	folder-hook ~A bind index $ <sync-mailbox>
	folder-hook +maildir 'macro index $ "<sync-mailbox>!isync -e maildir\n"'

where maildir is the name of the local mailbox (or its alias). This works well
so long as you are not modifying the IMAP mailbox outside of Mutt. However, if
you are using another mail program simultaneously Mutt will have the wrong idea
of the local mailbox flags and messages will start disappearing from its index
display (don't worry, they are still on disk).