*snip*
> In the first case, it complains about Inbox not found. In the second
> place, it skips the Inbox altogether; even when I've verified that
> messages exist on the source server in the Inbox.
>
> Clues? Am I missing something?
I think the dev version has some bugs right now in how command line
options and config options are parsed. The config code is very new,
and the CLI code was heavily modified to work with the config
functionality, so there are still some glitches to iron out. I'm
traveling at the moment, but I'll try to look into this soon.
- Ryan
`larch -v` will tell you what version of Larch you're using. 1.0.2 is
the latest official release. However, if you're going to be running
Larch frequently to poll for changes, 1.0.2 probably won't work well
since it has to do a full mailbox scan each time it runs. The dev
version only needs to scan for changes since the last scan, so it'll
be much faster.
> Here's my command line string:
>
> robert@library:~/.gem/ruby/1.8/bin$ ./larch -f imap://mail.source.com
> --from-user rw...@source.com --from-pass password -t imaps://imap.gmail.com
> --to-pass password --to-user rw...@mydomain.org --from-folder Inbox
>
> Here's the strange part ... My destination server is Gmail.
>
> a) Without specifying folders, I got the same behavior as my original
> report
>
> b) When I specified [--from-folder Inbox --to-folder Inbox] at the end
> of the command string I got:
> @imap.gmail.com: Net::IMAP::NoResponseError: Duplicate folder name
> Inbox (Failure) (will retry)
>
> c) When I specified [--from-folder Inbox] it seems to work.
Okay, it sounds like the root of your problems may be a case
sensitivity bug in Larch. Try using INBOX as the folder name instead
of Inbox.
I'll file an issue for this on GitHub and fix it soon. Thanks for reporting it!
- Ryan