Mail Bug from Hell…

I was wondering why my home connection seemed to be crawling since yesterday. I didn’t worry too much at first, thinking that with my wife working from home yesterday as well, we were just downloading a lot of stuff between the both of us.

But the slowness persisted this morning. I took a peek at our bandwidth consumption and something became immediately obvious: there was something wrong on the upload end of things. We had somehow uploaded 2GB+ in one day, which is rather peculiar for us.

Turned out the issue at hand was an arcane bug involving Apple’s Mail.app “self-recovery”, MobileMe, Gmail, an oversized message and some kind of infinite loop.

  1. Tried to send a 36MB video via email to a friend a couple of days ago.
  2. Gmail prompted me that the message was too large, as they have a 34MB upload limit.
  3. Mail.app kept trying to save it to my draft folder but likely kept getting the same Gmail error, silently.
  4. Mail.app kept on “rescuing” copies of the said message in a “recovered messages” folder.
  5. Mobile Me kept trying to sync my mail accounts.
  6. Repeat ad nauseam.

I ended up solving the issue by simply trashing my entire ~/Library/Mail folder on my iMac, replacing it with a quasi-identical copy from my MacBook Pro and resyncing my mail accounts.

Problem now seems to be gone. Won’t get bitten by this one again…

Comments

4 responses to “Mail Bug from Hell…”

  1. Lance Willett Avatar

    Sorry to hear this… what a pain! For huge file transfers Dropbox is your friend. Asynchronous, and you can share any file publicly. My personal rule is anything of 5MB doesn’t go by email.

    1. Stephane Daury Avatar

      Yeah, I normally just put up large files to download on my own server, via HTTP. In that case, I got caught by OSX’s ease of use… I had chosen the video file right from iPhoto, through the attachment panel, and had therefore not seen its size. Never tried to send it, but Mail.app still tried to upload it to Gmail as a draft and that was it. Tricky tricky business… 😮

  2. Ron Avatar

    Reminds me of a couple years back where someone at the company I worked for forwarded an email to everyone in their address list (exchanges server with around 20K addresses). Even though the body of the email was a few hundred bytes, the header was over 5MB. About 20 other people hit reply all and said “take me off this distribution list”. It took a fiber backbone down for most of a day.

Leave a Reply to Stephane Daury Cancel reply

Your email address will not be published. Required fields are marked *