Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

Mailbox repeatedly 'unavailable'

#1062

During the migration of my archive mailboxes from Apple mail via Polarismail(.com) to MailMate, I ran into a problem that synchronization of one of the archive mailboxes would not come to an end. All mailboxes would repeatedly report 'unavailable'. This happened during syncing a mailbox that contains 2050 message. The day before, I had synced another mailbox containing 12.000 messages without any problems.

I managed to narrow down the syncing problem to 1 specific message out of these 2050 messages. Currently I've placed it in a separate (offline) mailbox, containing just this message. If I take the mailbox online, the problem (repeatedly unavailable mailboxes (all of them)) is there again.
The message is on the server; it is not downloaded by MailMate; the mailbox is there in the list of Sources in MailMate; no folder has yet been created in my library for this mailbox.

I've created this ticket just for your information, and for you to investigate this issue if you like. Otherwise, I will just delete the mailbox containing this one message.
Attached, please find
- a screenprint from the message via Polarismail webmail - an eml download of this message via Polarismail webmail

Reported by Peter Mienes · February 28th, 2015 @ 01:20 PM

State: closed
Milestone: none
Assigned to: benny benny

Activity

  1. benny
    benny

    Thanks for the detailed report. The message itself does not appear to be a problem. I can import and view it.

    To learn more I need server connection logs, but before we do that I need to know which revision of MailMate you are using. I recommend trying the latest beta available via the Software Update preferences pane.

    February 28th, 2015 @ 03:35 PM

  2. Peter Mienes
    Peter Mienes

    I've now updated the software to 1.9 build 5066, and the symptoms remain unchanged. Where do I find the connection log? Or is it the contents of the Activity viewer that you're interested in?

    March 1st, 2015 @ 07:54 AM

  3. benny
    benny

    Thanks for trying. You can generate log files like this:

    • Open the Activity Viewer (this enables logging).
    • Trigger the problem -- if necessary, relaunch MailMate.
    • Use “Help ▸ Send Server Logs” to send me the logs of the activity.

    I should then be able to see why it goes to “unavailable”.

    (All kinds of errors make MailMate go to the temporary “unavailable” state. This is done because many servers have various (buggy) temporary problems and many users were annoyed when MailMate told them about it every time.)

    March 1st, 2015 @ 08:38 AM

  4. benny
    benny

    Thanks for the logs.

    This is the problem:

    08:42:26 C: E8 UID FETCH 1 (UID BODY.PEEK[HEADER] RFC822.SIZE)  
    08:42:26 Error: TCP socket was unexpectedly closed.  
    08:42:26 S:
    

    Every time MailMate asks for the headers of this message then the server cuts the connection. Clearly a server problem, but the server does not even return an error which means that for MailMate it looks like an unstable connection and not a specific problem with a specific message (in that case MailMate might have asked if you wanted to ignore it).

    This is a Dovecot server which is usually very reliable. I did notice something which could trigger a bug though. MailMate asks for the headers. Headers and body are separated by a blank line, but there is a problem in the message:

    X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3  
    Return-Path: ron.bloksma@hetnet.nl  
    This is a multi-part message in MIME format.
    
    ------=_NextPart_000_0068_01BF2FBF.50758000
    

    There should be a blank line after the Return-Path line. In any case, this should not make Dovecot crash (which I guess is what happens). I suggest you contact your IMAP provider and tell them about this ticket.

    March 1st, 2015 @ 09:27 AM

  5. Peter Mienes
    Peter Mienes

    Thanks, I'll contact Polarismail.

    March 1st, 2015 @ 10:06 AM

  6. benny
    benny
    • State changed from new to closed

    March 1st, 2015 @ 02:52 PM

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.