[commit] async: add simple mainloop implementation

2011-04-10 Thread Oswald Buddenhagen
commit 129718d71af9294792a1fe035aee63e4f4a2e182 Author: Oswald Buddenhagen o...@kde.org Date: Sun Mar 13 14:29:12 2011 +0100 add simple mainloop implementation not used so far configure.in |2 +- src/isync.h | 14 src/main.c |1 + src/util.c | 170

[commit] async: fully asynchronous IMAP operation

2011-04-10 Thread Oswald Buddenhagen
commit ac66c19a81164f02505e0829278c8446b301d4e8 Author: Oswald Buddenhagen o...@kde.org Date: Sun Mar 27 12:59:44 2011 +0200 fully asynchronous IMAP operation - asynchronous sockets using an event loop - connect starttls have completion callback parameters - callbacks

[commit] async: get rid of redundant literal_pending state flag

2011-04-10 Thread Oswald Buddenhagen
commit b5b0751f35a3232ee93c7af996a582382c8c2c95 Author: Oswald Buddenhagen o...@kde.org Date: Sat Mar 12 16:16:42 2011 +0100 get rid of redundant literal_pending state flag src/drv_imap.c | 15 +++ 1 files changed, 7 insertions(+), 8 deletions(-) diff --git a/src/drv_imap.c

[commit] async: centralize imap_cmd_refcounted_state refcount decrementing

2011-04-10 Thread Oswald Buddenhagen
commit 06b180fe03d469f41f62442398172a89b7298564 Author: Oswald Buddenhagen o...@kde.org Date: Sun Mar 20 18:23:09 2011 +0100 centralize imap_cmd_refcounted_state refcount decrementing no else branches remain, so the if() can be put into imap_refcounted_done() src/drv_imap.c

[commit] async: compile with -ansi -pedantic on gcc

2011-04-10 Thread Oswald Buddenhagen
commit 40a0383dc0124c334ac64d13091d2aa8ca375bd8 Author: Oswald Buddenhagen o...@kde.org Date: Sun Mar 13 15:03:59 2011 +0100 compile with -ansi -pedantic on gcc greatly helps portability ... configure.in|3 ++- src/drv_imap.c | 12 ++-- src/mdconvert.c |2

[commit] async: enlarge receive buffer considerably

2011-04-10 Thread Oswald Buddenhagen
commit 890f607082b8d879c7b6b3e2f7dd7eb4cf7eb782 Author: Oswald Buddenhagen o...@kde.org Date: Sun Mar 27 17:50:13 2011 +0200 enlarge receive buffer considerably the tiny buffer makes no sense in the face of huge payloads and now additionally masses of replies from pipelined

[commit] async: don't complain about disappearing temp files

2011-04-10 Thread Oswald Buddenhagen
commit 65f329c56ad24b80a502f0760c23b4693eec2e75 Author: Oswald Buddenhagen o...@kde.org Date: Sun Mar 27 20:39:53 2011 +0200 don't complain about disappearing temp files some other process might be cleaning up concurrently ... src/drv_maildir.c | 11 ++- 1 files changed

[commit] async: unify error reporting

2011-04-10 Thread Oswald Buddenhagen
commit 9338c9a85469715964df85050574df97c9e1340a Author: Oswald Buddenhagen o...@kde.org Date: Sun Apr 10 15:32:25 2011 +0200 unify error reporting - introduce sys_error() and use it instead of perror() and error(strerror()) in all expected error conditions - perror

[commit] async: clearer debug msg

2011-04-10 Thread Oswald Buddenhagen
commit b249aaf3174e1de1743dc864bd8af877e02cd2b3 Author: Oswald Buddenhagen o...@kde.org Date: Sun Apr 3 11:29:33 2011 +0200 clearer debug msg src/sync.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/sync.c b/src/sync.c index fa8825a..85f529a 100644

[commit] async: replace FSF address with something more ... contemporary

2011-04-10 Thread Oswald Buddenhagen
commit 4c7e01c5d23fbdc646e2fc201753f1d5dedb868b Author: Oswald Buddenhagen o...@kde.org Date: Sun Apr 10 19:34:36 2011 +0200 replace FSF address with something more ... contemporary src/compat/config.c |3 +-- src/compat/convert.c |3 +-- src/compat/isync.1 |3 +-- src

Re: mbsync hang, ANNOUNCE: socketwatch, and mbsync exit

2011-07-18 Thread Oswald Buddenhagen
hi, On Sun, Jul 17, 2011 at 09:25:26PM -0700, Chris Frost wrote: I've noticed, for a few years or more, that mbsync will sometimes appear to hang. i remember we talked about that before. i suppose you did not make progress investigating this? irrespective of particular bugs, mbsync should get

[commit] branch 'async' reset

2011-08-05 Thread Oswald Buddenhagen
The branch 'async', previously at 576cf01, has been rewound by 55 revision(s) and subsequently fast-forwarded by 63 revision(s) to a0ed360. -- BlackBerryreg; DevCon Americas, Oct. 18-20, San Francisco, CA The must-attend

Re: Why is inbox not relative to path?

2012-02-06 Thread Oswald Buddenhagen
On Mon, Feb 06, 2012 at 03:34:07PM +, Allan Wind wrote: Perhaps it would be less surprising to have relatively paths to Path instead of $HOME? maybe. the doc and the reality don't agree with each other anyway. this was discussed on this list before.

Re: How do I get mbsync to remove mail on the IMAP server?

2012-03-28 Thread Oswald Buddenhagen
On Wed, Mar 28, 2012 at 10:39:33AM -0600, Mark Anderson wrote: It looks like moving it to global scope in the configuration file helped out. ok, thanks. Anything you need to help you debug what's wrong? probably not. when i'll have the time to actually fix it is an entirely different

Re: NO Mailbox doesn't exist

2012-04-10 Thread Oswald Buddenhagen
On Mon, Apr 09, 2012 at 10:13:51PM +, Bartsch, Rene wrote: Is there any alternative which can do a full backup of a remote IMAP-account to a local Gentoo host (MailDir or MBOX format)? yes, you just need to implement the recursion manually. IMAPStore foobar Host mail.foobar.com

Re: documentation/behavior

2012-06-02 Thread Oswald Buddenhagen
hi abe, On Fri, Jun 01, 2012 at 03:00:33PM -0600, Abe Singer wrote: MapInbox Create a virtual mailbox (relative to PAth)... which is backed by the INBOX * I have no idea what backed by the INBOX means it means that the inbox is the data source for this virtual folder. in

Re: async branch stability; recursive IMAP = IMAP sync

2012-07-02 Thread Oswald Buddenhagen
On Mon, Jul 02, 2012 at 11:58:54AM -0400, Dave Abrahams wrote: I don't want to get myself into yet another nightmarish mail problem, so I'm looking for some feedback on how safe this is and whether it's worth a try at all before I attempt to do it. it won't eat your mail (afaik), but it will

[commit] branch 'async' reset

2012-07-07 Thread Oswald Buddenhagen
The branch 'async', previously at a0ed360, has been rewound by 63 revision(s) and subsequently fast-forwarded by 63 revision(s) to 9a7c784. -- Live Security Virtual Conference Exclusive live event will cover all the ways

[commit] branch 'async' reset

2012-07-23 Thread Oswald Buddenhagen
The branch 'async', previously at 9a7c784, has been rewound by 53 revision(s) and subsequently fast-forwarded by 55 revision(s) to 28ef2dc. -- Live Security Virtual Conference Exclusive live event will cover all the ways

Re: Upload Into Gmail Label

2012-07-23 Thread Oswald Buddenhagen
On Mon, Jul 23, 2012 at 10:52:49AM -0400, Kevin Houlihan wrote: I'm trying to sync new messages in the inbox of an email address to a label in a gmail address. https://developers.google.com/google-apps/gmail/imap_extensions indicates that clients need special support for that - which mbsync

[commit] branch 'async' reset

2012-07-29 Thread Oswald Buddenhagen
The branch 'async', previously at d0a1443, has been rewound by 49 revision(s) and subsequently fast-forwarded by 49 revision(s) to 2ef915e. -- Live Security Virtual Conference Exclusive live event will cover all the ways

Re: [commit] branch 'async' reset

2012-08-12 Thread Oswald Buddenhagen
On Sun, Aug 12, 2012 at 02:20:27PM +, Oswald Buddenhagen wrote: The branch 'async', previously at 2ef915e, has been rewound by 43 revision(s) and subsequently fast-forwarded by 46 revision(s) to 780edb7. this is pretty good now - no funny effects any more. i'm trusting it my production

[commit] branch 'async' reset

2012-08-25 Thread Oswald Buddenhagen
The branch 'async', previously at 780edb7, has been rewound by 42 revision(s) and subsequently fast-forwarded by 49 revision(s) to 514abc3. -- Live Security Virtual Conference Exclusive live event will cover all the ways

[commit] branch 'async' reset

2012-08-26 Thread Oswald Buddenhagen
The branch 'async', previously at 514abc3, has been rewound by 7 revision(s) and subsequently fast-forwarded by 7 revision(s) to b7b4d58. -- Live Security Virtual Conference Exclusive live event will cover all the ways

[commit] branch 'async' reset

2012-08-26 Thread Oswald Buddenhagen
The branch 'async', previously at b7b4d58, has been rewound by 4 revision(s) and subsequently fast-forwarded by 6 revision(s) to 63b3ff7. -- Live Security Virtual Conference Exclusive live event will cover all the ways

[commit] master: fix a bunch of warnings

2012-09-01 Thread Oswald Buddenhagen
commit 378da8ad0d8865eac3ac690a34fa8a1ce40db8a3 Author: Oswald Buddenhagen o...@kde.org Date: Sat Jul 7 17:19:17 2012 +0200 fix a bunch of warnings src/compat/convert.c |4 ++-- src/drv_imap.c |2 +- src/drv_maildir.c|2 +- src/sync.c |6 +++--- 4 files

[commit] master: de-duplicate error paths

2012-09-01 Thread Oswald Buddenhagen
commit ffe569ce305c163201b2cf97772d515de9c0e025 Author: Oswald Buddenhagen o...@kde.org Date: Sun Apr 10 09:58:41 2011 +0200 de-duplicate error paths makes the code more compact. yay for gotos. src/sync.c | 72 +--- 1 files

[commit] master: purge imap_store_t::currentnc vestiges

2012-09-01 Thread Oswald Buddenhagen
commit 1e659c275425d6296a1dddbb48aad67a85ecf9f1 Author: Oswald Buddenhagen o...@kde.org Date: Mon Nov 15 10:30:24 2010 +0100 purge imap_store_t::currentnc vestiges we always actually open the mailbox before appending to it, so we obviously know that it exists - that's why

[commit] master: after [TRYCREATE], just resend the same command instead of cloning it

2012-09-01 Thread Oswald Buddenhagen
commit e12c4f563eed973d64ee2eedb1f24322c0fa5828 Author: Oswald Buddenhagen o...@kde.org Date: Sat Nov 20 10:17:41 2010 +0100 after [TRYCREATE], just resend the same command instead of cloning it src/drv_imap.c | 18 +++--- 1 files changed, 7 insertions(+), 11 deletions

[commit] master: remove redundant use_ssl variables

2012-09-01 Thread Oswald Buddenhagen
commit 0969c96d8545a40600d6d63b5b9ca54b8c47f76c Author: Oswald Buddenhagen o...@kde.org Date: Wed Dec 15 19:01:27 2010 +0100 remove redundant use_ssl variables just use the presence of an SSL object as an indicator. if something goes wrong during the ssl handshake

[commit] master: DRV_SERVER_BAD is and will probably stay unused = trash

2012-09-01 Thread Oswald Buddenhagen
commit a05e2646adf946029353e55c9bf7d43d6960c9c7 Author: Oswald Buddenhagen o...@kde.org Date: Sat Nov 20 23:48:23 2010 +0100 DRV_SERVER_BAD is and will probably stay unused = trash src/isync.h |3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) diff --git a/src/isync.h b/src

[commit] master: always use return value from get_cmd_result()

2012-09-01 Thread Oswald Buddenhagen
commit 39142eb0e1589200f44775002f75a13f603a6b8e Author: Oswald Buddenhagen o...@kde.org Date: Sun Mar 20 13:45:42 2011 +0100 always use return value from get_cmd_result() once we have callback-based error reporting, this will ensure that we don't operate on invalidated data

[commit] master: don't decode aux pointer on DRV_CANCELED

2012-09-01 Thread Oswald Buddenhagen
commit 08f5a625b0cbf26f11da63f08d51237d91b20516 Author: Oswald Buddenhagen o...@kde.org Date: Sun Jun 17 14:52:46 2012 +0200 don't decode aux pointer on DRV_CANCELED the aux data was already free()d by the error callback by the time we get this status code. src/sync.c | 110

[commit] master: don't access free'd memory in cancel_sync()

2012-09-01 Thread Oswald Buddenhagen
commit 27427f4f56df8166fc59d2475eee1322c7f07f87 Author: Oswald Buddenhagen o...@kde.org Date: Sun Jul 22 17:46:54 2012 +0200 don't access free'd memory in cancel_sync() as it happens, the 1st round *may* trash svars - if we get the cancelation request after the slave store has

[commit] master: don't call cancel() repeatedly on a store

2012-09-01 Thread Oswald Buddenhagen
commit e4fb0f457faceb75fd7f3f4210f28ffdd5634850 Author: Oswald Buddenhagen o...@kde.org Date: Sun Apr 3 16:29:18 2011 +0200 don't call cancel() repeatedly on a store erroring command replies will trickle in even after canceling src/sync.c |7 +-- 1 files changed, 5

[commit] master: replace DRV_STORE_BAD with a separate bad_callback()

2012-09-01 Thread Oswald Buddenhagen
commit 5fc409ac86bd5bbfd611ee65494b1e282ae241d0 Author: Oswald Buddenhagen o...@kde.org Date: Sun Jul 15 12:55:04 2012 +0200 replace DRV_STORE_BAD with a separate bad_callback() that way we don't have to piggy-back (possibly asynchronous) fatal errors to particular commands

[commit] master: fix error paths wrt sync drivers, take 2

2012-09-01 Thread Oswald Buddenhagen
commit 57e48f0118bacf555ca7b361b6c5f7d44345d700 Author: Oswald Buddenhagen o...@kde.org Date: Sun Jul 29 23:14:48 2012 +0200 fix error paths wrt sync drivers, take 2 synchronous error codes which are passed through callbacks aren't a particularly good idea, after all: latest

[commit] master: make callbacks return early when canceling

2012-09-01 Thread Oswald Buddenhagen
commit b37f28daecd6269935d43c744c016662a19779a3 Author: Oswald Buddenhagen o...@kde.org Date: Sun Jul 29 23:15:12 2012 +0200 make callbacks return early when canceling even after driver-cancel() the store may complete commands successfully. return early in this case, so we

[commit] master: security fix: failure to load the certificate file is *not* OK ...

2012-09-01 Thread Oswald Buddenhagen
commit 8d60732360ac8934050ab4eea636a26206c6 Author: Oswald Buddenhagen o...@kde.org Date: Sun Apr 10 13:28:48 2011 +0200 security fix: failure to load the certificate file is *not* OK ... src/socket.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src

[commit] master: make imap_exec() result reporting callback-based

2012-09-01 Thread Oswald Buddenhagen
commit 6894a1fd0f0e5ebfc82a49d7530423609366a5fe Author: Oswald Buddenhagen o...@kde.org Date: Sun Apr 3 18:15:36 2011 +0200 make imap_exec() result reporting callback-based this makes the IMAP command submission interface asynchronous. the functions still have synchronous

[commit] master: add simple mainloop implementation

2012-09-01 Thread Oswald Buddenhagen
commit 57a7ef438ce5febf231fa8adf88f9ed96aeb3bf3 Author: Oswald Buddenhagen o...@kde.org Date: Sun Mar 13 14:29:12 2011 +0100 add simple mainloop implementation not used so far configure.in |2 +- src/isync.h | 14 src/main.c |1 + src/util.c | 167

[commit] master: fully asynchronous IMAP operation

2012-09-01 Thread Oswald Buddenhagen
commit c84f4a8a5d00bba20caa1c6c672d3db2a3e9fb94 Author: Oswald Buddenhagen o...@kde.org Date: Sat Aug 25 18:26:23 2012 +0200 fully asynchronous IMAP operation - asynchronous sockets using an event loop - connect starttls have completion callback parameters - callbacks

[commit] master: centralize imap_cmd_refcounted_state refcount decrementing

2012-09-01 Thread Oswald Buddenhagen
commit 720de7760e51356380237ec3cada442005edf450 Author: Oswald Buddenhagen o...@kde.org Date: Sun Mar 20 18:23:09 2011 +0100 centralize imap_cmd_refcounted_state refcount decrementing no else branches remain, so the if() can be put into imap_refcounted_done() src/drv_imap.c

[commit] master: compile with -ansi -pedantic on gcc

2012-09-01 Thread Oswald Buddenhagen
commit 36a7682a20e7ae313734c8f31095da82cfa1 Author: Oswald Buddenhagen o...@kde.org Date: Sun Mar 13 15:03:59 2011 +0100 compile with -ansi -pedantic on gcc greatly helps portability ... configure.in|2 +- src/drv_imap.c | 12 ++-- src/mdconvert.c |2

[commit] master: enlarge receive buffer considerably

2012-09-01 Thread Oswald Buddenhagen
commit 1ca0b4c9fbc5b7b1867f0e0a2b8b9d8540396209 Author: Oswald Buddenhagen o...@kde.org Date: Sun Mar 27 17:50:13 2011 +0200 enlarge receive buffer considerably the tiny buffer makes no sense in the face of huge payloads and now additionally masses of replies from pipelined

[commit] master: cleanup maildir error paths

2012-09-01 Thread Oswald Buddenhagen
commit 2e74fd9c37d13aaf56fe2ba936efca7c403b9ddc Author: Oswald Buddenhagen o...@kde.org Date: Sun May 22 17:53:28 2011 +0200 cleanup maildir error paths don't try to unlock and close databases and files - this will happen a moment later anyway, through cancelation or re

[commit] master: reject qualified mailboxes with the magic name INBOX

2012-09-01 Thread Oswald Buddenhagen
commit a91d7e4c28665e3944149aabcbb76f2e7205afea Author: Oswald Buddenhagen o...@kde.org Date: Thu Jun 2 19:21:19 2011 +0200 reject qualified mailboxes with the magic name INBOX otherwise we couldn't tell them apart from the real INBOX after stripping away the Path. src

[commit] master: don't crash when select() on master fails synchronously

2012-09-01 Thread Oswald Buddenhagen
commit 33484cfbd42690a9e980c9f4a7606b62830e1940 Author: Oswald Buddenhagen o...@kde.org Date: Sat Aug 25 15:34:26 2012 +0200 don't crash when select() on master fails synchronously svars-drv[S] would not be initialized yet, so cancel_sync() would crash. src/sync.c |4

[commit] master: refactor: imap_select2_p2 = imap_refcounted_done_box

2012-09-01 Thread Oswald Buddenhagen
commit fa09e3b0ffcb4dc859af66543622fa5a4c6e6ef2 Author: Oswald Buddenhagen o...@kde.org Date: Mon Jun 13 12:13:31 2011 +0200 refactor: imap_select2_p2 = imap_refcounted_done_box soon, we'll use it for something different, too src/drv_imap.c | 37

[commit] master: add support for hierarchical mailboxes

2012-09-01 Thread Oswald Buddenhagen
commit 4f17ae1c3dc738cd4da5c61c2d5e0789cb8315b5 Author: Oswald Buddenhagen o...@kde.org Date: Sat Aug 11 18:34:46 2012 +0200 add support for hierarchical mailboxes configure.in |2 +- src/drv_imap.c| 142 + src/drv_maildir.c | 139

[commit] master: introduce ability to flatten the hierarchy of Stores

2012-09-01 Thread Oswald Buddenhagen
commit 46389fba6480163d673d0a8920387a11db971e36 Author: Oswald Buddenhagen o...@kde.org Date: Sat Aug 18 13:58:14 2012 +0200 introduce ability to flatten the hierarchy of Stores src/config.c | 13 - src/isync.h |4 +++- src/main.c |9 + src/mbsync.1 | 12

[commit] master: make use of UID EXPUNGE

2012-09-01 Thread Oswald Buddenhagen
commit bdec3efbfbe8d28d5bee8b21d04f99ac094a4cc4 Author: Oswald Buddenhagen o...@kde.org Date: Sat Aug 25 20:30:04 2012 +0200 make use of UID EXPUNGE src/drv_imap.c | 38 ++ src/mbsync.1 | 12 ++-- 2 files changed, 40 insertions(+), 10

[commit] master: use a hash table for message = sync record lookup

2012-09-01 Thread Oswald Buddenhagen
commit d576755380080653a385ac474b34b082396fca66 Author: Oswald Buddenhagen o...@kde.org Date: Sun Aug 26 13:36:12 2012 +0200 use a hash table for message = sync record lookup this removes the pathological O(number of sync records * number of new messages) case at the cost

[commit] master: fix rpm packaging

2012-09-01 Thread Oswald Buddenhagen
commit 06ebf085e4e5d38f8166c3f69b5c6d3da9806246 Author: Oswald Buddenhagen o...@kde.org Date: Sun Aug 26 15:02:38 2012 +0200 fix rpm packaging Makefile.am |9 + isync.spec.in |4 ++-- 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/Makefile.am b

[commit] master: update debian packaging

2012-09-01 Thread Oswald Buddenhagen
commit a206d294674ca9962b9dd350290b0561d7589f49 Author: Oswald Buddenhagen o...@kde.org Date: Sun Aug 26 16:16:12 2012 +0200 update debian packaging Makefile.am | 14 ++-- debian/{.cvsignore = .gitignore} |2 +- debian/changelog | 141

[commit] master: replace FSF address with something more ... contemporary

2012-09-01 Thread Oswald Buddenhagen
commit 8b790e74399143b7a6e47432a015e5ea7dbcf2a8 Author: Oswald Buddenhagen o...@kde.org Date: Sun Apr 10 19:34:36 2011 +0200 replace FSF address with something more ... contemporary debian/copyright |3 +-- src/compat/config.c |3 +-- src/compat/convert.c |3 +-- src

[commit] master: install the config examples to docdir

2012-09-01 Thread Oswald Buddenhagen
commit f3fe7a41f6af410858416fe855fd90b0523a05ab Author: Oswald Buddenhagen o...@kde.org Date: Sun Aug 26 16:29:37 2012 +0200 install the config examples to docdir src/Makefile.am|6 +- src/compat/Makefile.am |6 +- 2 files changed, 10 insertions(+), 2 deletions

[commit] master: make config parser a bit more careful about quotes

2012-09-15 Thread Oswald Buddenhagen
commit 8fdd74013d2ab6f5b07646abb8a8a48b9d3c38d0 Author: Oswald Buddenhagen o...@kde.org Date: Sat Sep 15 11:24:57 2012 +0200 make config parser a bit more careful about quotes the parsing is more shell-like now: - quoted and unquoted parts can be mixed in one argument

[commit] master: store config error status in conffile_t object

2012-09-15 Thread Oswald Buddenhagen
commit bbe79dedc88498035179c4fa2c45e9b3ddea1532 Author: Oswald Buddenhagen o...@kde.org Date: Sat Sep 15 11:46:42 2012 +0200 store config error status in conffile_t object this makes passing it around more straight-forward src/config.c | 37

Re: Sync issues

2012-10-30 Thread Oswald Buddenhagen
On Tue, Oct 30, 2012 at 10:40:35AM -0400, Dave Abrahams wrote: 1. The manpage is inconsistent on whether it's Sync All or Sync Full in the config file. right, i was supposed to fix this. both work, though. 2. I'm not seeing deletions in my INBOX on the server (GMail) propagate down to

Re: Feature Request

2012-11-02 Thread Oswald Buddenhagen
On Thu, Nov 01, 2012 at 12:53:58PM +0200, Ciprian Dorin Craciun wrote: * but for other authentication types (like `X-OAUTH` in case of Gmail) it could have delegated the SASL dance to an external command; bidirectional process communication is a lot harder to do. anyway, i have to see

Re: Getting stuck

2012-11-25 Thread Oswald Buddenhagen
On Fri, Nov 23, 2012 at 06:17:47PM -0500, Dave Abrahams wrote: Well, that was a dismal failure. Any further hints you'd like to give about what simple timer support means, the main loop (event_wait(), bottom of src/util.c) needs to handle timers as well. use a dynamic array (managed like the

Re: IMAP date stamp preservation

2012-12-06 Thread Oswald Buddenhagen
On Tue, Dec 04, 2012 at 04:06:27PM +0800, math...@legrand.im wrote: Hence my question: would it be possible to add to isync the ability to preserve that timestamp from the original IMAP server? Isn't the date stamp part of the metadata read from the IMAP envelope? see

Re: mbsync through Socks5 proxy

2012-12-20 Thread Oswald Buddenhagen
On Thu, Dec 20, 2012 at 09:57:37AM +0100, Baptiste Fouques wrote: I have trouble making mbsync connect to gmail via Socks5 tunnel (using tsocsk program) : $ tsocks mbsync bateast this command line suggests that tsocks is playing LD_PRELOAD tricks to redirect libc function calls. maybe it

Re: [PATCH] use proper name for array size

2013-01-04 Thread Oswald Buddenhagen
hi, On Mon, Dec 31, 2012 at 02:06:19PM +0100, Nikola Pajkovsky wrote: using 'as' as name for array size is confusing a lot. Better name is ARRAY_SIZE. i'll think about that. when i wrote the code, i wasn't using an IDE with auto-completion yet, and now i'm kind of used to this shortcut. ^^

Re: [PATCH] drv_imap: linearize code

2013-01-04 Thread Oswald Buddenhagen
On Mon, Dec 31, 2012 at 02:17:38PM +0100, Nikola Pajkovsky wrote: this change makes code more readable that's subjective. i'd consider either variant if this was new code, but i'm not going to make such changes to existing code, unless the structure changes as a precondition of a real change.

Re: space in password

2013-01-12 Thread Oswald Buddenhagen
On Sat, Jan 12, 2013 at 02:34:04PM -0600, Luis Mochan wrote: I have started using mbsync and it has worked beautifully (thanks!), except that some of my accounts have a space within my password. For those, I get the error message: IMAP command 'LOGIN user pass' returned an error: NO

Re: gmail

2013-01-13 Thread Oswald Buddenhagen
On Sun, Jan 13, 2013 at 01:43:29PM -0600, Luis Mochan wrote: Sorry for my ignorance: I did git clone git://isync.git.sourceforge.net/gitroot/isync/isync and tried to ./configure, as directed by the README, but with no luck as there is no configure fila. the usual procedure is looking

Re: daemon option

2013-01-15 Thread Oswald Buddenhagen
On Tue, Jan 15, 2013 at 01:54:51PM +0100, Davide Gerhard wrote: Is there a simple way to add this function (permanently?) in the code? (yes, I have already seen that this topic is in the todo list :) Some suggestion to start? i haven't really thought about it yet. i presume you first need to

Re: syncing sub-subfolders

2013-02-26 Thread Oswald Buddenhagen
hi, On Mon, Feb 25, 2013 at 05:20:50PM +0100, Patrick PICHON wrote: /usr/local/bin/isync -a -V * OK [CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE IDLE AUTH=PLAIN AUTH=CRAM-MD5 AUTH=LOGIN] Dovecot ready. 1 AUTHENTICATE CRAM-MD5 after a while . * BYE Disconnected

[commit] master: fix crashes in imap_open_store() error paths

2013-03-23 Thread Oswald Buddenhagen
commit 80402f942dbcb900da33be83f4e87305b22174b4 Author: Oswald Buddenhagen o...@kde.org Date: Sat Mar 23 10:34:51 2013 +0100 fix crashes in imap_open_store() error paths it's not a good idea to invoke imap_open_store_bail() twice, either ... src/drv_imap.c | 20

[commit] master: fix cram-md5 authentication

2013-03-23 Thread Oswald Buddenhagen
commit cb4578b8f00fbf7594745a03522af4cbd420f0a2 Author: Oswald Buddenhagen o...@kde.org Date: Sat Mar 23 09:59:58 2013 +0100 fix cram-md5 authentication we need to send a newline after the response for imap to grok it. src/drv_imap.c |4 +++- 1 files changed, 3 insertions

[commit] master: make path expansion match docu: paths are relative to ~

2013-03-24 Thread Oswald Buddenhagen
commit 56db48d31b62cef3fbf6bb718319ccc46add4167 Author: Oswald Buddenhagen o...@kde.org Date: Sun Mar 24 11:10:59 2013 +0100 make path expansion match docu: paths are relative to ~ the current behavior of being relative to the current directory sort of makes no sense

[commit] master: disable SSLv2 by default in the wrapper as well

2013-03-24 Thread Oswald Buddenhagen
commit bb5a41f3e0522fbb39697c548111515b2bd6579c Author: Oswald Buddenhagen o...@kde.org Date: Sun Mar 24 11:10:36 2013 +0100 disable SSLv2 by default in the wrapper as well src/compat/isync.1 |2 +- src/compat/main.c |2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff

[commit] master: match flag names in man page

2013-03-24 Thread Oswald Buddenhagen
commit b06eafe48783c06dee9742db92ef04f1d04dd9cc Author: Oswald Buddenhagen o...@kde.org Date: Sun Mar 24 13:09:42 2013 +0100 match flag names in man page Full is an alias for All, but let's stick to one. src/mbsync.1 |2 +- 1 files changed, 1 insertions(+), 1 deletions

[commit] master: don't claim that we are looking for exactly bdb 4.2

2013-03-24 Thread Oswald Buddenhagen
commit 37879da1108dca793c9378f3d1a5372d641e3e21 Author: Oswald Buddenhagen o...@kde.org Date: Sun Mar 24 14:46:26 2013 +0100 don't claim that we are looking for exactly bdb 4.2 configure.in |5 ++--- 1 files changed, 2 insertions(+), 3 deletions(-) diff --git a/configure.in b

[commit] isync_1_0_branch: disable SSLv2 by default in the wrapper as well

2013-03-24 Thread Oswald Buddenhagen
commit ba7c2c838c2109336077a89ac103c8335757aa22 Author: Oswald Buddenhagen o...@kde.org Date: Sun Mar 24 11:10:36 2013 +0100 disable SSLv2 by default in the wrapper as well (cherry picked from commit bb5a41f3e0522fbb39697c548111515b2bd6579c) src/compat/isync.1 |2 +- src

[commit] isync_1_0_branch: make path expansion match docu: paths are relative to ~

2013-03-24 Thread Oswald Buddenhagen
commit d53205fde766ec7abf69088ee247e316d9a0118a Author: Oswald Buddenhagen o...@kde.org Date: Sun Mar 24 11:10:59 2013 +0100 make path expansion match docu: paths are relative to ~ the current behavior of being relative to the current directory sort of makes no sense

[commit] isync_1_0_branch: match flag names in man page

2013-03-24 Thread Oswald Buddenhagen
commit 1878031b2221eae49406997f378df40b71fba69b Author: Oswald Buddenhagen o...@kde.org Date: Sun Mar 24 13:09:42 2013 +0100 match flag names in man page Full is an alias for All, but let's stick to one. (cherry picked from commit b06eafe48783c06dee9742db92ef04f1d04dd9cc) src

[commit] master: introduce -DC option to only install a crash handler

2013-03-29 Thread Oswald Buddenhagen
commit 6bfd600d81a1e70229ce54f53641d104051743f8 Author: Oswald Buddenhagen o...@kde.org Date: Fri Mar 29 16:00:39 2013 +0100 introduce -DC option to only install a crash handler src/isync.h |1 + src/main.c |7 +-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git

[commit] master: factor out socket_connect_failed()

2013-03-29 Thread Oswald Buddenhagen
commit a74309b3080d9bc957bf9061ea1c4af27c458262 Author: Oswald Buddenhagen o...@kde.org Date: Fri Mar 29 17:51:50 2013 +0100 factor out socket_connect_failed() src/socket.c | 22 +- 1 files changed, 13 insertions(+), 9 deletions(-) diff --git a/src/socket.c b/src

Re: Is there a way to fetch mails partially? (after a certain date)

2013-04-07 Thread Oswald Buddenhagen
On Sun, Apr 07, 2013 at 04:01:22AM -0500, Felipe Contreras wrote: I have too much mail, and I often don't want to download the whole folder, just the last 100 or so, or after certain point in time. MaxMessages. but see also the other mail i just sent to the list.

Re: isync and gmail

2013-04-07 Thread Oswald Buddenhagen
On Sat, Apr 06, 2013 at 10:57:09PM +0200, Alexander Søndergaard wrote: 2. Is the aforementioned extra dot in the local foldername a bug? no. i followed the example of dovecot and courier (however, i now notice that it's not really compatible - subfolders below the top level are not supposed to

[commit] master: rename sync_vars_t::uidnext = newuid fix comment

2013-04-07 Thread Oswald Buddenhagen
commit b00aac4c5e4231415f5205024cf02fe1fd433754 Author: Oswald Buddenhagen o...@kde.org AuthorDate: Sat Mar 30 09:38:38 2013 +0100 Commit: Oswald Buddenhagen o...@users.sf.net CommitDate: Sat Mar 30 16:46:18 2013 +0100 rename sync_vars_t::uidnext = newuid fix comment

[commit] master: don't record newuid in the sync state

2013-04-07 Thread Oswald Buddenhagen
commit 9cb54888910a539b5ce4213550f2f5c493fccba1 Author: Oswald Buddenhagen o...@kde.org AuthorDate: Sat Mar 30 16:27:11 2013 +0100 Commit: Oswald Buddenhagen o...@users.sf.net CommitDate: Sat Mar 30 16:46:18 2013 +0100 don't record newuid in the sync state this value is only

[commit] master: don't try to fetch status of minus one message

2013-04-07 Thread Oswald Buddenhagen
commit dd7654ff8c56bf14bf8610ceb006b85e197219a5 Author: Oswald Buddenhagen o...@kde.org AuthorDate: Sat Mar 30 10:10:09 2013 +0100 Commit: Oswald Buddenhagen o...@users.sf.net CommitDate: Sat Mar 30 16:46:18 2013 +0100 don't try to fetch status of minus one message this would

[commit] master: remove pointless null check

2013-04-07 Thread Oswald Buddenhagen
commit 3c7d7a451ed270628b56e31a7973b637aff65caf Author: Oswald Buddenhagen o...@kde.org AuthorDate: Sat Mar 30 16:43:21 2013 +0100 Commit: Oswald Buddenhagen o...@users.sf.net CommitDate: Sat Mar 30 16:46:18 2013 +0100 remove pointless null check each copied message

[commit] master: discourage use of MapInbox

2013-04-07 Thread Oswald Buddenhagen
commit 09e9705d8c3a64405a61f78a62a079e9634b8c79 Author: Oswald Buddenhagen o...@users.sf.net Date: Sun Apr 7 16:54:19 2013 +0200 discourage use of MapInbox src/mbsync.1 |6 -- 1 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/mbsync.1 b/src/mbsync.1 index 48060d6

[commit] master: Rename configure.in to the modern equivalent

2013-04-07 Thread Oswald Buddenhagen
commit 16613094f71da05edd79772e9c2c2b649e288188 Author: Felipe Contreras felipe.contre...@gmail.com AuthorDate: Sun Apr 7 05:42:03 2013 -0500 Commit: Oswald Buddenhagen o...@users.sf.net CommitDate: Sun Apr 7 16:57:45 2013 +0200 Rename configure.in to the modern equivalent

[commit] master: Fix build with recent autoconf and modernize configure.ac

2013-04-07 Thread Oswald Buddenhagen
commit 1eade663ed6ba757ea84224a7a00cd50556962ce Author: Felipe Contreras felipe.contre...@gmail.com AuthorDate: Sun Apr 7 16:53:31 2013 +0200 Commit: Oswald Buddenhagen o...@users.sf.net CommitDate: Sun Apr 7 16:57:45 2013 +0200 Fix build with recent autoconf and modernize

[commit] master: maildir: fix trash path double-free

2013-04-07 Thread Oswald Buddenhagen
commit 92b8a27626b550450b9d6983d6a8377987b4f8a7 Author: Felipe Contreras felipe.contre...@gmail.com AuthorDate: Sun Apr 7 10:20:51 2013 -0500 Commit: Oswald Buddenhagen o...@users.sf.net CommitDate: Sun Apr 7 18:32:52 2013 +0200 maildir: fix trash path double-free It should

Re: isync and gmail

2013-04-07 Thread Oswald Buddenhagen
On Sun, Apr 07, 2013 at 05:15:57PM +0200, Alexander Søndergaard wrote: please describe the problem precisely. are all messages fetched, or only a certain subset? do the messages have a particular property in common? etc. All messages from all my selected Gmail folders are fetched. Many

[commit] master: fix CRAM-MD5 authentication

2013-04-13 Thread Oswald Buddenhagen
commit fcba3a3e29cac83e1b0be47721b98e2c9343516d Author: Oswald Buddenhagen o...@users.sf.net Date: Sat Apr 13 10:47:46 2013 +0200 fix CRAM-MD5 authentication the decoded challenge may be padded, so we really need to use strlen() rather than just the decoded length. src

[commit] master: don't let wildcards match INBOX, unless it lives under Path

2013-04-13 Thread Oswald Buddenhagen
commit bdb17fb9c3b592bc296286090b403e25622b0471 Author: Oswald Buddenhagen o...@users.sf.net Date: Sat Apr 13 19:05:27 2013 +0200 don't let wildcards match INBOX, unless it lives under Path it's counter-intuitive to have '*' match the (always present) INBOX when the rest

[commit] master: man page fixups

2013-04-13 Thread Oswald Buddenhagen
commit ad09f236aa74eef9618239b023d765b854799c55 Author: Oswald Buddenhagen o...@users.sf.net Date: Sat Apr 13 19:05:44 2013 +0200 man page fixups src/mbsync.1 |5 - 1 files changed, 4 insertions(+), 1 deletions(-) diff --git a/src/mbsync.1 b/src/mbsync.1 index 8dd8c69..0c410f9

Re: recursive mbsync - missing dot for folder

2013-04-15 Thread Oswald Buddenhagen
On Mon, Apr 15, 2013 at 10:31:49PM +0200, Patrick PICHON wrote: Sorry for my previous mail. No. Problem still their. [...] Here is the output of mbsync -V -l phil [...] hmm, from my reading, everything is working according to specification. please paste the directory structure of your slave,

Re: Patching mbsync to work with Gmail?

2013-04-18 Thread Oswald Buddenhagen
On Tue, Apr 16, 2013 at 05:04:54PM -0700, Parke Bostrom wrote: I've been using mbsync version 1.0.4 for years to fetch mail from several Gmail accounts. In order to do this, I applied a patch I found on a blog. don't. use git master if you need this feature.

Re: recursive mbsync - missing dot for folder

2013-04-19 Thread Oswald Buddenhagen
On Thu, Apr 18, 2013 at 12:57:15PM +0200, Patrick PICHON wrote: On the master (Imap server) the folder name is ~/Maildir/.myfolder on the slave the folder created is : ~/Maildir/myfolder I would like to have the folder created : ~/Maildir/.myfolder how does INBOX play into that? is there

Re: [PATCH] enforce fflush before fdatasync for stdio users

2013-04-20 Thread Oswald Buddenhagen
On Sat, Apr 20, 2013 at 12:36:30AM +, Eric Wong wrote: fdatasync only flushes data to disk the kernel knows about, so we must tell the kernel about the data [...] before we fdatasync. as it happens, we do: setlinebuf( svars-jfp ); that's also the reason why it works reliably without

Re: duplicate ID results in message loss?

2013-04-22 Thread Oswald Buddenhagen
On Mon, Apr 22, 2013 at 05:14:39PM +0200, Alan Schmitt wrote: Oswald Buddenhagen writes: what does the completely deleted refer to? the slave or the master? if it's the master, then it's most likely because the message simply was not propagated due to the error. you need to fix the file

<    1   2   3   4   5   6   7   8   9   10   >