Oswald Buddenhagen
c07eb05e61
make path expansion match docu: paths are relative to ~
...
the current behavior of being relative to the current directory sort of
makes no sense, and contradicts the docu.
(cherry picked from commit da5ce5d8f4
)
12 years ago
Oswald Buddenhagen
c359306374
disable SSLv2 by default in the wrapper as well
...
(cherry picked from commit 312f4be4b2
)
12 years ago
Oswald Buddenhagen
a772806aea
downcast time_t to long for printing
...
time_t may be long long. to keep the sprintf format strings simple, just
downcast - this is not going to be a problem for the next 30 years, and
until then long will be 64-bit everywhere anyway.
suggested 3.5 years ago by Antoine Reilles <tonio@NetBSD.org>.
(cherry picked from commit 89add4f330
)
Conflicts:
src/drv_maildir.c
12 years ago
Oswald Buddenhagen
4dc7e17f3e
fix a bunch of warnings
...
(cherry picked from commit 61d98c5a1d
)
Conflicts:
src/drv_imap.c
src/sync.c
12 years ago
Oswald Buddenhagen
f8a913ac80
avoid preprocessor warnings on missing features: #if => #ifdef
...
(cherry picked from commit 4afd31a457
)
Conflicts:
src/drv_imap.c
12 years ago
Oswald Buddenhagen
af863bb601
bump version
12 years ago
Oswald Buddenhagen
c4824c8f38
fix CVE-2013-0289: add SSL subject verification
...
we did not check a valid certificate's subject at all so far.
this is no problem if the certificate file contains only exactly the
wanted host's certificate - before revision 04fdf7d1
(dec 2000, < v0.4),
this was even enforced (more or less - if the peer cert had been
signed directly by a root cert, it would be accepted as well).
however, when the file contains root certificates (like the system-wide
certificate file typically does), any host with a valid certificate
could pretend to be the wanted host.
12 years ago
Oswald Buddenhagen
9f1320ff0c
disable debian stuff when shadow-building
...
the stuff needs to be run in the source dir and modifies it, which is a
bit against the idea of a shadow build.
fixes "make distcheck".
13 years ago
Oswald Buddenhagen
e895cd11f7
cvsignore => gitignore
...
(cherry picked from commit 4729b1ee23
)
13 years ago
Oswald Buddenhagen
b6ae600419
adjust ChangeLog generation to git
...
now that log generation is cheap, don't store it in the SCM any more.
(cherry picked from commit 474ce08b3a
)
13 years ago
Oswald Buddenhagen
2074a7ab03
backport: memmove for overlapping mem copies.
13 years ago
Oswald Buddenhagen
1af2cfde4f
fix UIDNEXT handling
...
UIDNEXT *can* be legally zero, so deal with it.
-REFMAIL: 4CA62BA1.4020104@lemma.co.uk
14 years ago
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
14 years ago
Oswald Buddenhagen
608a2863e0
handle failure to store message. this helps with invalid messages like
...
0-byte files after crashes.
16 years ago
Oswald Buddenhagen
b546877d70
bump version
16 years ago
Oswald Buddenhagen
d47cca7dd9
backport: deal with UIDVALIDITY of 0 properly.
...
CCMAIL: skinner@destiny-denied.co.uk
-REF: 20080822094543.GA3528@ugly.local
17 years ago
Oswald Buddenhagen
d2ccc93584
backport: give the implicitly created imap account config the name of
...
the store.
17 years ago
Oswald Buddenhagen
dff2f6a9f5
backport: compat wrapper: don't crash if neither host nor tunnel are
...
specified.
17 years ago
Oswald Buddenhagen
5e43508aec
bump version
17 years ago
Oswald Buddenhagen
8616ed393d
regen
17 years ago
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
f7ba199d35
re-gen
18 years ago
Oswald Buddenhagen
a54459af1c
add target for creating signed package
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
afc48600fa
bump version
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
3f1009a839
regen
19 years ago
Oswald Buddenhagen
fd3f4f33ff
bump version
19 years ago
Oswald Buddenhagen
314287cbb4
backport: deal with branches in "make log"
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