On Mon, May 18, 2015 at 10:14:36AM +0200, Oswald Buddenhagen wrote:
>On Mon, May 18, 2015 at 01:00:36AM +0100, Richard Bradfield wrote:
>> Unfortunately, I also have a Microsoft account.
>>
>welcome to the club ...
>
>> I'm getting two errors (and this is with -D -V and trimmed, otherwise
>> we'd be here all day):
>>
>> 12 OK FETCH Completed
>>     -> new UID 64 on slave
>>     Socket error on imap-mail.outlook.com (207.46.11.202:993): timeout.
>>
>i have no clue what is causing these. ignore, retry.
>
>there is a todo item that mbsync should retry by itself.
>
That's fine, backing off for a time and retrying seems to resolve this.  
Presumably their way of forcing you to use the web client so they can 
serve advertisements.
I'm also getting a lot of "Connection reset by peer" errors, but I'm 
going to go ahead and assume that's a problem with the remote host not 
mbsync, unless somebody tells me otherwise.

>> 50 OK FETCH Completed
>>     -> new UID 29 on slave
>>     TCH BAD Bad command.
>>     IMAP error: unexpected tag TCH
>>
>> I don't know what this tag represents, and as Google hasn't been helpful
>> I suspect it's not exactly common.
>>
>tags aren't fixed. it's just something the client sends and expect back
>from the server. and mbsync definitely doesn't send such tags (it send
>plain numbers - the 12 and 50 above are tags).
>what you are most likely seeing is a random word from one of your mails.
>it's the result of a stream corruption. what exactly is happening is
>impossible to tell from what we have. you can get a complete log with
>-DN and look for weirdness.
I have tried -V -DN, and other than printing the payload of the 
messages, there's no extra useful data. It has helped verify that it's 
not one specific message causing it every time though, there are 
several, but they are consistent (ie more than one message causes the 
issue, but it's always those same messages).Here's what the log looks 
like with the payload removed.
=========
)
52 OK FETCH Completed
* 29 FETCH (UID 100159 BODY[] {15848}
=========
PRIVATE CONTENT REMOVED
=========
)
53 OK FETCH Completed
TCH BAD Bad command.

If you'd like a look at the full content of the misbehaving mail, I can 
upload them privately, however I'd prefer not to share them on a public 
ML.

>> Repeatedly running the isync eventually downloaded all mail, but it
>> still doesn't work properly, it does successfully download new mail 
>> to
>> the Inbox folder, but keeps giving this error every time it is run:
>>
>> Warning: channel outlook: slave Inbox cannot be opened and master
>> Inbox not empty.
>>
>the thing is that INBOX is special, and it's case-insensitive as far as
>imap is concerned, but not as far as mbsync is (the reasons for that are
>complicated; see also commit 6f2160f13). get the casing consistent and
>it will work.
>the tool to debug that are the -l, -DM, and maybe -Dn options.
Switching the line Inbox ~/.mail/Outlook/Inbox for ../INBOX solved this, 
although the folder in the Maildir is still named Inbox, thanks for the 
info.

>------------------------------------------------------------------------------
>One dashboard for servers and applications across Physical-Virtual-Cloud
>Widest out-of-the-box monitoring support with 50+ applications
>Performance metrics, stats and reports that give you Actionable Insights
>Deep dive visibility with transaction tracing using APM Insight.
>http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
>_______________________________________________
>isync-devel mailing list
>isync-devel@lists.sourceforge.net
>https://lists.sourceforge.net/lists/listinfo/isync-devel

-- 
Richard Bradfield

------------------------------------------------------------------------------
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
_______________________________________________
isync-devel mailing list
isync-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/isync-devel

Reply via email to