2001-02-14 Michael Elkins * config.c, imap.c, isync.1, main.c, sync.c: patch from Daniel Resare : 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-01 Michael Elkins * imap.c: patch from Daniel Resare - don't initialize ssl support if none of use_sslv* is enabled 2001-01-26 Michael Elkins * imap.c, isync.h: include for off_t patch from "lorenzo martignoni" - fixed uploading of message to IMAP server 2001-01-24 Michael Elkins * config.c, cram.c, imap.c, isync.1, list.c, maildir.c, main.c, sync.c: fixed cram compilation error under bsd updated man page 2001-01-16 Michael Elkins * TODO, config.c, imap.c, isync.1, isync.h, 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 Michael Elkins * configure.in, imap.c, isync.h: set imap->prefix to be the namespace prefix update version to 0.5 fixed compilation warnings in imap.c * Makefile.am, config.c, imap.c, isync.1, isync.h, main.c, sample.isyncrc, 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 Michael Elkins * 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 Michael Elkins * Makefile.am, main.c: patch from Hugo Haas -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 Michael Elkins * configure.in: added --with-ssl-dir to specify an alternate installation of OpenSSL 2000-12-31 Michael Elkins * ChangeLog, isync.spec: pre 0.4 commit. updated rpm spec file * sync.c: display how many messages were fetched from the server * imap.c: fixed compilation error with no libssl support ("lorenzo martignoni" ) 2000-12-28 Michael Elkins * main.c: fixed config parser to accept arbitrary whitespace 2000-12-27 Michael Elkins * imap.c: use imap_close to terminate a connection in imap_open() * imap.c, isync.1, isync.h, maildir.c, 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 Michael Elkins * imap.c, isync.h: don't use NAMESPACE unless the server supports it * Makefile.am, README, cram.c, imap.c, isync.h: added CRAM-MD5 authentication support. parse server capability string to determine if STARTTLS is available 2000-12-22 Michael Elkins * README, imap.c, isync.1, isync.h, main.c: isync-brokenservers.diff (Jeremy Katz ) adds support for disabling NAMESPACE, and disable various flavors of TLS/SSL for use with some broken IMAP servers. * 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" * main.c, sync.c: fixed sync_mailbox() to correctly write new messages to the local maildir box (Thomas Roessler ) * main.c: set default MaxSize to 0 (unlimited) invert test for password being set after getpass() call (Magnus Jonsson ) * ChangeLog, NEWS, configure.in, imap.c, isync.1, isync.h, maildir.c, main.c, sample.isyncrc, sync.c: added MaxSize configuration variable fixed --fast to work robustly without relying on the \Recent flag in messages 2000-12-21 Michael Elkins * 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. * NEWS: updated NEWS for 0.3 release * Makefile.am, isync.spec: added support for building RPMS * Makefile.am, isync.1: added target for creating html version of the man page documented the imaps: prefix to the Host command * imap.c, sync.c: can't assume flag order when fetching a message. just search for the first `{' to find the message size. * isync.1, 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) * configure.in, main.c, 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 * isync.1: fixed typo in man page for --verbose option * Makefile.am, README, TODO, imap.c, isync.h, list.c: added generic IMAP list parser and rewrote imap_exec() to handle arbitrary data instead of hardcoded * Makefile.am, README, configure.in, main.c: fixes to compile cleanly under Solaris 2.7 * configure.in, imap.c, isync.1, isync.h, main.c: added OpenSSL support * ChangeLog, configure.in, main.c: config options were not case insensitive * 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 Michael Elkins * ChangeLog, Makefile.am: updated ChangeLog added log: rule in Makefile.am * configure: forgot to remove configure script * INSTALL, Makefile.in, aclocal.m4, autogen.sh, install-sh, missing, mkinstalldirs: added autogen.sh to regenerate the build environment * COPYING, INSTALL, install-sh, missing, mkinstalldirs: added missing files * isync.1, sample.isyncrc: New file. * isync.1, sample.isyncrc: initial import * TODO, configure, imap.c, maildir.c, sync.c: New file. * TODO, configure, imap.c, maildir.c, sync.c: initial import * AUTHORS, ChangeLog, INSTALL, Makefile.am, Makefile.in, NEWS, README, aclocal.m4, configure.in, isync.h, main.c: New file. * AUTHORS, ChangeLog, INSTALL, Makefile.am, Makefile.in, NEWS, README, aclocal.m4, configure.in, isync.h, main.c: initial import