Commit Graph

20 Commits

Author SHA1 Message Date
Oswald Buddenhagen
850addecd5 wrap message storing into transactions. nice side effect: drivers don't
need to deal with line end conversion any move.
2006-02-03 21:33:43 +00:00
Oswald Buddenhagen
c37f908d61 update 2004-09-08 16:37:36 +00:00
Oswald Buddenhagen
130664b622 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-27 16:07:20 +00:00
Oswald Buddenhagen
8c5a1d94de more to do 2004-01-17 11:47:21 +00:00
Oswald Buddenhagen
24c57a244e more to do 2004-01-09 20:10:19 +00:00
Oswald Buddenhagen
4e5bfd4629 update 2004-01-09 18:52:45 +00:00
Oswald Buddenhagen
4fba9c8b74 item morphed 2003-12-02 02:52:47 +00:00
Oswald Buddenhagen
e68fc4b463 more to do ... 2003-02-27 18:41:54 +00:00
Oswald Buddenhagen
4146c05c87 - ssh tunnels are supported for ages ... 2002-12-28 04:12:53 +00:00
Oswald Buddenhagen
a4f2725bad - update isyncmaxuid properly 2002-12-28 04:12:07 +00:00
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