Oswald Buddenhagen
2e39fa9930
work around glibc bug: printf("%.*s", INT_MAX, s) tries to allocate 2G.
2006-07-29 11:53:47 +00:00
Oswald Buddenhagen
927feae988
make config parsing more robust against bogus input and report errors
...
more clearly.
2006-03-19 10:46:33 +00:00
Oswald Buddenhagen
b40fb7f281
backport: fix 'isync -w' writing .mbsyncrc to a wrong directory
2006-01-31 15:17:43 +00:00
Oswald Buddenhagen
534ccb326a
backport: less confusing uid ranges in debug
2006-01-31 15:16:27 +00:00
Oswald Buddenhagen
63c065a127
backport: compile fixes
2006-01-31 15:15:00 +00:00
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
2006-01-31 15:12:34 +00:00
Oswald Buddenhagen
9a5920c028
backport: flush debug output
2006-01-31 14:25:18 +00:00
Oswald Buddenhagen
5633236ed2
fix sync entries not being purged due to c&p error.
2005-12-22 14:59:59 +00:00
Oswald Buddenhagen
8db5ec1e5e
less confusing error message on invalid mailbox.
2005-12-21 13:04:43 +00:00
Oswald Buddenhagen
6d229848a5
it's beyond me what this memset was supposed to do ...
2005-12-18 14:10:40 +00:00
Oswald Buddenhagen
633869d040
trailing whitespace
2005-12-18 13:41:50 +00:00
Oswald Buddenhagen
25db6a3c31
revert 1.8 - what was i smoking?! the CREATE argument is already quoted;
...
we just extracted it from the previous command.
2005-12-17 13:47:51 +00:00
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.
2005-09-29 21:07:20 +00:00
Oswald Buddenhagen
bf26a663da
don't call the driver's set_flags() if the flags did not change at all.
2005-09-29 21:05:05 +00:00
Oswald Buddenhagen
d2753c4188
64-bit cleanness
2005-09-21 16:14:05 +00:00
Oswald Buddenhagen
bf4266eadc
quote CREATE argument
2005-03-28 10:43:31 +00:00
Oswald Buddenhagen
02babb0651
fix inverted condition leading to endless loop when message is changed
...
while isync is running.
2005-03-28 10:26:39 +00:00
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).
2004-11-13 09:19:36 +00:00
Oswald Buddenhagen
e8c769ea76
ignore user-defined flags (for now).
...
also, split off the backslash from the "core" flag names.
2004-10-17 15:34:53 +00:00
Oswald Buddenhagen
e75ebf75f6
fix segfault due to wrong pointer being passed to parse_response_code.
...
inspired by Raimar Döffinger
2004-10-17 09:00:15 +00:00
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.
2004-10-17 08:30:02 +00:00
Oswald Buddenhagen
3f8e820acb
use legacy flock() only on linux. at least on OS X flock aliases to
...
fcntl.
2004-09-20 11:31:55 +00:00
Oswald Buddenhagen
e0cc45044f
stdarg.h at the right places
2004-09-20 11:28:33 +00:00
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.
2004-09-15 09:06:36 +00:00
Oswald Buddenhagen
af0b75a5dc
stddef.h for offsetof
2004-09-08 16:14:12 +00:00
Oswald Buddenhagen
86d9a3140d
first check _both_ bounds, then compare ...
2004-09-08 14:52:22 +00:00
Oswald Buddenhagen
acabdc43b1
print name of mailbox being opened.
2004-09-07 11:59:51 +00:00
Oswald Buddenhagen
1b75236135
fix -C for imap mailboxes:
...
- SELECT does not return [TRYCREATE]
- fix bit field truncation
2004-08-13 11:03:12 +00:00
Oswald Buddenhagen
b8b4628197
store new UIDVALIDITY immediately after initializing it
2004-05-23 16:39:24 +00:00
Oswald Buddenhagen
918e105b0c
old -l is new -l -C
2004-04-27 20:23:22 +00:00
Oswald Buddenhagen
789d5864ca
full support for absolute paths in Mailboxes
2004-04-26 14:48:48 +00:00
Oswald Buddenhagen
7ff8eef06c
strip $HOME and ~ from Mailbox paths
2004-04-26 14:09:46 +00:00
Oswald Buddenhagen
2e8181a8d8
fix return values of asprintf replacement.
2004-03-29 22:32:40 +00:00
Oswald Buddenhagen
af8c4396fe
unscrew --delete by merging it into the config file. merge --expunge as
...
well for symmetry.
2004-03-29 06:52:50 +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
5bbe51ee46
portability: don't rely on struct flock layout
2004-02-07 15:36:33 +00:00
Oswald Buddenhagen
e5894bdf04
once again: (slightly) better output.
...
make maildir flag setting failure non-fatal. maildir sucks ...
2004-02-01 16:27:28 +00:00
Oswald Buddenhagen
a52fd7dde0
more sophisticated CAPABILITY handling. also, don't issue the command if
...
the initial response already had it in the status code.
2004-01-31 01:01:07 +00:00
Oswald Buddenhagen
3e392b6aa2
don't ask for NAMESPACE if Folder was specified
2004-01-30 23:39:39 +00:00
Oswald Buddenhagen
c2c4490431
following the "screw murphy" principle and commiting untested patch:
...
obey LOGINDISABLED
2004-01-30 23:35:50 +00:00
Oswald Buddenhagen
0e8455fde1
PREAUTH cannot come out of the blue
2004-01-27 21:01:15 +00:00
Oswald Buddenhagen
a7775798e3
cleanup around parse_fetch
2004-01-27 20:58:54 +00:00
Oswald Buddenhagen
f80f91d98b
make Tag int, move it to imap.c
2004-01-27 20:50:49 +00:00
Oswald Buddenhagen
1eb6e35c80
don't use STARTTLS for PREAUTH connections. uw-imap doesn't seem to like
...
it, and it does not make too much sense anyway - i think - state converse
opinions now.
2004-01-20 01:55:15 +00:00
Oswald Buddenhagen
b5307f0e16
another message output cleanup, still not perfect (info messages will be
...
interleaved with progress dots).
support specifying -q twice to suppress warnings as well.
2004-01-18 02:22:17 +00:00
Theodore Ts'o
0121220339
Optimized isync by not fetching the sizes of messages if they are
...
unneeded (i.e., if MaxSize is not specified in the config file).
Patch and idea originally from Nicolas Boullis <nboullis@debian.org>,
modified/polished by Theodore Ts'o per comments by Oswald Buddenhagen.
2004-01-12 01:24:47 +00:00
Oswald Buddenhagen
180f5fa201
sync uid database after every message. this is accompanied by a dbm ->
...
db4 migration. patch by theodore, with some final polishing by me.
2004-01-12 00:52:14 +00:00
Oswald Buddenhagen
3de16206e7
ignore anything that does not look remotely like a maildir when
...
collecting mailboxes for OneToOne.
2004-01-09 20:43:36 +00:00
Oswald Buddenhagen
52fb7c085d
add trailing space to password prompt
2003-12-07 15:36:38 +00:00
Oswald Buddenhagen
424db34ff2
make imaps: on the command line adjust the port and ssl options as well
2003-12-07 15:34:54 +00:00