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.
23 years ago
Michael Elkins
3fe6f3f086
added --create/-C command line option to force creation of the local
...
maildir-style mailbox if nonexistent
debug.h was not included in isync_SOURCES in Makefile.am
23 years ago
Michael Elkins
f0c7fdf008
added memory debugging code
...
fixed memory leak in free_list()
free memory associated with global settings on exit
23 years ago
Michael Elkins
de1f9e1941
remove c++ style comments
...
use %lu and cast off_t to unsigned long in printf()
23 years ago
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
23 years ago
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.
23 years ago
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
23 years ago
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.
24 years ago
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.
24 years ago
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 ]
24 years ago
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
24 years ago
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
24 years ago
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.
24 years ago
Michael Elkins
b3672634e5
set imap->prefix to be the namespace prefix
...
update version to 0.5
fixed compilation warnings in imap.c
24 years ago
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
24 years ago
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.
24 years ago
Michael Elkins
6f4cd030f8
don't use NAMESPACE unless the server supports it
24 years ago
Michael Elkins
b3eb5661eb
added CRAM-MD5 authentication support.
...
parse server capability string to determine if STARTTLS is available
24 years ago
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.
24 years ago
Michael Elkins
0527181f45
added MaxSize configuration variable
...
fixed --fast to work robustly without relying on the \Recent flag in
messages
24 years ago
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.
24 years ago
Michael Elkins
ba7650c9b7
added generic IMAP list parser and rewrote imap_exec() to handle
...
arbitrary data instead of hardcoded
24 years ago
Michael Elkins
b6089a2dcb
added OpenSSL support
24 years ago
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
24 years ago
Michael Elkins
f47d0d7c11
initial import
24 years ago