Oswald Buddenhagen
6636d7ebb7
backport: quote user name in generated config.
17 years ago
Oswald Buddenhagen
e161af47bb
backport: don't overlook 2nd and later single-letter options in last
...
argument.
17 years ago
Oswald Buddenhagen
1b9b5f8bfd
backport: put pointers to bdb open() into parentheses, so they won't be
...
macro-expanded as libc open.
17 years ago
Oswald Buddenhagen
5d03247bec
backport: don't use #ifdef inside htons() arguments - it can be a macro.
18 years ago
Oswald Buddenhagen
0d27c5f4cb
avoid crash in case of a rather weird (==misconfigured?) sync state
...
location.
18 years ago
Oswald Buddenhagen
0eb399c672
accept empty SEARCH IMAP responses - reasonable servers omit them
...
alltogether, but this is allowed, too. patch by
CCMAIL: Alexander Gerasiov <gq@cs.msu.su>
fixes debian bug #413336
fixed in HEAD a year ago - accidentally ...
18 years ago
Oswald Buddenhagen
9a0539868a
backport: fix crash due to uninited var when parsing IMAPServer.
...
-REF: <E1HFuIM-00041h-Nn@sc8-pr-cvs2.sourceforge.net>
18 years ago
Oswald Buddenhagen
43f23fb180
backport: reverse-map <Inbox> to INBOX when encountered during listing.
18 years ago
Oswald Buddenhagen
d51a91aeba
backport: make compat wrapper default to current user for imap login
18 years ago
Oswald Buddenhagen
3759f0c802
backport:
...
- un-document "Host imaps:[...]" syntax and introduce new option UseIMAPS
instead
- apply ted's patch to support UseIMAPS in conjunction with Tunnel
- document that SSLv2 is No Good (TM)
18 years ago
Oswald Buddenhagen
6494cfc438
backport: move assigning default port to the place of use
18 years ago
Oswald Buddenhagen
4b70d9b96c
backport: put INBOX in Maildir
18 years ago
Oswald Buddenhagen
41c4e0d681
backport: don't crash on truncating db
18 years ago
Oswald Buddenhagen
b6c6299ea6
another attempt at working around glibc breakage.
19 years ago
Oswald Buddenhagen
2e39fa9930
work around glibc bug: printf("%.*s", INT_MAX, s) tries to allocate 2G.
19 years ago
Oswald Buddenhagen
927feae988
make config parsing more robust against bogus input and report errors
...
more clearly.
19 years ago
Oswald Buddenhagen
b40fb7f281
backport: fix 'isync -w' writing .mbsyncrc to a wrong directory
19 years ago
Oswald Buddenhagen
534ccb326a
backport: less confusing uid ranges in debug
19 years ago
Oswald Buddenhagen
63c065a127
backport: compile fixes
19 years ago
Oswald Buddenhagen
161a4b1159
backport:
...
- sanitize flag handling of expired messages
- don't record we synced flags if we didn't
- remove now superfluous temporary rflags
19 years ago
Oswald Buddenhagen
9a5920c028
backport: flush debug output
19 years ago
Oswald Buddenhagen
5633236ed2
fix sync entries not being purged due to c&p error.
19 years ago
Oswald Buddenhagen
8db5ec1e5e
less confusing error message on invalid mailbox.
19 years ago
Oswald Buddenhagen
6d229848a5
it's beyond me what this memset was supposed to do ...
19 years ago
Oswald Buddenhagen
633869d040
trailing whitespace
19 years ago
Oswald Buddenhagen
25db6a3c31
revert 1.8 - what was i smoking?! the CREATE argument is already quoted;
...
we just extracted it from the previous command.
19 years ago
Oswald Buddenhagen
7710b3dcb5
make flag changes unset "new" status - unless a ghost is acting in the
...
background, a flag change indicates that the message was at least
noticed.
20 years ago
Oswald Buddenhagen
bf26a663da
don't call the driver's set_flags() if the flags did not change at all.
20 years ago
Oswald Buddenhagen
d2753c4188
64-bit cleanness
20 years ago
Oswald Buddenhagen
bf4266eadc
quote CREATE argument
20 years ago
Oswald Buddenhagen
02babb0651
fix inverted condition leading to endless loop when message is changed
...
while isync is running.
20 years ago
Oswald Buddenhagen
c2209c8470
cope with out-of-disk-space halfways gracefully (that is, don't clobber
...
the sync state including the journal, but exit immediately).
20 years ago
Oswald Buddenhagen
e8c769ea76
ignore user-defined flags (for now).
...
also, split off the backslash from the "core" flag names.
21 years ago
Oswald Buddenhagen
e75ebf75f6
fix segfault due to wrong pointer being passed to parse_response_code.
...
inspired by Raimar Döffinger
21 years ago
Oswald Buddenhagen
6741bc94d9
remove spurious crlf during cram auth. not sure that this instance of
...
socket_write should be (re)moved, but as long as the .cont callback is
used only for this ...
investigation & patch by Mike Delaney.
21 years ago
Oswald Buddenhagen
3f8e820acb
use legacy flock() only on linux. at least on OS X flock aliases to
...
fcntl.
21 years ago
Oswald Buddenhagen
e0cc45044f
stdarg.h at the right places
21 years ago
Oswald Buddenhagen
16de402c9e
when storing \seen messages, don't set the \recent flag on them. could
...
well be that this is incorrect, but some mailers need it that way.
when trashing messages, preserve their \recent status as well.
21 years ago
Oswald Buddenhagen
af0b75a5dc
stddef.h for offsetof
21 years ago
Oswald Buddenhagen
86d9a3140d
first check _both_ bounds, then compare ...
21 years ago
Oswald Buddenhagen
acabdc43b1
print name of mailbox being opened.
21 years ago
Oswald Buddenhagen
1b75236135
fix -C for imap mailboxes:
...
- SELECT does not return [TRYCREATE]
- fix bit field truncation
21 years ago
Oswald Buddenhagen
b8b4628197
store new UIDVALIDITY immediately after initializing it
21 years ago
Oswald Buddenhagen
918e105b0c
old -l is new -l -C
21 years ago
Oswald Buddenhagen
789d5864ca
full support for absolute paths in Mailboxes
21 years ago
Oswald Buddenhagen
7ff8eef06c
strip $HOME and ~ from Mailbox paths
21 years ago
Oswald Buddenhagen
2e8181a8d8
fix return values of asprintf replacement.
21 years ago
Oswald Buddenhagen
af8c4396fe
unscrew --delete by merging it into the config file. merge --expunge as
...
well for symmetry.
21 years ago
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.
21 years ago
Oswald Buddenhagen
5bbe51ee46
portability: don't rely on struct flock layout
21 years ago