compile and run!
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

1637 lines
41 KiB

2008-02-23 10:38 Oswald Buddenhagen <ossi@users.sf.net>
* src/compat/config.c:
backport: quote user name in generated config.
2008-02-23 10:22 Oswald Buddenhagen <ossi@users.sf.net>
* src/main.c:
backport: don't overlook 2nd and later single-letter options in last
argument.
2008-02-23 10:03 Oswald Buddenhagen <ossi@users.sf.net>
* src/: drv_maildir.c, mdconvert.c, compat/convert.c:
backport: put pointers to bdb open() into parentheses, so they won't be
macro-expanded as libc open.
2007-09-22 10:49 Oswald Buddenhagen <ossi@users.sf.net>
* src/drv_imap.c:
backport: don't use #ifdef inside htons() arguments - it can be a macro.
2007-04-04 19:55 Oswald Buddenhagen <ossi@users.sf.net>
* src/sync.c:
avoid crash in case of a rather weird (==misconfigured?) sync state
location.
2007-04-04 15:27 Oswald Buddenhagen <ossi@users.sf.net>
* src/drv_imap.c:
accept empty SEARCH IMAP responses - reasonable servers omit them
alltogether, but this is allowed, too. patch by
CCMAIL: Alexander Gerasiov <gq@cs.msu.su>
fixes debian bug #413336
fixed in HEAD a year ago - accidentally ...
2007-02-10 16:41 Oswald Buddenhagen <ossi@users.sf.net>
* src/drv_imap.c:
backport: fix crash due to uninited var when parsing IMAPServer.
-REF: <E1HFuIM-00041h-Nn@sc8-pr-cvs2.sourceforge.net>
2006-11-18 14:17 Oswald Buddenhagen <ossi@users.sf.net>
* src/drv_maildir.c:
backport: reverse-map <Inbox> to INBOX when encountered during listing.
2006-11-09 19:01 Oswald Buddenhagen <ossi@users.sf.net>
* src/compat/main.c:
backport: make compat wrapper default to current user for imap login
2006-11-03 14:05 Oswald Buddenhagen <ossi@users.sf.net>
* Makefile.am:
add target for creating signed package
2006-11-01 08:19 Oswald Buddenhagen <ossi@users.sf.net>
* src/: drv_imap.c, mbsync.1:
backport:
- un-document "Host imaps:[...]" syntax and introduce new option UseIMAPS
instead
- apply ted's patch to support UseIMAPS in conjunction with Tunnel
- document that SSLv2 is No Good (TM)
2006-11-01 08:14 Oswald Buddenhagen <ossi@users.sf.net>
* src/drv_imap.c:
backport: move assigning default port to the place of use
2006-11-01 07:33 Oswald Buddenhagen <ossi@users.sf.net>
* configure.in:
bump version
2006-11-01 07:20 Oswald Buddenhagen <ossi@users.sf.net>
* src/compat/config.c:
backport: put INBOX in Maildir
2006-10-24 19:39 Oswald Buddenhagen <ossi@users.sf.net>
* src/drv_maildir.c:
backport: don't crash on truncating db
2006-07-31 07:31 Oswald Buddenhagen <ossi@users.sf.net>
* src/drv_maildir.c:
another attempt at working around glibc breakage.
2006-07-29 13:52 Oswald Buddenhagen <ossi@users.sf.net>
* src/: drv_maildir.c, mdconvert.c:
work around glibc bug: printf("%.*s", INT_MAX, s) tries to allocate 2G.
2006-03-19 11:44 Oswald Buddenhagen <ossi@users.sf.net>
* src/drv_imap.c:
make config parsing more robust against bogus input and report errors
more clearly.
2006-01-31 16:45 Oswald Buddenhagen <ossi@users.sf.net>
* configure.in:
bump version
2006-01-31 16:21 Oswald Buddenhagen <ossi@users.sf.net>
* Makefile.am:
backport: deal with branches in "make log"
2006-01-31 16:17 Oswald Buddenhagen <ossi@users.sf.net>
* src/compat/main.c:
backport: fix 'isync -w' writing .mbsyncrc to a wrong directory
2006-01-31 16:16 Oswald Buddenhagen <ossi@users.sf.net>
* src/sync.c:
backport: less confusing uid ranges in debug
2006-01-31 16:15 Oswald Buddenhagen <ossi@users.sf.net>
* configure.in, src/drv_imap.c:
backport: compile fixes
2006-01-31 16:12 Oswald Buddenhagen <ossi@users.sf.net>
* src/sync.c:
backport:
- sanitize flag handling of expired messages
- don't record we synced flags if we didn't
- remove now superfluous temporary rflags
2006-01-31 15:25 Oswald Buddenhagen <ossi@users.sf.net>
* src/util.c:
backport: flush debug output
2005-12-22 15:59 Oswald Buddenhagen <ossi@users.sf.net>
* src/sync.c:
fix sync entries not being purged due to c&p error.
2005-12-21 14:04 Oswald Buddenhagen <ossi@users.sf.net>
* src/drv_maildir.c:
less confusing error message on invalid mailbox.
2005-12-18 15:10 Oswald Buddenhagen <ossi@users.sf.net>
* src/config.c:
it's beyond me what this memset was supposed to do ...
2005-12-18 14:41 Oswald Buddenhagen <ossi@users.sf.net>
* src/: config.c, main.c:
trailing whitespace
2005-12-17 14:47 Oswald Buddenhagen <ossi@users.sf.net>
* src/drv_imap.c:
revert 1.8 - what was i smoking?! the CREATE argument is already quoted;
we just extracted it from the previous command.
2005-09-29 23:07 Oswald Buddenhagen <ossi@users.sf.net>
* src/drv_maildir.c:
make flag changes unset "new" status - unless a ghost is acting in the
background, a flag change indicates that the message was at least
noticed.
2005-09-29 23:05 Oswald Buddenhagen <ossi@users.sf.net>
* src/sync.c:
don't call the driver's set_flags() if the flags did not change at all.
2005-09-21 18:14 Oswald Buddenhagen <ossi@users.sf.net>
* src/drv_imap.c:
64-bit cleanness
2005-03-28 12:43 Oswald Buddenhagen <ossi@users.sf.net>
* src/drv_imap.c:
quote CREATE argument
2005-03-28 12:26 Oswald Buddenhagen <ossi@users.sf.net>
* configure.in:
bump version
2005-03-28 12:26 Oswald Buddenhagen <ossi@users.sf.net>
* src/drv_maildir.c:
fix inverted condition leading to endless loop when message is changed
while isync is running.
2004-11-13 10:19 Oswald Buddenhagen <ossi@users.sf.net>
* src/sync.c:
cope with out-of-disk-space halfways gracefully (that is, don't clobber
the sync state including the journal, but exit immediately).
2004-10-17 18:31 Oswald Buddenhagen <ossi@users.sf.net>
* AUTHORS:
sf.net -> sourceforge.net. otherwise the list-post is different from the
actual address, which makes mutt add two to addresses on list-reply ...
2004-10-17 17:34 Oswald Buddenhagen <ossi@users.sf.net>
* src/drv_imap.c:
ignore user-defined flags (for now).
also, split off the backslash from the "core" flag names.
2004-10-17 11:00 Oswald Buddenhagen <ossi@users.sf.net>
* src/drv_imap.c:
fix segfault due to wrong pointer being passed to parse_response_code.
inspired by Raimar D<EFBFBD>ffinger
2004-10-17 10:30 Oswald Buddenhagen <ossi@users.sf.net>
* src/drv_imap.c:
remove spurious crlf during cram auth. not sure that this instance of
socket_write should be (re)moved, but as long as the .cont callback is
used only for this ...
investigation & patch by Mike Delaney.
2004-09-24 10:45 Oswald Buddenhagen <ossi@users.sf.net>
* Makefile.am:
install supplementary doc files.
REF: 38C5E3CF30C73C4984F41AE8786C852AB739@khyron.ads.cs.umass.edu
2004-09-20 13:31 Oswald Buddenhagen <ossi@users.sf.net>
* src/drv_maildir.c:
use legacy flock() only on linux. at least on OS X flock aliases to
fcntl.
2004-09-20 13:28 Oswald Buddenhagen <ossi@users.sf.net>
* src/: drv_imap.c, isync.h, util.c, compat/main.c:
stdarg.h at the right places
2004-09-15 11:33 Oswald Buddenhagen <ossi@users.sf.net>
* README:
update c-client compatibility
2004-09-15 11:06 Oswald Buddenhagen <ossi@users.sf.net>
* src/drv_maildir.c:
when storing \seen messages, don't set the \recent flag on them. could
well be that this is incorrect, but some mailers need it that way.
when trashing messages, preserve their \recent status as well.
2004-09-15 10:44 Oswald Buddenhagen <ossi@users.sf.net>
* configure.in:
whoops, wrong define
2004-09-08 18:40 Oswald Buddenhagen <ossi@users.sf.net>
* configure.in:
don't encode maturity in version number
2004-09-08 18:38 Oswald Buddenhagen <ossi@users.sf.net>
* Makefile.am:
optimize rpms for i686
2004-09-08 18:28 Oswald Buddenhagen <ossi@users.sf.net>
* configure.in:
sanitize the OpenSSL detection
2004-09-08 18:14 Oswald Buddenhagen <ossi@users.sf.net>
* src/drv_imap.c:
stddef.h for offsetof
2004-09-08 16:52 Oswald Buddenhagen <ossi@users.sf.net>
* src/drv_maildir.c:
first check _both_ bounds, then compare ...
2004-09-07 13:59 Oswald Buddenhagen <ossi@users.sf.net>
* src/sync.c:
print name of mailbox being opened.
2004-08-13 13:03 Oswald Buddenhagen <ossi@users.sf.net>
* src/drv_imap.c:
fix -C for imap mailboxes:
- SELECT does not return [TRYCREATE]
- fix bit field truncation
2004-06-17 15:44 Oswald Buddenhagen <ossi@users.sf.net>
* configure.in:
A{C,S}_HELP_STRING aliasing tricks.
2004-05-23 18:39 Oswald Buddenhagen <ossi@users.sf.net>
* src/drv_maildir.c:
store new UIDVALIDITY immediately after initializing it
2004-04-27 22:23 Oswald Buddenhagen <ossi@users.sf.net>
* src/compat/main.c:
old -l is new -l -C
2004-04-26 16:48 Oswald Buddenhagen <ossi@users.sf.net>
* src/compat/: config.c, isync.h, main.c:
full support for absolute paths in Mailboxes
2004-04-26 16:09 Oswald Buddenhagen <ossi@users.sf.net>
* src/compat/config.c:
strip $HOME and ~ from Mailbox paths
2004-03-30 00:32 Oswald Buddenhagen <ossi@users.sf.net>
* src/: util.c, compat/util.c:
fix return values of asprintf replacement.
2004-03-29 08:52 Oswald Buddenhagen <ossi@users.sf.net>
* src/compat/: config.c, isync.1, isync.h, main.c:
unscrew --delete by merging it into the config file. merge --expunge as
well for symmetry.
2004-03-27 17:07 Oswald Buddenhagen <ossi@users.sf.net>
* .cvsignore, Makefile.am, README, configure.in, isync.1,
isync.spec.in, isyncrc.sample, src/.cvsignore, src/Makefile.am,
src/config.c, src/cram.c, src/dotlock.c, src/dotlock.h,
src/drv_imap.c, src/drv_maildir.c, src/imap.c, src/isync.h,
src/list.c, src/maildir.c, src/main.c, src/mbsync.1,
src/mbsyncrc.sample, src/mdconvert.1, src/mdconvert.c,
src/sync.c, src/util.c, src/compat/.cvsignore,
src/compat/Makefile.am, src/compat/config.c,
src/compat/convert.c, src/compat/isync.1, src/compat/isync.h,
src/compat/isyncrc.sample, src/compat/main.c, src/compat/util.c:
The Big Rewrite. too many change to list them all.
as opposed to earlier threats, BerkDB was not entirely dropped; i
suppose the isync 0.7 -> 0.8 change had a reason, so i added an
alternative UID storage scheme.
note that BDB 4.0 is not sufficient, as the db->open function changed in
an incompatible way ...
i updated the debian packaging except for a changelog entry.
note that i removed the upgrade blurb, as upstream now has a smooth
upgrade path down to at least isync 0.4.
2004-03-26 17:34 Oswald Buddenhagen <ossi@users.sf.net>
* get-cert:
excessively secure temp file creation.
more user friendliness.
2004-02-07 16:36 Oswald Buddenhagen <ossi@users.sf.net>
* src/dotlock.c:
portability: don't rely on struct flock layout
2004-02-01 17:44 Oswald Buddenhagen <ossi@users.sf.net>
* .cvsignore:
shht
2004-02-01 17:27 Oswald Buddenhagen <ossi@users.sf.net>
* src/: main.c, sync.c:
once again: (slightly) better output.
make maildir flag setting failure non-fatal. maildir sucks ...
2004-01-31 02:01 Oswald Buddenhagen <ossi@users.sf.net>
* src/: imap.c, isync.h:
more sophisticated CAPABILITY handling. also, don't issue the command if
the initial response already had it in the status code.
2004-01-31 00:39 Oswald Buddenhagen <ossi@users.sf.net>
* src/imap.c:
don't ask for NAMESPACE if Folder was specified
2004-01-31 00:35 Oswald Buddenhagen <ossi@users.sf.net>
* src/: imap.c, isync.h:
following the "screw murphy" principle and commiting untested patch:
obey LOGINDISABLED
2004-01-27 22:01 Oswald Buddenhagen <ossi@users.sf.net>
* src/imap.c:
PREAUTH cannot come out of the blue
2004-01-27 21:58 Oswald Buddenhagen <ossi@users.sf.net>
* src/imap.c:
cleanup around parse_fetch
2004-01-27 21:50 Oswald Buddenhagen <ossi@users.sf.net>
* src/: imap.c, isync.h, main.c:
make Tag int, move it to imap.c
2004-01-27 01:11 Nicolas Boullis <nboullis@users.sf.net>
* acinclude.m4, configure.in:
Add a --disable-maintainer-mode option to configure.
2004-01-20 02:55 Oswald Buddenhagen <ossi@users.sf.net>
* src/imap.c:
don't use STARTTLS for PREAUTH connections. uw-imap doesn't seem to like
it, and it does not make too much sense anyway - i think - state converse
opinions now.
2004-01-20 02:27 Oswald Buddenhagen <ossi@users.sf.net>
* Makefile.am:
exclude ChangeLog (do'h), NEWS and TODO when creating ChangeLog. exclude
debian/ as well, based on the fact that it already has a detailed log -
is that ok with everybody?
2004-01-18 03:22 Oswald Buddenhagen <ossi@users.sf.net>
* isync.1, src/imap.c, src/isync.h, src/maildir.c, src/main.c,
src/sync.c:
another message output cleanup, still not perfect (info messages will be
interleaved with progress dots).
support specifying -q twice to suppress warnings as well.
2004-01-17 12:38 Oswald Buddenhagen <ossi@users.sf.net>
* isync.1:
document mua interaction
2004-01-16 11:11 Oswald Buddenhagen <ossi@users.sf.net>
* AUTHORS:
credit where credit is due. are the comments satisfactory for everybody?
2004-01-15 04:51 Theodore Ts'o <tytso@users.sf.net>
* get-cert:
Script that can be used to extract the server's certificate from an IMAP
server.
2004-01-15 03:23 Oswald Buddenhagen <ossi@users.sf.net>
* configure.in:
remove useless define and more verbose error message.
2004-01-13 04:56 Theodore Ts'o <tytso@users.sf.net>
* configure.in:
Use a more sophisticated test for the existence of libdb that works for
berk_db 4.0.
2004-01-12 02:49 Oswald Buddenhagen <ossi@users.sf.net>
* configure.in:
bah, forgot to remove debian/Makefile.in from AC_OUTPUT. :}
kde's overly sophisticated build system does that automatically ...
2004-01-12 02:24 Theodore Ts'o <tytso@users.sf.net>
* src/: imap.c, isync.h, main.c:
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:52 Oswald Buddenhagen <ossi@users.sf.net>
* configure.in, src/isync.h, src/maildir.c, src/sync.c:
sync uid database after every message. this is accompanied by a dbm ->
db4 migration. patch by theodore, with some final polishing by me.
2004-01-12 01:38 Oswald Buddenhagen <ossi@users.sf.net>
* Makefile.am:
use ../CVSROOT/accounts for UID mapping in ChangeLog.
2004-01-12 01:36 Oswald Buddenhagen <ossi@users.sf.net>
* AUTHORS:
be more explicit about contact address
2004-01-11 13:38 Oswald Buddenhagen <ossi@users.sf.net>
* .cvsignore:
new stuff
2004-01-11 13:35 Oswald Buddenhagen <ossi@users.sf.net>
* Makefile.am:
getting rid of Makefile.am in debian/ - it seems to be non-standard and
is a pita to maintain anyway. instead, make distdir and distclean depend
on a partial debian-clean.
2004-01-11 12:53 Oswald Buddenhagen <ossi@users.sf.net>
* autogen.sh:
don't call configure
2004-01-09 21:43 Oswald Buddenhagen <ossi@users.sf.net>
* src/main.c:
ignore anything that does not look remotely like a maildir when
collecting mailboxes for OneToOne.
2003-12-07 16:37 Oswald Buddenhagen <ossi@users.sf.net>
* isyncrc.sample:
add sample CertificateFile
2003-12-07 16:36 Oswald Buddenhagen <ossi@users.sf.net>
* src/imap.c:
add trailing space to password prompt
2003-12-07 16:34 Oswald Buddenhagen <ossi@users.sf.net>
* src/main.c:
make imaps: on the command line adjust the port and ssl options as well
2003-12-07 16:09 Oswald Buddenhagen <ossi@users.sf.net>
* configure.in:
bump version
2003-12-02 03:53 Oswald Buddenhagen <ossi@users.sf.net>
* src/imap.c:
echo the mailbox the password is for
2003-11-11 04:02 Oswald Buddenhagen <ossi@users.sf.net>
* AUTHORS:
be more explicit about maintainership, as people don't seem to get it.
2003-09-02 14:06 Oswald Buddenhagen <ossi@users.sf.net>
* isync.1:
minor additions
2003-07-02 19:18 Oswald Buddenhagen <ossi@users.sf.net>
* src/imap.c:
fix crash when syncing multiple mailboxes over a Tunnel
2003-05-14 15:42 Oswald Buddenhagen <ossi@users.sf.net>
* isync.1:
minor
2003-05-07 02:06 Oswald Buddenhagen <ossi@users.sf.net>
* .cvsignore, Makefile.am, autogen.sh, configure.in, src/config.c,
src/cram.c, src/dotlock.c, src/imap.c, src/isync.h, src/list.c,
src/maildir.c, src/main.c, src/sync.c:
- make it work without SSL
- switch from -Ds in Makefile to config.h
- small header cleaup
2003-05-07 02:04 Oswald Buddenhagen <ossi@users.sf.net>
* isync.spec.in:
make it actually work
2003-05-06 04:17 Oswald Buddenhagen <ossi@users.sf.net>
* Makefile.am:
minors
2003-05-06 04:15 Oswald Buddenhagen <ossi@users.sf.net>
* README:
i'm bored :)
2003-05-05 19:58 Oswald Buddenhagen <ossi@users.sf.net>
* src/: config.c, isync.h, main.c:
don't free any config strings - who cares for a few bytes?
this fixes some crashes at exit.
2003-05-05 19:17 Oswald Buddenhagen <ossi@users.sf.net>
* Makefile.am:
switch ChangeLog generation to cvs2cl
2003-05-05 15:43 Oswald Buddenhagen <ossi@users.sf.net>
* isync.1:
minor fixes
2003-05-05 15:41 Oswald Buddenhagen <ossi@users.sf.net>
* configure.in:
cleanup
2003-05-05 15:24 Oswald Buddenhagen <ossi@users.sf.net>
* src/main.c:
accumulate status over multiple mailboxes, i.e., don't abort after first
failure
2003-05-05 14:54 Oswald Buddenhagen <ossi@users.sf.net>
* src/imap.c:
fix imaps:
2003-02-27 19:43 Oswald Buddenhagen <ossi@users.sf.net>
* src/sync.c:
ignore \Recent, as it is voided by the syncronization run itself.
2002-12-28 16:31 Oswald Buddenhagen <ossi@users.sf.net>
* src/: config.c, cram.c, imap.c, isync.h, list.c, maildir.c,
main.c, sync.c:
- update copyrights. 2003 didn't begin yet, but who cares? :)
2002-12-28 05:14 Oswald Buddenhagen <ossi@users.sf.net>
* isync.1:
- fixed typo
- updated maintainer and location
2002-12-28 05:12 Oswald Buddenhagen <ossi@users.sf.net>
* src/: maildir.c, sync.c:
- update isyncmaxuid properly
2002-12-28 05:04 Oswald Buddenhagen <ossi@users.sf.net>
* src/config.c:
- fixed two crashes
2002-12-28 05:02 Oswald Buddenhagen <ossi@users.sf.net>
* src/imap.c:
- handle bogus search responses more gracefully
2002-12-28 05:00 Oswald Buddenhagen <ossi@users.sf.net>
* src/imap.c:
- workaround imap server bug: lock files are no mailboxes
2002-12-28 04:58 Oswald Buddenhagen <ossi@users.sf.net>
* src/: imap.c, sync.c:
- improve console output
2002-12-28 04:11 Oswald Buddenhagen <ossi@users.sf.net>
* .cvsignore:
- ssht!
2002-12-28 04:03 Oswald Buddenhagen <ossi@users.sf.net>
* .cvsignore, AUTHORS, Makefile.am, README, autogen.sh,
configure.in, isync.spec.in, src/.cvsignore, src/isync.h,
src/Makefile.am:
- took over maintenance
- moved to sourceforge
- reorganized cvs structure
2002-10-30 03:31 Michael Elkins <me@sigpipe.org>
* isync.1, src/config.c, src/cram.c, src/dotlock.c, src/dotlock.h,
src/imap.c, src/isync.h, src/list.c, src/maildir.c, src/main.c,
src/sync.c:
Updated the copyright notice to allow an exception for linking with OpenSSL,
which has a non-GPL compatible license.
2002-10-30 03:23 Michael Elkins <me@sigpipe.org>
* .cvsignore, isync.1, src/config.c, src/imap.c, src/isync.h,
src/maildir.c, src/main.c, src/sync.c:
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 03:01 Michael Elkins <me@sigpipe.org>
* src/maildir.c:
fixed missing closedir() call (Joey Hess)
2002-06-27 05:55 Michael Elkins <me@sigpipe.org>
* src/imap.c:
explicitly set global.pass to NULL when getpass() returns an empty string.
2002-06-27 05:51 Michael Elkins <me@sigpipe.org>
* src/imap.c:
Oswald Buddenhagen <ossi@kde.org>
* fix imap_open() brokeness with PREAUTH (missed hunk from previous patch)
2002-06-22 19:06 Michael Elkins <me@sigpipe.org>
* src/: dotlock.c, imap.c:
fixed errors introduced by ME when hand-applying Oswald Nuddenhagen's
patch.
2002-06-22 03:21 Michael Elkins <me@sigpipe.org>
* autogen.sh, src/dotlock.c, src/imap.c, src/isync.h, src/main.c:
Patch from Oswald Buddenhagen <ossi@kde.org>
- move prompt for password to imap_open()
- don't ask for global password in PREAUTH state
- use socketpair() to create one full-duplex fd in tunnel mode
instead of two half-duplex pipes
- don't set lck.l_pid in fcntl() call (its read-only)
- use F_SETLK instead of F_SETLKW to avoid infinite waiting
- use "$@" in autogen.sh to get proper word expansion
2002-06-21 02:26 Michael Elkins <me@sigpipe.org>
* configure.in, src/isync.h:
Fixed to compile under FreeBSD 4.6-RELEASE. Must include ndbm.h rather than
db.h.
2002-06-21 01:33 Michael Elkins <me@sigpipe.org>
* Makefile.am, src/dotlock.c, src/dotlock.h, src/maildir.c:
remove debian/files
move dotlocking code to dotlock.c.
dotlocking code fixed to ignore whether or not the lockfile exists on
open(). we only care about whether fcntl() was able to lock it.
2002-06-19 04:31 Michael Elkins <me@sigpipe.org>
* src/sync.c:
Don't bother uploaded messages marked deleted when we are going to expunge.
2002-06-19 03:11 Michael Elkins <me@sigpipe.org>
* AUTHORS, src/imap.c, src/maildir.c:
fixed unused var warning in imap_open()
locking cleanups from Oswald Buddenhagen <ossi@kde.org>
* don't need to stat the lockfile since it will always be size 0
* only remove lockfile when we actually succeeded in locking
2002-06-19 02:44 Michael Elkins <me@sigpipe.org>
* Makefile.am:
Debian package cleanups from Oswald Buddenhagen <ossi@kde.org>
2002-06-18 08:37 Michael Elkins <me@sigpipe.org>
* README, isync.1, src/isync.h, src/maildir.c, src/main.c,
src/sync.c:
updated URL for project
fixed segmentation fault caused by double free() when an error occurred
during the IMAP transmission.
fixed bug where isync could not handle a 0 value UIDVALIDITY
2002-04-19 21:43 Michael Elkins <me@sigpipe.org>
* configure.in, isync.1, isyncrc.sample, src/config.c, src/imap.c,
src/isync.h, src/main.c:
PREAUTH support from Oswald Buddenhagen <ossi@kde.org>
Added Tunnel directive to allow the user to specify a shell command to run
to set up an IMAP connection in place of a TCP socket (eg., to run over
an SSH session).
2002-01-28 20:39 Michael Elkins <me@sigpipe.org>
* isync.spec.in:
post 0.8 release commit
2002-01-28 20:34 Michael Elkins <me@sigpipe.org>
* configure.in:
check for dbm_open() in libc and libdb
2002-01-17 20:33 Michael Elkins <me@sigpipe.org>
* src/sync.c:
don't bother renaming the message file if we are about to unlink() it
2002-01-16 23:23 Michael Elkins <me@sigpipe.org>
* AUTHORS, Makefile.am, src/sync.c:
remove tilde backup files for distclean
fixed indentation
added full name to AUTHORS
reformated NEWS blurb for 0.8
2002-01-16 23:13 Michael Elkins <me@sigpipe.org>
* src/: maildir.c, sync.c:
sync_mailbox() did not update the msg struct when flags were changed,
causing the expunge command to fail
remove bogus strfcpy() line
2002-01-16 22:51 Michael Elkins <me@sigpipe.org>
* Makefile.am, configure.in:
added debian build files dist target so that people can use them to build
their own .deb packages without having to use CVS
2002-01-16 22:43 Michael Elkins <me@sigpipe.org>
* isync.1, src/maildir.c, src/sync.c:
added debian build files
fixed indentation
added bug note to manpage about db file format not being architecture
independent
2002-01-16 22:22 Michael Elkins <me@sigpipe.org>
* src/: maildir.c, sync.c:
remove the uid from the db when a message is deleted from the maildir
optimize db fetch/store to not copy the base filename
2002-01-16 20:47 Michael Elkins <me@sigpipe.org>
* configure.in, isync.1, src/config.c, src/cram.c, src/imap.c,
src/isync.h, src/list.c, src/maildir.c, src/main.c, src/sync.c:
updated year in copyright notice
the uid for each message in the maildir is now stored in a dbm database
rather than the filename. this change was necessary because isync became
confused if you copied a message to another folder, in which case the uid
was invalid.
as a result of the above change, isync now acquires a mutex on the mailbox
to protect the dbm database from concurrent access.
main() was reworked to continue gracefully when an error is encountered, and
to always call maildir_close() so that the lock can be disabled, and the
database closed.
2001-11-20 19:28 Michael Elkins <me@sigpipe.org>
* Makefile.am, isync.spec.in:
post 0.7-release commit
2001-11-20 19:06 Michael Elkins <me@sigpipe.org>
* Makefile.am, isync.1, src/isync.h, src/maildir.c, src/main.c:
added --create/-C command line option to force creation of the local
maildir-style mailbox if nonexistent
debug.h was not included in isync_SOURCES in Makefile.am
2001-11-19 20:41 Michael Elkins <me@sigpipe.org>
* Makefile.am, configure.in, src/config.c, src/isync.h, src/list.c,
src/main.c:
added memory debugging code
fixed memory leak in free_list()
free memory associated with global settings on exit
2001-11-16 22:23 Michael Elkins <me@sigpipe.org>
* src/: cram.c, imap.c, isync.h, sync.c:
remove c++ style comments
use %lu and cast off_t to unsigned long in printf()
2001-11-16 00:59 Michael Elkins <me@sigpipe.org>
* isync.1, src/config.c, src/isync.h, src/main.c, src/sync.c:
Added MaxMessages patch from Eivind Eklund <eivind@FreeBSD.org>.
config_defaults() can just use memcpy() instead of assigning each struct
member individually.
config_defaults() can be declared static
2001-11-14 18:40 Michael Elkins <me@sigpipe.org>
* configure.in, src/config.c:
move strndup() code into config.c for less complexity
change AC_REPLACE_FUNC(strndup) to AC_CHECK_FUNCS(strndup)
sed expression checking for gcc-3.0 should be quoted beccause it
fails under Solaris 2.7
2001-11-13 01:36 Michael Elkins <me@sigpipe.org>
* src/: config.c, sync.c:
strndup() could return a non-NULL terminated string
size_t should be printed with %lu
when expending tildes (~), an extra slash was inserted after the user's home
directory
2001-11-13 00:03 Michael Elkins <me@sigpipe.org>
* src/: isync.h, maildir.c, main.c:
merge maildir_sync() and maildir_close(). the maxuid in a maildir still
needs to be updated in --fast mode, and the sync code already checks to see
if any changes were made to the mailbox.
2001-11-09 01:35 Michael Elkins <me@sigpipe.org>
* README:
add FreeBSD to the list of tested platforms
2001-11-09 01:23 Michael Elkins <me@sigpipe.org>
* configure.in, src/config.c, src/imap.c, src/maildir.c:
update version to 0.7
detect short write in write_strip()
fix compilation warnings with gcc-2.95.4
2001-10-31 20:50 Michael Elkins <me@sigpipe.org>
* configure.in, src/imap.c, src/isync.h, src/main.c, src/sync.c:
set compiler warnings for gcc-3.0 as well
display message with count of uploaded messages
--quiet now supresses warnings in sync_mailbox()
fixed compiler warnings with -Wshadow
2001-10-31 07:06 Michael Elkins <me@sigpipe.org>
* isync.1:
post 0.6 commit
2001-10-30 23:57 Michael Elkins <me@sigpipe.org>
* README, configure.in:
add strndup replacement function for systems which lack it
2001-10-03 19:10 Michael Elkins <me@sigpipe.org>
* Makefile.am, src/maildir.c:
fixed broken code in maildir_clean_tmp()
2001-10-03 18:48 Michael Elkins <me@sigpipe.org>
* src/maildir.c:
added code to clean the tmp directory in a maildir to comply with
maildir(5)
2001-10-03 08:32 Michael Elkins <me@sigpipe.org>
* src/config.c:
forgot to add code to parse the `Delete' option
2001-10-03 08:18 Michael Elkins <me@sigpipe.org>
* src/main.c:
forgot conditional #if HAVE_LIBSSL around setting of .use_imaps in main()
from command line arguments
2001-10-03 08:15 Michael Elkins <me@sigpipe.org>
* src/main.c:
update Copyright printed by --help
add compile time option list to --help output
2001-10-03 07:42 Michael Elkins <me@sigpipe.org>
* isync.1, isyncrc.sample, src/config.c, src/isync.h, src/main.c,
src/sync.c:
added `Delete' configuration option to force -d option
sync_mailbox() didn't consider MaxSize == 0 to mean "unlimited".
load_config() needs to print a newline in its error messages since
next_arg() kills the newline of the line that was read out of the config
file.
2001-10-03 02:01 Michael Elkins <me@sigpipe.org>
* src/: imap.c, sync.c:
fixed maildir message filenames to comply with the maildir(5) specification.
fixed write_strip() and imap_fetch_message() to check the return code of
write() and fsync() to comply with maildir(5) spec.
2001-10-03 01:43 Michael Elkins <me@sigpipe.org>
* src/main.c:
the `Expunge' config directive didn't work since only the -e command line
argument was consulted.
2001-10-03 00:46 Michael Elkins <me@sigpipe.org>
* src/: config.c, imap.c, isync.h:
we should issue a CAPABILITY even if we aren't going to use ssl/tls so that
cram-md5 auth still works.
2001-07-18 20:56 Michael Elkins <me@sigpipe.org>
* src/config.c:
find_box() should attempt to expand all filenames if none of the other
methods found a match.
2001-07-18 20:49 Michael Elkins <me@sigpipe.org>
* src/: config.c, isync.h, maildir.c:
fixed to not expand filenames until they are used inside of maildir_open(),
so that aliases are not required for simple filenames.
[re: http://bugs.debian.org/102255]
2001-06-23 01:30 Michael Elkins <me@sigpipe.org>
* src/main.c:
--host option didn't check for imaps: prefix
2001-06-21 22:45 Michael Elkins <me@sigpipe.org>
* src/main.c:
fixed core when specifying multiple mailboxes on the command line
2001-06-18 23:38 Michael Elkins <me@sigpipe.org>
* configure.in, src/imap.c, isync.1:
handle untagged responses in imap_fetch_message() so that it doesn't bomb
out if new mail arrives while in the process of downloading
noted in BUGS section of man page that if new mail arrives after the initial
message list has been retrieved from the IMAP server, that new mail will not
be fetched until the next invocation of isync.
2001-06-18 19:49 Michael Elkins <me@sigpipe.org>
* src/: config.c, imap.c, isync.h, main.c:
isync should continue to process additional mailboxes even if there is an
error with a previous mailbox.
added -a (--all) flag to synchronize all mailboxes defined in ~/.isyncrc
2001-02-28 02:02 Michael Elkins <me@sigpipe.org>
* src/: config.c, imap.c:
fixed compiler warnings under Solaris 2.7
2001-02-19 19:44 Michael Elkins <me@sigpipe.org>
* src/: cram.c, imap.c, maildir.c:
rfc2595 compliance patch from Daniel Resare <noa@metamatrix.se>
- CAPABILITY should be reissued after starting TLS since the
previous call was not protected
2001-02-14 21:46 Michael Elkins <me@sigpipe.org>
* isync.1, src/config.c, src/imap.c, src/main.c, src/sync.c:
patch from Daniel Resare <noa@metamatrix.se>:
1 giving a path to a nonexistant rc-file with the -c argument dumps core
The patch adds a check to ensure that the given rc-file is accessible
2 the error messages given from failed openssl calls are bogus
The handles the error from SSL_connect () correctly. The bug is
understndable since the error handling in openssl is quite obfuscated.
Good news is that the documentation manapges has been greatly updated in
the latest version (0.9.6). See in particular err(3), ERR_get_error(3)
and SSL_get_error(3).
Please note that possible SSL_ERROR_SSL type errors from SSL_read() and
SSL_write() is not handled. This should also be fixed.
3 connecting using the STARTTLS command with an imap server that is
configured only to accept the TLSv1 protocol gives an error because isync
sends an SSLv2 Hello message for backwards compability. (This is the case
with the uw-imap 2000 that ships with redhat-7.0)
I've read RFC2595 several times to see if it says something about
compability SSL2/SSL3 hello messages but can't find anything. IMHO the
correct thing to do is change the default to not use SSL2/3 compability
hello when using the STARTTLS command but use it if the imaps port is
used. The patch implements this change
4 repeated calls to SSL_CTX_set_options overwrites the old settings (the
values needs to be ORed together)
fixed in the patch
patch from me@mutt.org:
\Recent messages were put in the cur/ directory instead of new/
give error message when the LOGIN command fails
2001-02-02 00:35 Michael Elkins <me@sigpipe.org>
* src/imap.c:
patch from Daniel Resare <noa@metamatrix.se>
- don't initialize ssl support if none of use_sslv* is enabled
2001-01-26 21:21 Michael Elkins <me@sigpipe.org>
* src/: imap.c, isync.h:
include <sys/types.h> for off_t
patch from "lorenzo martignoni" <lorenzo.martignoni@technologist.com>
- fixed uploading of message to IMAP server
2001-01-24 08:09 Michael Elkins <me@sigpipe.org>
* isync.1, src/config.c, src/cram.c, src/imap.c, src/list.c,
src/maildir.c, src/main.c, src/sync.c:
fixed cram compilation error under bsd
updated man page
2001-01-16 20:45 Michael Elkins <me@sigpipe.org>
* isync.1, src/config.c, src/imap.c, src/isync.h, src/main.c:
added support for tilde (~) expansion in the `Mailbox' and `CertificateFile'
configuration directives
added `Maildir' configuration command to specify the default location of the
user's mailboxes. If a relative path is used in a `Mailbox' command, this
path is used as a prefix.
2001-01-11 11:21 Michael Elkins <me@sigpipe.org>
* configure.in, src/imap.c, src/isync.h:
set imap->prefix to be the namespace prefix
update version to 0.5
fixed compilation warnings in imap.c
2001-01-11 11:13 Michael Elkins <me@sigpipe.org>
* Makefile.am, isync.1, isyncrc.sample, src/config.c, src/imap.c,
src/isync.h, src/main.c, src/sync.c:
broke config code into config.c
added support for uploading local messages with no UID to the IMAP server
added Expunge configuration option
added CopyDeletedTo configuration option
2001-01-09 21:09 Michael Elkins <me@sigpipe.org>
* src/: maildir.c, sync.c:
always put changed messages in the cur/ subdirectory since they are no
longer new.
don't set \Seen implicitly for messages in the cur/ folder. Require the S
flag on the message since Mutt will move Old (unread, but not recent)
messges into cur/.
2001-01-08 10:45 Michael Elkins <me@sigpipe.org>
* Makefile.am, src/main.c:
patch from Hugo Haas <hugo@larve.net>
-c was not specified in the getopt*() calls
set global password to the one the user inputs and use that as the
default for remaining mailboxes
2001-01-05 22:20 Michael Elkins <me@sigpipe.org>
* configure.in:
added --with-ssl-dir to specify an alternate installation of OpenSSL
2000-12-31 23:39 Michael Elkins <me@sigpipe.org>
* isync.spec.in:
pre 0.4 commit.
updated rpm spec file
2000-12-31 23:37 Michael Elkins <me@sigpipe.org>
* src/sync.c:
display how many messages were fetched from the server
2000-12-31 23:17 Michael Elkins <me@sigpipe.org>
* src/imap.c:
fixed compilation error with no libssl support ("lorenzo martignoni"
<lorenzo.martignoni@technologist.com>)
2000-12-28 19:44 Michael Elkins <me@sigpipe.org>
* src/main.c:
fixed config parser to accept arbitrary whitespace
2000-12-27 22:16 Michael Elkins <me@sigpipe.org>
* src/imap.c:
use imap_close to terminate a connection in imap_open()
2000-12-27 22:14 Michael Elkins <me@sigpipe.org>
* isync.1, src/imap.c, src/isync.h, src/maildir.c, src/main.c:
allow leading whitespace in config files
now possible to sync multiple mailboxes by specifying multiple aliases on
the command line. IMAP connections are reused if possible.
don't initialize ssl unless we are going to use it.
2000-12-23 22:57 Michael Elkins <me@sigpipe.org>
* src/: imap.c, isync.h:
don't use NAMESPACE unless the server supports it
2000-12-23 01:02 Michael Elkins <me@sigpipe.org>
* Makefile.am, README, src/cram.c, src/imap.c, src/isync.h:
added CRAM-MD5 authentication support.
parse server capability string to determine if STARTTLS is available
2000-12-22 22:22 Michael Elkins <me@sigpipe.org>
* README, isync.1, src/imap.c, src/isync.h, src/main.c:
isync-brokenservers.diff (Jeremy Katz <katzj@linuxpower.org>)
adds support for disabling NAMESPACE, and disable various flavors of TLS/SSL
for use with some broken IMAP servers.
2000-12-22 20:30 Michael Elkins <me@sigpipe.org>
* src/: imap.c, sync.c:
prompt user if they wish to continue if the server's X.509 certificate can't
be verified.
sync_mailbox should consider uid == 0 to be "unknown"
2000-12-22 16:48 Michael Elkins <me@sigpipe.org>
* src/: main.c, sync.c:
fixed sync_mailbox() to correctly write new messages to the local maildir
box (Thomas Roessler <roessler@does-not-exist.org>)
2000-12-22 16:24 Michael Elkins <me@sigpipe.org>
* src/main.c:
set default MaxSize to 0 (unlimited)
invert test for password being set after getpass() call (Magnus Jonsson
<bigfoot@acc.umu.se>)
2000-12-22 08:14 Michael Elkins <me@sigpipe.org>
* configure.in, isync.1, isyncrc.sample, src/imap.c, src/isync.h,
src/maildir.c, src/main.c, src/sync.c:
added MaxSize configuration variable
fixed --fast to work robustly without relying on the \Recent flag in
messages
2000-12-22 00:10 Michael Elkins <me@sigpipe.org>
* src/: imap.c, isync.h, maildir.c, sync.c:
RFC822.PEEK is obsolete in RFC2060. Use BODY.PEEK[] instead, which does
the same thing
keep track of the uidvalidity so isync can detect if the mailbox on the
server has changed since the last sync.
2000-12-21 21:56 Michael Elkins <me@sigpipe.org>
* Makefile.am, isync.spec.in:
added support for building RPMS
2000-12-21 20:49 Michael Elkins <me@sigpipe.org>
* Makefile.am, isync.1:
added target for creating html version of the man page
documented the imaps: prefix to the Host command
2000-12-21 20:11 Michael Elkins <me@sigpipe.org>
* src/: imap.c, sync.c:
can't assume flag order when fetching a message. just search for the
first `{' to find the message size.
2000-12-21 19:16 Michael Elkins <me@sigpipe.org>
* isync.1, src/sync.c:
added BUGS section to manpage detailing the fact that we break the
maildir(5) spec by parsing the filename
change message delivery to use the method described in maildir(5)
2000-12-21 18:51 Michael Elkins <me@sigpipe.org>
* configure.in, src/main.c, src/sync.c:
use getpass() to get the user's password
unlink the temp file if we are unable to fetch a new message from the
server.
update version to 0.3
2000-12-21 12:14 Michael Elkins <me@sigpipe.org>
* isync.1:
fixed typo in man page for --verbose option
2000-12-21 11:24 Michael Elkins <me@sigpipe.org>
* Makefile.am, README, src/imap.c, src/isync.h, src/list.c:
added generic IMAP list parser and rewrote imap_exec() to handle
arbitrary data instead of hardcoded
2000-12-21 07:51 Michael Elkins <me@sigpipe.org>
* Makefile.am, README, configure.in, src/main.c:
fixes to compile cleanly under Solaris 2.7
2000-12-21 07:27 Michael Elkins <me@sigpipe.org>
* configure.in, isync.1, src/imap.c, src/isync.h, src/main.c:
added OpenSSL support
2000-12-21 01:35 Michael Elkins <me@sigpipe.org>
* configure.in, src/main.c:
config options were not case insensitive
2000-12-21 01:30 Michael Elkins <me@sigpipe.org>
* src/: imap.c, isync.h, maildir.c, main.c, sync.c:
don't fetch deleted messages when expunging
display number of messages that are to be deleted
flags for \Recent messages were not properly fetched
local messages with updated flags were not corrected renamed
2000-12-20 23:28 Michael Elkins <me@sigpipe.org>
* Makefile.am:
updated ChangeLog
added log: rule in Makefile.am
2000-12-20 23:10 Michael Elkins <me@sigpipe.org>
* autogen.sh:
added autogen.sh to regenerate the build environment
2000-12-20 23:00 Michael Elkins <me@sigpipe.org>
* COPYING:
added missing files
2000-12-20 22:41 Michael Elkins <me@sigpipe.org>
* AUTHORS, Makefile.am, README, configure.in, src/isync.h,
src/main.c, src/imap.c, src/maildir.c, src/sync.c, isync.1,
isyncrc.sample:
Initial revision