[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [sup-devel] A maildir root source: syncing labels with maildirs (imap folders)
- To: sup-devel <sup-devel@rubyforge.org>
- Subject: Re: [sup-devel] A maildir root source: syncing labels with maildirs (imap folders)
- From: Gaute Hope <eg@gaute.vetsj.com>
- Date: Tue, 26 Nov 2013 16:14:25 +0100
- In-reply-to: <1385476504-sup-9378@indy.local>
- References: <1385392376-sup-8491@qwerzila> <1385415206-sup-5054@qwerzila> <1385476504-sup-9378@indy.local>
- User-agent: Sup/git
Excerpts from Steven Schmeiser's message of 2013-11-26 15:43:49 +0100:
> I've installed the branch and am trying it out. So far it looks good, but there have been a few oddities...
>
> I'm running with a standard IMAP account (not Gmail). The root looks like
>
> [steve@indy ~]$ ls -l .mail
> total 0
> drwx------ 5 steve staff 170 Nov 19 13:44 Archive
> drwx------ 5 steve staff 170 Nov 22 12:31 INBOX
> drwx------ 5 steve staff 170 Nov 19 13:44 drafts
> drwx------ 5 steve staff 170 Nov 19 13:44 econpapers
> drwx------ 5 steve staff 170 Nov 19 13:44 sent
> drwx------ 5 steve staff 170 Nov 19 13:44 spam
> drwx------ 5 steve staff 170 Nov 25 19:25 trash
>
> and my sources are configured as follows
>
> [steve@indy ~]$ more .sup/sources.yaml
> ---
> - !supmua.org,2006-10-01/Redwood/MaildirRoot
> uri: maildirroot:///Users/steve/.mail
> usual: true
> archived: false
> id: 1
> labels: []
> sync_back: true
> confirm_enable_experimental: true
> maildir_creation_allowed: true
> inbox_folder: INBOX
> sent_folder: sent
> drafts_folder: drafts
> spam_folder: spam
> trash_folder: trash
> archive_folder: Archive
> - !supmua.org,2006-10-01/Redwood/SentLoader{}
>
> I had around 40k messages in the Archive folder and ~20 in the INBOX. After sup-sync, around 10k of the messages in Archive were moved into sup's inbox with labels 'INBOX' and 'Inbox'. They were also (incorrectly) marked as unread.
>
> I'll keep experimenting. Thanks for your effort -- I think this is a great new feature and would really like to see it merged into the mainline someday.
Ok, there are likely to be a few more of the oddities - you are brave :)
Please set the environment variable: SUP_LOG_LEVEL=debug and try to
start sup, it would be interesting to see how the maildirsubs are
initialized (the startup section from ~/.sup/log).
Were any of the messages in Archive also somewhere else (duplicates with
the same id)? Also, if sup discovers a message that is part of a thread
it will join them and (possibly) apply all the labels to all the
messages in that thread. If any of those are unread it might be
affected.
The labels 'INBOX' and 'Inbox' are both not the same as the special
label 'inbox', so apparently it is not recognized as the special label
but a custom label.
It could be that you have more luck with starting with a clean index and
just starting regular sup (not sup-sync). You can follow the log by
doing: tail -f ~/.sup/log.
- gaute