Commit Graph

23 Commits

Author SHA1 Message Date
Michael Elkins
f0c7fdf008 added memory debugging code
fixed memory leak in free_list()

free memory associated with global settings on exit
2001-11-19 19:41:14 +00:00
Michael Elkins
de1f9e1941 remove c++ style comments
use %lu and cast off_t to unsigned long in printf()
2001-11-16 21:23:14 +00:00
Michael Elkins
e02975e888 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-15 23:59:27 +00:00
Michael Elkins
bb62e2c18d 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-12 23:03:33 +00:00
Michael Elkins
c84a888a7d 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 19:50:01 +00:00
Michael Elkins
e015398ff2 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 05:42:22 +00:00
Michael Elkins
e2f1cd779b we should issue a CAPABILITY even if we aren't going to use ssl/tls so that
cram-md5 auth still works.
2001-10-02 22:46:47 +00:00
Michael Elkins
0f7823a4bf 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-07-18 18:49:55 +00:00
Michael Elkins
9a5b57eb7d 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-06-18 17:49:08 +00:00
Michael Elkins
77358f1706 include <sys/types.h> for off_t
patch from "lorenzo martignoni" <lorenzo.martignoni@technologist.com>
	- fixed uploading of message to IMAP server
2001-01-26 20:21:27 +00:00
Michael Elkins
7173d07192 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-16 19:45:08 +00:00
Michael Elkins
b3672634e5 set imap->prefix to be the namespace prefix
update version to 0.5

fixed compilation warnings in imap.c
2001-01-11 10:21:20 +00:00
Michael Elkins
bcecbe5eeb 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-11 10:13:47 +00:00
Michael Elkins
acd674f93e 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-27 21:14:22 +00:00
Michael Elkins
6f4cd030f8 don't use NAMESPACE unless the server supports it 2000-12-23 21:57:06 +00:00
Michael Elkins
b3eb5661eb added CRAM-MD5 authentication support.
parse server capability string to determine if STARTTLS is available
2000-12-23 00:02:42 +00:00
Michael Elkins
074298d482 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 21:22:24 +00:00
Michael Elkins
0527181f45 added MaxSize configuration variable
fixed --fast to work robustly without relying on the \Recent flag in
messages
2000-12-22 07:14:32 +00:00
Michael Elkins
a8f9af4296 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 23:10:18 +00:00
Michael Elkins
ba7650c9b7 added generic IMAP list parser and rewrote imap_exec() to handle
arbitrary data instead of hardcoded
2000-12-21 10:24:53 +00:00
Michael Elkins
b6089a2dcb added OpenSSL support 2000-12-21 06:27:05 +00:00
Michael Elkins
21bf53b2ab 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-21 00:30:53 +00:00
Michael Elkins
f47d0d7c11 initial import 2000-12-20 21:41:21 +00:00