Commit Graph

10 Commits

Author SHA1 Message Date
Michael Elkins
44d360d184 check for dbm_open() in libc and libdb 2002-01-28 19:34:22 +00:00
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
c4050700c0 added code to clean the tmp directory in a maildir to comply with
maildir(5)
2001-10-03 16:48:17 +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
1efcad03f8 update TODO list with action items 2001-10-03 00:03:14 +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
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
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
f47d0d7c11 initial import 2000-12-20 21:41:21 +00:00