Theodore Ts'o 50aa8dfc96 Update changes from debian isync package 0.9.1-4: 21 vuotta sitten
..
patches 016d6d64e6 Add code patches that were present in isync-0.9.1-3 via the dpatch 21 vuotta sitten
po 0dc9106dfa Update Debian files to the debian directory from isync 0.9.1-3. 21 vuotta sitten
.cvsignore d850150719 - ssht! 22 vuotta sitten
Makefile.am 2cde99958b minors 22 vuotta sitten
NEWS 0dc9106dfa Update Debian files to the debian directory from isync 0.9.1-3. 21 vuotta sitten
README.Debian 0dc9106dfa Update Debian files to the debian directory from isync 0.9.1-3. 21 vuotta sitten
changelog 50aa8dfc96 Update changes from debian isync package 0.9.1-4: 21 vuotta sitten
compat b3838ade09 debian packaging update 22 vuotta sitten
config 0dc9106dfa Update Debian files to the debian directory from isync 0.9.1-3. 21 vuotta sitten
control 4d5a957e20 Add uploaders field so that Theodore Ts'o can be added as a 21 vuotta sitten
copyright 0dc9106dfa Update Debian files to the debian directory from isync 0.9.1-3. 21 vuotta sitten
dirs b3838ade09 debian packaging update 22 vuotta sitten
docs 0dc9106dfa Update Debian files to the debian directory from isync 0.9.1-3. 21 vuotta sitten
preinst 0dc9106dfa Update Debian files to the debian directory from isync 0.9.1-3. 21 vuotta sitten
rules 50aa8dfc96 Update changes from debian isync package 0.9.1-4: 21 vuotta sitten
templates 0dc9106dfa Update Debian files to the debian directory from isync 0.9.1-3. 21 vuotta sitten
watch 0dc9106dfa Update Debian files to the debian directory from isync 0.9.1-3. 21 vuotta sitten

README.Debian

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 $
folder-hook +maildir 'macro index $ "!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).