<div class="markdown">
<p dir="auto">On 18 May 2015, at 19:36, Max Rydahl Andersen wrote:</p>

<blockquote>
<p dir="auto">so I just did -d1 and after several tens of minutes (not sure how many) I ended up with this:</p>

<pre><code>2015-05-18 15:27:09.383 mdimport[48652:15116610] Imported '/Users/max/Messages/IMAP/max.andersen%40gmail.com@imap.gmail.com/INBOX.mailbox/Messages/974598.eml' of type 'com.apple.mail.email' with plugIn /Applications/MailMate.app/Contents/Library/Spotlight/MailMateSpotlight.mdimporter.
[1]    48652 segmentation fault  mdimport -d1 ~/Messages
</code></pre>

<p dir="auto">If I run mdimport directly on this file nothing is printed out though.</p>

<p dir="auto">I can run with -d4 but my guess is that will take hours if not days to complete ;)</p>

<p dir="auto">Let me know if you want me to do that or have some other suggestion!</p>
</blockquote>

<p dir="auto">I suggest you rerun on the folder:</p>

<pre><code>/Users/max/Messages/IMAP/max.andersen%40gmail.com@imap.gmail.com/INBOX.mailbox/Messages/
</code></pre>

<p dir="auto">And then note that the output says “Imported” in past tense. In other words the problem is probably the next message in the folder (if <code>974598.eml</code> was not the last file in the folder). Maybe a higher debug level can help track it down.</p>

<p dir="auto">-- <br>
Benny</p>

</div>