#302 ✓fixreleased
Martin Wendel

install ok but won't configure (hangs)

Reported by Martin Wendel | November 18th, 2012 @ 05:36 PM

mailmate 1.5
macosx 10.7.5

on fresh install mailmate is unable to sync new account or configure new account. the progress indicator just keeps spinning. tried with gmail account and other accounts. in the activity control window the process is showing as not responding. need to force kill it.
mailmate is simply not working.

Comments and changes to this ticket

  • benny

    benny November 18th, 2012 @ 10:05 PM

    Thanks for the feedback. This is not a known issue and many users are using MailMate with Gmail. Could you be very specific with regard to the steps needed to reproduce this problem? Maybe take a screenshot of the new account window.

    In order to completely reset MailMate you can delete the following folder:

    ~/Library/Application Suppport/MailMate/

    Also, when it hangs then please launch the Activity Monitor, select MailMate, and then click the “Sample Process” button. Attach the result to this ticket.

  • Martin Wendel

    Martin Wendel November 19th, 2012 @ 09:58 AM

    great work! this is your reply on my reply to the ticket email, (starting to believe this product is a hoax):

    Return-Path: <<a href="mailto:pm_bounces@pm.mtasv.net">pm_bounces@pm.mtasv.net>
    Delivered-To: ****
    Received: from vsp-inbound-03-02.binero.net (lb-vsp01.binero.net [])
    by mx-01-01.binero.net (Postfix) with SMTP id A924040D8E for <****>; Sun, 18 Nov 2012 23:47:12 +0100 (CET) X-Spam-Version: Binero Spamfilter
    X-Halon-ID: df1a21af-31d1-11e2-9335-005056914375
    X-Spam-RPD: 0
    X-Spam-SA: -2.30
    X-SPG-Loopback-Protection: 1
    Received: from p2.mtasv.net (unknown [])
    by vsp-inbound-03-02.binero.net (Halon Mail Gateway) with ESMTP for <****>; Sun, 18 Nov 2012 23:47:03 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; s=pm; d=pm.mtasv.net;
    h=From:To:Date:Subject:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-ID; bh=nt9iWaMJg20oEnKRhj7lGWj0BNw=; b=u2aVHfDnsfc+G58EF9YCqfLj8da0WbFclCvR2IMJbOGaNIvJrQnrOcntQSwBXZKgUzlyECkH41W4 xjCMDmsrjrK7vJI8qdOY9iO9ougUm6+xeyYNQa7s3wuwWjtNsBuyqhV2RlDSg9g6zIa2KToFxpBf KoiKPPAg1u8yk1cMHkU= Received: by p2.mtasv.net id hl5ilc1dsrst for <****>; Sun, 18 Nov 2012 17:46:45 -0500 (envelope-from <<a href="mailto:pm_bounces@pm.mtasv.net">pm_bounces@pm.mtasv.net>)
    From: "Lighthouse" no-reply@lighthouseapp.com
    To: "Martin Wendel" <****>
    Date: Sun, 18 Nov 2012 17:46:44 -0500
    Subject: Error processing your email to Lighthouse
    MIME-Version: 1.0
    Content-Type: text/plain; charset=UTF-8
    Content-Transfer-Encoding: quoted-printable
    X-Mailer: aspNetEmail ver
    X-Complaints-To: abuse@postmarkapp.com
    X-PM-RCPT: |bTB8MTA1OHw0MTQ2fG1hcnRpbkBub2plc3ByYWxpbmVuLnNl|
    X-PM-Message-Id: ab473050-fa28-4ff8-b19c-b9cf9761f0f2
    Message-ID: <<a href="mailto:50a9656458591_608440394fa1c8@ip-10-195-181-92.tmail">50a9656458591_608440394fa1c8@ip-10-195-181-92.tmail>

    We received an email from this address that had problems being processed=0A=
    into a new Lighthouse ticket:=0A=0AYou do not have access to post to the =
    MailMate project=2E=0A=0ATROUBLESHOOT=0Ahttp://help=2Elighthouseapp=2Ecom=
    /faqs/getting-started/how-do-i-send-tickets-via-email=0A=0AFILE BUG=0Asup= port=40lighthouseapp=2Ecom or http://help=2Elighthouseapp=2Ecom=0A

  • benny

    benny November 19th, 2012 @ 10:10 AM

    There are two nested problems in the email you received. The first problem is that Lighthouse (the service used for this ticket system) rejected your reply to the ticket. They are telling you to look here for trouble shooting: http://help.lighthouseapp.com/kb/getting-started/how-do-i-send-tick...

    The other problem is that the reply sent by Lighthouse was identified as spam by your spam filter. Neither of these problems are directly related to MailMate, but let me know if you have any questions.

    I'm very interested in resolving your initial problem with MailMate. If you prefer you can write to me directly via email: There is a link for that here: http://freron.com/contact/

    I've also edited your report above such that your email address is no longer shown. Lighthouse-tickets are public and you probably don't want any spam-address-harvesters to pick up your address.

  • Martin Wendel

    Martin Wendel November 19th, 2012 @ 11:44 AM

    It is not I but lighthouse who need to troubleshoot their email service that apparently is unable to recieve and handle a perfectly legitimate email.

    OK, fuck lighthouse. Here is my email that was rejected (attaching two screenshots aswell):

    OK, removed the folder you mentioned below. Started MailMate.app and tried to import an imap account configured in thunderbird (one that contains perhaps 20 messages, standard imap, starttls and port 587 "submission"). MailMate hangs, Sample Process in Activity Monitor is waiting for a hanging process and won't finish. After force killing MailMate need to force kill Activity Monitor aswell because it is still waiting for the MailMate process due to the ongoing Sample Process. Attaching images of Import Account window and MailMate and Activity Monitor aswell.

    Sending this with thunderbird, but am having issues with attachments in thunderbird, therefore trying mailmate.

    (hmm, looks I need to attach the screenshots in two separate posts)

  • Martin Wendel
  • Martin Wendel

    Martin Wendel November 19th, 2012 @ 11:52 AM

    And also: Since I'm unable to configure mailmate I use thunderbird as an email client.

  • Martin Wendel

    Martin Wendel November 19th, 2012 @ 11:54 AM

    Found one error in my description above. Of course I'm not using port 587 for imap but for smtp. Imap is port 143 and starttls is used there aswell.

  • benny

    benny November 19th, 2012 @ 11:59 AM

    Thanks, the server (Dovecot) should certainly not be an issue. I use it myself. Importing the account from Thunderbird might then trigger some unknown bug. Try using “File ▸ Add IMAP account” instead.

    It is strange that sampling does not work. Could you try sampling using the command line as well:

    sample MailMate 2
  • benny

    benny November 19th, 2012 @ 12:08 PM

    I just tried importing a Thunderbird account. No problems it seems. Are you asked about a password before it hangs? If not, then the hanging may be related to when MailMate attempts to retrieve the password from the system keychain.

  • Martin Wendel

    Martin Wendel November 19th, 2012 @ 12:33 PM

    OK, I too was able to import one account (if ssl was turned off). When ssl turned on I get the Verify Certificate window (which I also should) and so I check "always trust *binero.se when connection to imap... and click connect and then mailmate hangs (as in non responsive whatsoever). sample obviously waits for the hanging process and outputs nothing. dtruss output of the hanging process is this (convinced there is not much to get out of that):

    724/0x209b8:   3406527   31023      8 __semwait_signal(0x5E03, 0x0, 0x1)         = -1 Err#60
    724/0x209b8:   3406911   31025      7 __semwait_signal(0x5E03, 0x0, 0x1)         = -1 Err#60
    724/0x209b8:   3434389   31023      8 __semwait_signal(0x5E03, 0x0, 0x1)         = -1 Err#60
    724/0x209b8:   3434572   31024      7 __semwait_signal(0x5E03, 0x0, 0x1)         = -1 Err#60
    724/0x209b8:   3434759   31024      6 __semwait_signal(0x5E03, 0x0, 0x1)         = -1 Err#60
  • benny

    benny November 19th, 2012 @ 12:51 PM

    So you have no problems if you disable SSL?

    I'll try to see if I can reproduce any problems with certificate verification.

  • Martin Wendel

    Martin Wendel November 19th, 2012 @ 12:56 PM

    Using the file->Add imap account gives the same result, MailMate hangs, this time i don't even get the verify certificate window. uncehcking ssl makes no difference, mailmate hangs. And yes I rm -r ~Library/Application Support/MailMate between each attempt.

    I feel I've spent more time than I would like to on troubleshooting a potential new email client. I'm experienced enough to understand that MailMate is having serious issues that will not be fixed in an instant. What I need is a stable email client that I can rely on. I guess I just will have to look elsewhere. Up until now I've been perfectly happy with thunderbird.

  • Martin Wendel

    Martin Wendel November 19th, 2012 @ 01:01 PM

    FYI: I feel there is an inconsistency as to when MailMate works or not. I seem to be unable to reproduce the successful configuration. Will try on another mac to verify if there is something wrong with my computer.

  • benny

    benny November 19th, 2012 @ 01:02 PM

    • State changed from “new” to “cantreproduce”

    Thanks for the feedback you have provided. In general I receive very few crash/hang reports (they are sent automatically if the user allows it) and I really have no idea what's going on in your case. I'll update this ticket if a problem is fixed in the future which I believe could be related to your problem as well.

    (If you have a secondary machine then maybe I could convince you to verify that you have the same issue on that machine.)

  • benny

    benny November 19th, 2012 @ 07:32 PM

    Kind of good news: I've had a second report which I'm pretty sure is the same problem. I know where to look in the code now and hopefully I'll be able to have a fix out fairly soon (tomorrow probably). I'll update this ticket in case you want to give MailMate a second chance.

    The problem is related to the certificate window (an the keychain) and you probably have to reboot the machine to get back to normal.

  • benny

    benny November 19th, 2012 @ 07:43 PM

    • State changed from “cantreproduce” to “reproduced”
  • benny

    benny November 20th, 2012 @ 10:40 AM

    Just a quick update on the nature of the problem:

    • It is triggered by changing trust settings when the certificate window is shown (and then clicking Connect). After that various keychain related things do not work.
    • Appears to only affect 10.7. It works for me on 10.8.2. This explains why the problem was not reported sooner
    • Older revisions of MailMate do not have this problem which means it is not a 10.7.5 issue.
    • The problem was introduced while I implemented support for S/MIME. I'm currently trying to pinpoint the revision of MailMate which introduced the problem. (This is a bit tedious because of the rebooting.)

    The current workaround is to only click “Connect” without permanently trusting the certificate. It'll then work until the next time MailMate is launched.

  • benny

    benny November 22nd, 2012 @ 12:49 PM

    Sorry about the delay. It was quite difficult to find the reason for this problem, but I've now both found what triggers it and a potential workaround/fix for it. It is related to codesigning and it could affect any application using the certificate window (SFCertificateTrustPanel) and codesigning done with 10.7.5+. The hang only occurs on 10.7.5.

    The hang is caused by an Apple bug which I have now reported (rdar://12740451). It is possible to make Apple Mail behave like MailMate if codesigned differently.

    I'll update this ticket when an update is available.

  • benny

    benny October 9th, 2013 @ 01:32 PM

    • State changed from “reproduced” to “fixreleased”

    Unfortunately I forgot to update this ticket. The issue was in fact fixed shortly after the last update to this ticket.

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.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

Mac OS X email client.

Shared Ticket Bins

People watching this ticket


Referenced by