Oswald Buddenhagen
2074a7ab03
backport: memmove for overlapping mem copies.
2011-11-29 22:40:39 +01:00
Oswald Buddenhagen
1af2cfde4f
fix UIDNEXT handling
...
UIDNEXT *can* be legally zero, so deal with it.
-REFMAIL: 4CA62BA1.4020104@lemma.co.uk
2010-10-03 14:34:16 +02:00
Oswald Buddenhagen
2d5a73c55d
don't hang after failed start_tls()
...
we'd send a LOGOUT command in plain text while the server was already
expecting an encrypted command, which would typically lead to waiting
for more data and thus an indefinite hang.
so close the socket immediately instead of letting the normal shutdown
path take care of it.
inspired by a patch by Steven Flintham.
-REFMAIL: 4C9AB98E.3000400@lemma.co.uk
2010-10-03 12:05:40 +02:00
Oswald Buddenhagen
608a2863e0
handle failure to store message. this helps with invalid messages like
...
0-byte files after crashes.
2009-03-21 16:05:51 +00:00
Oswald Buddenhagen
b546877d70
bump version
2009-03-21 14:11:07 +00:00
Oswald Buddenhagen
d47cca7dd9
backport: deal with UIDVALIDITY of 0 properly.
...
CCMAIL: skinner@destiny-denied.co.uk
-REF: 20080822094543.GA3528@ugly.local
2008-08-23 07:55:15 +00:00
Oswald Buddenhagen
d2ccc93584
backport: give the implicitly created imap account config the name of
...
the store.
2008-04-13 09:57:27 +00:00
Oswald Buddenhagen
dff2f6a9f5
backport: compat wrapper: don't crash if neither host nor tunnel are
...
specified.
2008-02-23 14:19:13 +00:00
Oswald Buddenhagen
5e43508aec
bump version
2008-02-23 09:41:19 +00:00
Oswald Buddenhagen
8616ed393d
regen
2008-02-23 09:39:10 +00:00
Oswald Buddenhagen
6636d7ebb7
backport: quote user name in generated config.
2008-02-23 09:38:00 +00:00
Oswald Buddenhagen
e161af47bb
backport: don't overlook 2nd and later single-letter options in last
...
argument.
2008-02-23 09:22:06 +00:00
Oswald Buddenhagen
1b9b5f8bfd
backport: put pointers to bdb open() into parentheses, so they won't be
...
macro-expanded as libc open.
2008-02-23 09:03:22 +00:00
Oswald Buddenhagen
5d03247bec
backport: don't use #ifdef inside htons() arguments - it can be a macro.
2007-09-22 08:49:05 +00:00
Oswald Buddenhagen
0d27c5f4cb
avoid crash in case of a rather weird (==misconfigured?) sync state
...
location.
2007-04-04 17:55:13 +00:00
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 ...
2007-04-04 13:27:24 +00:00
Oswald Buddenhagen
9a0539868a
backport: fix crash due to uninited var when parsing IMAPServer.
...
-REF: <E1HFuIM-00041h-Nn@sc8-pr-cvs2.sourceforge.net>
2007-02-10 15:41:32 +00:00
Oswald Buddenhagen
43f23fb180
backport: reverse-map <Inbox> to INBOX when encountered during listing.
2006-11-18 13:17:31 +00:00
Oswald Buddenhagen
d51a91aeba
backport: make compat wrapper default to current user for imap login
2006-11-09 18:01:27 +00:00
Oswald Buddenhagen
f7ba199d35
re-gen
2006-11-03 13:06:01 +00:00
Oswald Buddenhagen
a54459af1c
add target for creating signed package
2006-11-03 13:05:34 +00:00
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)
2006-11-01 07:19:26 +00:00
Oswald Buddenhagen
6494cfc438
backport: move assigning default port to the place of use
2006-11-01 07:14:50 +00:00
Oswald Buddenhagen
afc48600fa
bump version
2006-11-01 06:33:37 +00:00
Oswald Buddenhagen
4b70d9b96c
backport: put INBOX in Maildir
2006-11-01 06:20:56 +00:00
Oswald Buddenhagen
41c4e0d681
backport: don't crash on truncating db
2006-10-24 17:39:24 +00:00
Oswald Buddenhagen
b6c6299ea6
another attempt at working around glibc breakage.
2006-07-31 05:31:17 +00:00
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
3f1009a839
regen
2006-01-31 16:17:18 +00:00
Oswald Buddenhagen
fd3f4f33ff
bump version
2006-01-31 15:45:15 +00:00
Oswald Buddenhagen
314287cbb4
backport: deal with branches in "make log"
2006-01-31 15:21:35 +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
1a77d2e650
re-gen
2005-03-28 12:23:17 +00:00
Oswald Buddenhagen
bf4266eadc
quote CREATE argument
2005-03-28 10:43:31 +00:00
Oswald Buddenhagen
7e31f95470
re-gen
2005-03-28 10:32:17 +00:00
Oswald Buddenhagen
7f26ca3c0a
bump version
2005-03-28 10:26:56 +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