Oswald Buddenhagen
|
92914b37cc
|
deal with UIDVALIDITY of 0 properly.
-REF: 20080822094543.GA3528@ugly.local
|
16 years ago |
Oswald Buddenhagen
|
0d8bce1675
|
give the implicitly created imap account config the name of the store.
|
17 years ago |
Oswald Buddenhagen
|
262999d092
|
make ssl certificate handling much more useful:
- system-wide ca certs are auto-loaded
- private certs are accepted even if they are self-signed
|
17 years ago |
Oswald Buddenhagen
|
06521da30d
|
- accept unset CertificateFile
- print the certificate's fingerprint
- make the certificate acceptance prompt much less scary
|
17 years ago |
Oswald Buddenhagen
|
89519e343c
|
ignore system flag extensions (\X-...)
|
17 years ago |
Oswald Buddenhagen
|
474923bc6b
|
compat wrapper: don't crash if neither host nor tunnel are specified.
fixes:
CCMAIL: 449006@bugs.debian.org
|
17 years ago |
Oswald Buddenhagen
|
71fce2a622
|
quote user name in generated config.
fixes:
CCMAIL: 456775@bugs.debian.org
|
17 years ago |
Oswald Buddenhagen
|
2f62a7f608
|
don't overlook 2nd and later single-letter options in last argument.
reported by fedora
-REF: <1197916586.13945.120.camel@localhost.localdomain>
|
17 years ago |
Oswald Buddenhagen
|
a365e20660
|
put pointers to bdb open() into parentheses, so they won't be
macro-expanded as libc open.
patch by fedora
-REF: <1197916586.13945.120.camel@localhost.localdomain>
|
17 years ago |
Oswald Buddenhagen
|
2b37288e8d
|
don't use #ifdef inside htons() arguments - it can be a macro.
-REF: <lyy7ezyjah.fsf@gfn.org>
CCMAIL: Scott Gifford <sgifford@suspectclass.com>
|
17 years ago |
Oswald Buddenhagen
|
42ca262e39
|
#ifdef __linux__ for the crash handler. it compiles on other platforms,
but the functionality is bound to linux' /proc structure.
|
18 years ago |
Oswald Buddenhagen
|
625f592fb7
|
fix crash due to uninited var when parsing IMAPServer. Thanks to
CCMAIL: Antoine Reilles <tonio@NetBSD.org>
REF: <20070118182534.GA22288@arcelot.loria.fr>
|
18 years ago |
Oswald Buddenhagen
|
023d3ee577
|
fix error paths wrt sync drivers
|
18 years ago |
Oswald Buddenhagen
|
9056504483
|
handle abnormal program exit during regtest
|
18 years ago |
Oswald Buddenhagen
|
6800f1636e
|
initialize mvars->t[1] to 1. helps enormously ... :}
|
18 years ago |
Oswald Buddenhagen
|
e0d72cd5e3
|
reverse-map <Inbox> to INBOX when encountered during listing.
usually this will be a no-op (when putting INBOX in Path, people
generally call it INBOX), but better safe than sorry.
|
18 years ago |
Oswald Buddenhagen
|
6985da5848
|
make compat wrapper default to current user for imap login
|
18 years ago |
Oswald Buddenhagen
|
0e8a8d120d
|
put INBOX in Maildir
|
18 years ago |
Oswald Buddenhagen
|
2a9b0bd763
|
don't crash on truncating database. seems to affect only some bdb
versions (e.g., 4.2).
|
18 years ago |
Oswald Buddenhagen
|
9b657a46a0
|
fix bug in newline conversion causing buffer overflows.
this leads to segfaults and has some security impact.
|
19 years ago |
Oswald Buddenhagen
|
617d1a6e49
|
memmove for overlapping mem copies.
|
19 years ago |
Oswald Buddenhagen
|
1b9f8b4c69
|
glibc seems to be *really* fucked up.
|
19 years ago |
Oswald Buddenhagen
|
d2463a4cd8
|
work around glibc bug: printf("%.*s", INT_MAX, s) tries to allocate 2G.
|
19 years ago |
Oswald Buddenhagen
|
9b7c09e4b6
|
enable the old account naming scheme to deal with duplicated ip
addresses.
this is not incompatible - previously, it would just create garbage.
|
19 years ago |
Oswald Buddenhagen
|
aea4be19e3
|
create more descriptive account names, so password prompts look sane.
the channel names follow the old scheme, though - they are used to
compose sync state file names, and i don't feel like writing a migrator
for this.
|
19 years ago |
Oswald Buddenhagen
|
4bf58c3e97
|
don't crash in imap driver when Host is not specified.
|
19 years ago |
Oswald Buddenhagen
|
c8275e2aa7
|
be *slightly* more explicit about which options Tunnel makes
superfluous.
|
19 years ago |
Oswald Buddenhagen
|
dbbab78881
|
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).
|
19 years ago |
Oswald Buddenhagen
|
67b714ee0e
|
move assigning default port to the place of use
|
19 years ago |
Oswald Buddenhagen
|
f6f2d2461c
|
add comment
|
19 years ago |
Oswald Buddenhagen
|
21abb22c98
|
seen messages are eligible for expiration even if they are recent in the
mailbox.
|
19 years ago |
Oswald Buddenhagen
|
8a748d046d
|
no/empty mailbox name means INBOX
|
19 years ago |
Oswald Buddenhagen
|
168e5f3282
|
make the driver model, sync_chans() and sync_boxes() fully async.
async drivers to follow ...
|
19 years ago |
Oswald Buddenhagen
|
bdcc285403
|
unscrew lf=>crlf conversion and tuid insertion
|
19 years ago |
Oswald Buddenhagen
|
16eaf903db
|
ok, mismerging and not running the reg-tests is lame. unscrew expunging
again.
|
19 years ago |
Oswald Buddenhagen
|
c7903f8003
|
don't enter trash loop if not trashing at all. also, move expunge
message where it belongs. not adding info("trashing"), as it will be
replaced in a moment anyway.
|
19 years ago |
Oswald Buddenhagen
|
b5d70aa596
|
async merge: aggregate most variables of main() & sync_boxes() in
main_vars_t resp. sync_vars_t.
also some minor var renames, whitespace, comments.
|
19 years ago |
Oswald Buddenhagen
|
f90b290650
|
split box list preparation from "consumption".
|
19 years ago |
Oswald Buddenhagen
|
72a2d4b690
|
info() about opening of stores
|
19 years ago |
Oswald Buddenhagen
|
b7389cb36f
|
do not repeatedly get namespace from server.
|
19 years ago |
Oswald Buddenhagen
|
340bfcc4a8
|
handle socket() failure and correctly report gethostbyname() failure.
|
19 years ago |
Oswald Buddenhagen
|
3e3cf3ac9a
|
update copyrights
|
19 years ago |
Oswald Buddenhagen
|
7f9ece8e7e
|
move whole responsibility for recycling open stores/server connections
to the drivers.
|
19 years ago |
Oswald Buddenhagen
|
47e592b603
|
keep the result of driver->list() and a flag whether it is valid in the store.
|
19 years ago |
Oswald Buddenhagen
|
861dd7468e
|
aggregate all (two ...) drivers in an array instead of naming them in
each (one ...) location explicitly.
|
19 years ago |
Oswald Buddenhagen
|
492ca8d332
|
whitespace and code verbosity
|
19 years ago |
Oswald Buddenhagen
|
31fc41a32c
|
merge imap_t into imap_store_t - there is really no point in having them
separated.
|
19 years ago |
Oswald Buddenhagen
|
d7126dca5e
|
"fprintf( stderr," => "error(". new functions debugn() and infon()
for messages with missing newline; warn() and error() act upon this.
|
19 years ago |
Oswald Buddenhagen
|
bb7bbcf5b1
|
make config parsing more robust against bogus input and report errors
more clearly.
|
19 years ago |
Oswald Buddenhagen
|
fbbb86738b
|
factor out box selection from sync_boxes to avoid code dupe
|
19 years ago |