Fork of isync with filter support
Go to file
Michael Elkins 7cd74a1179 Bunch 'o patches from Oswald Buddenhagen:
i implemented some cool stuff (tm).
first, the long missing "create server-side missing mailboxes". -C now
creates both local and remote boxes; -L and -R create only local/remote.
second, i implemented a 1:1 remote:local folder mapping (-1) with an
optional INBOX exception (inbox/-I). the remote folder is specified with
the folder keyword (or -F switch) and takes precedence over the
namespace setting. the local directory with the mailboxes can now be
specified on the command line, too (-M).

another patch:
- made the -1 switch settable permanently (OneToOne). after all, you
  usually define your mailbox layout once forever. removed -A, as it is
  semantically -a modified by -1.
- cleaned up message output a bit. still, the quiet variable should be
  used throughout the program. at best, create some generic output
  function, which obeys a global verbosity level variable.
- optimized + cleaned up configuration parser slightly
- minor cleanups

add an (almost) unique id to every uploaded message and search for it
right after. i thought about using the message-id, but a) it is not
guaranteed to be unique in a mailbox (imagine you edit a mail and store
the dupe in the same box) and b) some mails (e.g., postponed) don't even
have one. a downside of the current implementation is, that this
id-header remains in the mailbox, but given that it wastes only 27 bytes
per mail and removing it would mean several roundtrips more, this seems
acceptable.
i changed the line-counting loop to use a mmapped file instead of
reading it in chunks, as it makes things simpler and is probably even
faster for big mails.
the amount of goto statements in my code may be scary, but c is simply
lacking a multi-level break statement. :)

this is the "shut up" patch. :) it makes the -q option consequent, so to
say.
additionally it adds an -l option which gathers all defined/found
mailboxes and just outputs the list. don't ask what i need it for. ;)
2002-10-30 02:23:05 +00:00
debian Debian package cleanups from Oswald Buddenhagen <ossi@kde.org> 2002-06-19 00:44:40 +00:00
.cvsignore Bunch 'o patches from Oswald Buddenhagen: 2002-10-30 02:23:05 +00:00
AUTHORS fixed unused var warning in imap_open() 2002-06-19 01:11:36 +00:00
autogen.sh Patch from Oswald Buddenhagen <ossi@kde.org> 2002-06-22 01:21:43 +00:00
ChangeLog post 0.8 release commit 2002-01-28 19:39:57 +00:00
config.c Bunch 'o patches from Oswald Buddenhagen: 2002-10-30 02:23:05 +00:00
configure.in Fixed to compile under FreeBSD 4.6-RELEASE. Must include ndbm.h rather than 2002-06-21 00:26:26 +00:00
COPYING added missing files 2000-12-20 22:00:25 +00:00
cram.c updated year in copyright notice 2002-01-16 19:47:28 +00:00
dotlock.c fixed errors introduced by ME when hand-applying Oswald Nuddenhagen's 2002-06-22 17:06:24 +00:00
dotlock.h remove debian/files 2002-06-20 23:33:13 +00:00
imap.c Bunch 'o patches from Oswald Buddenhagen: 2002-10-30 02:23:05 +00:00
isync.1 Bunch 'o patches from Oswald Buddenhagen: 2002-10-30 02:23:05 +00:00
isync.h Bunch 'o patches from Oswald Buddenhagen: 2002-10-30 02:23:05 +00:00
isync.spec.in post 0.8 release commit 2002-01-28 19:39:57 +00:00
isyncrc.sample PREAUTH support from Oswald Buddenhagen <ossi@kde.org> 2002-04-19 19:43:00 +00:00
list.c updated year in copyright notice 2002-01-16 19:47:28 +00:00
maildir.c Bunch 'o patches from Oswald Buddenhagen: 2002-10-30 02:23:05 +00:00
main.c Bunch 'o patches from Oswald Buddenhagen: 2002-10-30 02:23:05 +00:00
Makefile.am remove debian/files 2002-06-20 23:33:13 +00:00
NEWS remove tilde backup files for distclean 2002-01-16 22:23:26 +00:00
README updated URL for project 2002-06-18 06:37:55 +00:00
sync.c Bunch 'o patches from Oswald Buddenhagen: 2002-10-30 02:23:05 +00:00
TODO check for dbm_open() in libc and libdb 2002-01-28 19:34:22 +00:00

 _                      
(_)___ _   _ _ __   ___ 
| / __| | | | '_ \ / __|
| \__ \ |_| | | | | (__ 
|_|___/\__, |_| |_|\___|
       |___/            
isync - IMAP4 to maildir mailbox synchronization program
http://www.cs.hmc.edu/~me/isync/

Author: Michael Elkins <me@mutt.org>

``isync'' is a command line application which synchronizes a local
maildir-style mailbox with a remote IMAP4 mailbox, suitable for use in
IMAP-disconnected mode.  Multiple copies of the remote IMAP4 mailbox can be
maintained, and all flags are synchronized.

* Features:

	* Fast mode for fetching new mail only
	* Supports imaps: (port 993) TLS/SSL connections
	* Supports STARTTLS (RFC2595) for confidentiality
	* Supports NAMESPACE (RFC2342)
	* Supports CRAM-MD5 (RFC2095) for authentication

* Compatibility

	``isync'' has been tested with the following IMAP servers:

	* Microsoft Exchange 2000 IMAP4rev1 server version 6.0.4417.0
	* Courier-IMAP 1.2.3
	* WU-IMAP 2000
	* Domino IMAP4 Server Release 5.0.8

* Platforms

	``isync'' has successfully be compiled under:

	* Linux 2.2.18
	* Solaris 2.7
	* OpenBSD 2.8
	* FreeBSD 4.3

* Requirements

	OpenSSL for TLS/SSL support (optional)

* INSTALLING

	./configure
	make install

* HELP

	Please see the man page for complete documentation.