Skip to content

Instantly share code, notes, and snippets.

@maxandersen
Last active August 29, 2015 14:21
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save maxandersen/65e504217a81df629332 to your computer and use it in GitHub Desktop.
Save maxandersen/65e504217a81df629332 to your computer and use it in GitHub Desktop.
mdimport crashing by this mail
Delivered-To: max.andersen@gmail.com
Received: by 10.180.236.11 with SMTP id j11cs25740bkh;
Thu, 2 Oct 2008 09:13:45 -0700 (PDT)
Received: by 10.187.185.8 with SMTP id m8mr2016118fap.93.1222964024937;
Thu, 02 Oct 2008 09:13:44 -0700 (PDT)
Return-Path: <>
Received: from mx-h.b-one.net (mx-h.one.com [91.198.169.55])
by mx.google.com with ESMTP id k5si8335625nfh.0.2008.10.02.09.13.43;
Thu, 02 Oct 2008 09:13:44 -0700 (PDT)
Received-SPF: neutral (google.com: 91.198.169.55 is neither permitted nor denied by best guess record for domain of mx-h.b-one.net) client-ip=91.198.169.55;
Authentication-Results: mx.google.com; spf=neutral (google.com: 91.198.169.55 is neither permitted nor denied by best guess record for domain of mx-h.b-one.net) smtp.mail=
X-Virus-Scanned: by one.com
X-Amavis-Alert: BAD HEADER MIME error: error: unexpected end of header
Received-SPF: pass (mx-h.one.com: domain of designates 219.125.112.14 as permitted sender)
X-Greylist: from auto-whitelisted by SQLgrey-1.7.4
Received: from nmomta.auone-net.jp (nm05omta13.auone-net.jp [219.125.112.14])
by mx-h.b-one.net (Postfix) with SMTP id 8F8FF18001BF
for <Wbcimi@xam.dk>; Thu, 2 Oct 2008 18:13:42 +0200 (CEST)
To: <Wbcimi@xam.dk>
From: no-reply@h4.dion.ne.jp
Message-ID: <200810021613403860890005LFD2@nm05ldf05d.auone-net.jp>
Date: Fri, 3 Oct 2008 01:13:40 +0900
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="==_LFD2/AvF+evS+6C0=/LDS"
Subject: =?ISO-2022-JP?B?GyRCJWEhPCVrJSglaSE8RExDThsoQg==?=
Reply-To: no-reply@app.auone-net.jp
This message is in MIME format.Since your mail reader does not understand this format, some or all of the message may not be legible
--==_LFD2/AvF+evS+6C0=/LDS
Content-Type: text/plain; charset="ISO-2022-JP"
Content-Transfer-Encoding: 7bit
$BAw?.@h$N%a!<%k%\%C%/%9$,0lGU$N$?$a!"Aw?.$G$-$^$;$s$G$7$?!#(B
$B"(K\%a!<%k$O(Bau one net$B$N%a!<%k%7%9%F%`$h$jG[?.$7$F$*$j$^$9!#(B
$B$3$N%a!<%k$K$OD>@\JV?.$$$?$@$1$^$;$s!#(B
$B!J!!0J2<!"%5!<%P$+$i=PNO$5$l$?%(%i!<%a%C%;!<%8!!!K(B
Your mail sent on: Fri, 3 Oct 2008 01:13:40 +0900
Could not be delivered to: <jyojyu001@h4.dion.ne.jp>
As their mailbox is full.
--==_LFD2/AvF+evS+6C0=/LDS
Content-Type: message/rfc822
Content-Description: Original message
Return-Path: <Wbcimi@xam.dk>
Received: from fmta01.auone-net.jp ([210.155.124.184])
by nm05mtf.auone-net.jp
id <20081003011340226.MFC3.82F6458@nm05mtf.auone-net.jp>;
Fri, 3 Oct 2008 01:13:40 +0900
Received: from mail-gw.auone-net.jp (comet.auone-net.jp [210.155.124.182])
by fmta01.auone-net.jp (au one net mail filter) with ESMTP id 1288B45F
; Fri, 3 Oct 2008 01:13:38 +0900 (JST)
Received-SPF: None (mail-gw.auone-net.jp: 122.168.10.29 is neither permitted nor denied by domain of xam.dk) client-ip=122.168.10.29; envelope-from=<Wbcimi@xam.dk>; helo=ABTS-mp-dynamic-029.10.168.122.airtelbroadband.in;
Received: from ABTS-mp-dynamic-029.10.168.122.airtelbroadband.in (unknown [122.168.10.29])
by mail-gw.auone-net.jp (au one net mail) with ESMTP id EDA7E72E
for <jyojyu001@h4.dion.ne.jp>; Fri, 3 Oct 2008 01:13:35 +0900 (JST)
Message-ID: <000701c924a9$0617ea6d$08e60192@qjjwt>
From: "carroll minnie" <Wbcimi@xam.dk>
To: <jyojyu001@h4.dion.ne.jp>
Subject: MSG ID:88830 Hot deals available here
Date: Thu, 02 Oct 2008 14:26:13 +0000
MIME-Version: 1.0
Content-Type: multipart/alternative;
boundary="----=_NextPart_000_0004_01C924A9.061566FF"
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 6.00.2720.3000
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2727.1300
X-SPF-AUTH: None (mail-gw.auone-net.jp: 122.168.10.29 is neither permitted nor denied by domain of xam.dk) client-ip=122.168.10.29; envelope-from=<Wbcimi@xam.dk>; helo=ABTS-mp-dynamic-029.10.168.122.airtelbroadband.in; domain=xam.dk; txt=none ; auth=none;
--==_LFD2/AvF+evS+6C0=/LDS--
2015-05-18 23:20:44.375 mdimport[781:6855] Attributes: {
":MD:DeviceId" = 16777220;
":MD:kMDExtendedImportDictionary" = {
};
":MD:kMDItemPath" = "/Users/max/Messages/IMAP/max.andersen%40gmail.com@imap.gmail.com/INBOX.mailbox/Messages/974598.eml";
"_kMDItemContentChangeDate" = "2014-10-27 23:33:43 +0000";
"_kMDItemCreationDate" = "2014-10-27 23:33:43 +0000";
"_kMDItemCreatorCode" = 0;
"_kMDItemFileName" = "974598.eml";
"_kMDItemFinderFlags" = 0;
"_kMDItemFinderLabel" = 0;
"_kMDItemIsExtensionHidden" = 0;
"_kMDItemOwnerGroupID" = 20;
"_kMDItemOwnerUserID" = 501;
"_kMDItemStaticInterestScore" = 1;
"_kMDItemTypeCode" = 0;
"com_apple_metadata_modtime" = 436145623;
kMDItemAlternateNames = (
"/Users/max/Messages/IMAP/max.andersen%40gmail.com@imap.gmail.com/INBOX.mailbox/Messages/974598.eml"
);
kMDItemAuthorEmailAddresses = "leo@iptambau.org.br";
kMDItemContentCreationDate = "2014-10-27 23:33:43 +0000";
kMDItemContentModificationDate = "2014-10-27 23:33:43 +0000";
kMDItemContentType = "com.apple.mail.email";
kMDItemContentTypeTree = (
"com.apple.mail.email",
"public.data",
"public.item",
"public.email-message",
"public.message"
);
kMDItemDateAdded = "2014-10-27 23:33:43 +0000";
kMDItemDisplayName = "Sua mensagem deve ser confirmada - sistema anti-spam verify#0wjJxrZxIDQWmM26OLZydEy1sj8Uig9d";
kMDItemKind = {
"" = "Email Message";
};
kMDItemLogicalSize = 3408;
kMDItemPhysicalSize = 4096;
kMDItemRecipientEmailAddresses = (
"nycimi@xam.dk"
);
kMDItemSubject = "Sua mensagem deve ser confirmada - sistema anti-spam verify#0wjJxrZxIDQWmM26OLZydEy1sj8Uig9d";
kMDItemTextContent = "A mensagem enviada requer confirma\U00e7\U00e3o de que realmente foi enviada por voc\U00ea e n\U00e3o se trata de SPAM (mensagem enviada indevidamente).\n\nPara completar essa verifica\U00e7\U00e3o, simplesmente responda esta mensagem sem alterar o assunto.\n\nO cabe\U00e7alho da mensagem enviada do seu endere\U00e7o \U00e9 mostrado abaixo:\n\nFrom Nycimi@xam.dk Thu Oct 02 12:22:48 2008\nReceived: from 88.124.broadband5.iol.cz ([88.100.124.88])\n by hades.gsnoc.net with esmtp (Exim 4.69)\n (envelope-from <Nycimi@xam.dk>)\n id 1KlQwx-00070M-C4\n for leo@iptambau.org.br; Thu, 02 Oct 2008 12:22:48 -0400\nMessage-ID: <000601c924ab$036caabc$87988289@xakgst>\nFrom: \"garrot tiffany\" <Nycimi@xam.dk>\nTo: <leo@iptambau.org.br>\nSubject: MSG ID:40180 Limited edition RO Lex models here\nDate: Thu, 02 Oct 2008 14:35:24 +0000\nMIME-Version: 1.0\nContent-Type: multipart/alternative;\n\tboundary=\"----=_NextPart_000_0003_01C924AB.03678665\"\nX-Priority: 3\nX-MSMail-Priority: Normal\nX-Mailer: Microsoft Outlook Express 6.00.2720.3000\nX-MimeOLE: Produced By Microsoft MimeOLE V6.00.2727.1300\n";
}
(Import.Debug:1126) file:/Users/max/Messages/IMAP/max.andersen%40gmail.com@imap.gmail.com/INBOX.mailbox/Messages/974599.eml plugin:file:///Applications/MailMate.app/Contents/Library/Spotlight/MailMateSpotlight.mdimporter/ /Applications/MailMate.app/Contents/Library/Spotlight/MailMateSpotlight.mdimporter
[1] 781 segmentation fault mdimport -d4
@freron
Copy link

freron commented May 19, 2015

This is the Terminal output. It only tells me that the bug is triggered by message 974599.eml. Could you share that as well?

@maxandersen
Copy link
Author

there you go - and btw. running mdimport on this .eml directly segments fault instantly.

@freron
Copy link

freron commented May 19, 2015

It didn't crash for me. Could you try sending it via “Forward as Attachment” or, even better, zip it and then send it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment