Commit Graph

15 Commits

Author SHA1 Message Date
Michael Elkins
c121ec912f 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.
2002-01-16 19:47:28 +00:00
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
06a5edb452 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-14 17:40:10 +00:00
Michael Elkins
087fb470e7 update version to 0.7
detect short write in write_strip()

fix compilation warnings with gcc-2.95.4
2001-11-09 00:23:50 +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
e3797d65da add strndup replacement function for systems which lack it 2001-10-30 22:57:03 +00:00
Michael Elkins
8af21c5604 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 21:38:44 +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
ee0de20cf7 added --with-ssl-dir to specify an alternate installation of OpenSSL 2001-01-05 21:20:48 +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
bbbe88e07d 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 17:51:07 +00:00
Michael Elkins
0addaad032 fixes to compile cleanly under Solaris 2.7 2000-12-21 06:51:14 +00:00
Michael Elkins
b6089a2dcb added OpenSSL support 2000-12-21 06:27:05 +00:00
Michael Elkins
813618f041 config options were not case insensitive 2000-12-21 00:35:26 +00:00
Michael Elkins
f47d0d7c11 initial import 2000-12-20 21:41:21 +00:00