multi_mail 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (59) hide show
  1. data/.travis.yml +4 -0
  2. data/.yardopts +4 -0
  3. data/Gemfile +1 -1
  4. data/README.md +107 -12
  5. data/Rakefile +75 -52
  6. data/lib/multi_mail/cloudmailin/receiver.rb +100 -0
  7. data/lib/multi_mail/mailgun/receiver.rb +74 -36
  8. data/lib/multi_mail/mailgun/sender.rb +14 -0
  9. data/lib/multi_mail/mandrill/receiver.rb +77 -35
  10. data/lib/multi_mail/mandrill/sender.rb +14 -0
  11. data/lib/multi_mail/postmark/receiver.rb +68 -0
  12. data/lib/multi_mail/postmark/sender.rb +14 -0
  13. data/lib/multi_mail/receiver/base.rb +125 -8
  14. data/lib/multi_mail/receiver.rb +10 -4
  15. data/lib/multi_mail/sender/base.rb +7 -0
  16. data/lib/multi_mail/sender.rb +10 -4
  17. data/lib/multi_mail/sendgrid/receiver.rb +42 -0
  18. data/lib/multi_mail/sendgrid/sender.rb +11 -0
  19. data/lib/multi_mail/service.rb +15 -4
  20. data/lib/multi_mail/simple/receiver.rb +15 -0
  21. data/lib/multi_mail/simple/sender.rb +14 -0
  22. data/lib/multi_mail/version.rb +1 -1
  23. data/lib/multi_mail.rb +71 -3
  24. data/multi_mail.gemspec +12 -5
  25. data/spec/cloudmailin/receiver_spec.rb +112 -0
  26. data/spec/fixtures/cloudmailin/json/spam.txt +59 -0
  27. data/spec/fixtures/cloudmailin/json/valid.txt +59 -0
  28. data/spec/fixtures/cloudmailin/multipart/spam.txt +135 -0
  29. data/spec/fixtures/cloudmailin/multipart/valid.txt +135 -0
  30. data/spec/fixtures/cloudmailin/raw/spam.txt +137 -0
  31. data/spec/fixtures/cloudmailin/raw/valid.txt +137 -0
  32. data/spec/fixtures/mailgun/parsed/invalid.txt +8 -0
  33. data/spec/fixtures/mailgun/parsed/missing.txt +8 -0
  34. data/spec/fixtures/mailgun/parsed/spam.txt +8 -0
  35. data/spec/fixtures/mailgun/parsed/valid.txt +187 -0
  36. data/spec/fixtures/mandrill/spam.txt +9 -0
  37. data/spec/fixtures/mandrill/valid.txt +10 -0
  38. data/spec/fixtures/multipart.txt +99 -0
  39. data/spec/fixtures/postmark/spam.txt +83 -0
  40. data/spec/fixtures/postmark/valid.txt +92 -0
  41. data/spec/fixtures/simple/valid.txt +4 -0
  42. data/spec/mailgun/receiver_spec.rb +105 -50
  43. data/spec/mailgun/sender_spec.rb +0 -0
  44. data/spec/mandrill/receiver_spec.rb +35 -35
  45. data/spec/mandrill/sender_spec.rb +0 -0
  46. data/spec/multi_mail_spec.rb +63 -0
  47. data/spec/postmark/receiver_spec.rb +60 -0
  48. data/spec/postmark/sender_spec.rb +0 -0
  49. data/spec/receiver/base_spec.rb +73 -8
  50. data/spec/sender/base_spec.rb +21 -0
  51. data/spec/service_spec.rb +2 -2
  52. data/spec/simple/receiver_spec.rb +36 -0
  53. data/spec/simple/sender_spec.rb +0 -0
  54. data/spec/spec_helper.rb +123 -10
  55. metadata +141 -21
  56. data/spec/fixtures/mailgun/invalid.txt +0 -8
  57. data/spec/fixtures/mailgun/missing.txt +0 -8
  58. data/spec/fixtures/mailgun/spam.txt +0 -8
  59. data/spec/fixtures/mailgun/valid.txt +0 -8
@@ -0,0 +1,137 @@
1
+ HTTP/1.1 200 OK
2
+ User-Agent: CloudMailin Server
3
+ Host: requestb.in
4
+ Content-Type: multipart/form-data; boundary=----cloudmailinboundry
5
+ Content-Length: 5058
6
+ Connection: close
7
+
8
+ ------cloudmailinboundry
9
+ Content-Disposition: form-data; name="message"
10
+
11
+ Received: by mail-ie0-f176.google.com with SMTP id x14so2317383ief.7
12
+ for <5dae6f85cd65d30d384a@cloudmailin.net>; Mon, 15 Apr 2013 18:47:25 -0700 (PDT)
13
+ X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
14
+ d=google.com; s=20120113;
15
+ h=x-received:from:content-type:subject:date:message-id:to
16
+ :mime-version:x-mailer:x-gm-message-state;
17
+ bh=CbvvZ//NXpiH9iND+jsSd3Y9ddExZqAuw4GRHpQCSgc=;
18
+ b=d9U0iqjheDtxD6UtKwu9EX3vtBZDWyTTfQT3bbxA4X7k6s222jns6GPJdhCzn4+UJG
19
+ o30QAXt1Wnkh53m7yvQIJ8mvP5uu0uESwx44Gly/rn4MNQhlBfqI06q7+DGQJ8HdNK4G
20
+ iFQC9AIUuYNi/2gEtAZj4AR3M5qTayy1Dx7eQFPfzl4O3IqjAMyklrDUxUNNWBU+bda9
21
+ NwDTKf98E3wzLLcEFflvp98BAbXf1YG60mYhacUKXeEsn4SzlOf8uF6PDeOMhqSeaBox
22
+ hOFFdcfiv2HUiTxQfet+8usq7DuOWQPKq1JTsxvAAhWBJCwghKGAepX3IkXnyM2Ze5VV
23
+ 4Wkw==
24
+ X-Received: by 10.50.216.231 with SMTP id ot7mr120662igc.84.1366076845521;
25
+ Mon, 15 Apr 2013 18:47:25 -0700 (PDT)
26
+ Return-Path: <james@opennorth.ca>
27
+ Received: from [192.168.0.110] ([69.165.215.199])
28
+ by mx.google.com with ESMTPS id px9sm13838459igc.0.2013.04.15.18.47.23
29
+ (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128);
30
+ Mon, 15 Apr 2013 18:47:24 -0700 (PDT)
31
+ From: James McKinney <james@opennorth.ca>
32
+ Content-Type: multipart/alternative; boundary="Apple-Mail=_DCA504BD-1D86-4D66-9C4A-34B40F7D935C"
33
+ Subject: Test
34
+ Date: Mon, 15 Apr 2013 20:20:12 -0400
35
+ Message-Id: <EC07A6D2-2975-4F76-B722-87F72298E8E9@opennorth.ca>
36
+ To: 5dae6f85cd65d30d384a@cloudmailin.net
37
+ Mime-Version: 1.0 (Apple Message framework v1283)
38
+ X-Mailer: Apple Mail (2.1283)
39
+ X-Gm-Message-State: ALoCoQmEvnuUUhVQ8rvHaWrCDgNAQkrr2Rx1PqYzUbby11upTNzG9ns4T5tz1URumb7h6R/BvDCe
40
+
41
+
42
+ --Apple-Mail=_DCA504BD-1D86-4D66-9C4A-34B40F7D935C
43
+ Content-Transfer-Encoding: 7bit
44
+ Content-Type: text/plain;
45
+ charset=us-ascii
46
+
47
+ bold text
48
+
49
+
50
+
51
+ some more bold text
52
+
53
+
54
+
55
+ some italic text
56
+
57
+ > multiline
58
+ > quoted
59
+ > text
60
+
61
+
62
+ --
63
+ Signature block
64
+ --Apple-Mail=_DCA504BD-1D86-4D66-9C4A-34B40F7D935C
65
+ Content-Type: multipart/mixed;
66
+ boundary="Apple-Mail=_18B17BDF-EB86-41B0-9575-7BBA718BD8BC"
67
+
68
+
69
+ --Apple-Mail=_18B17BDF-EB86-41B0-9575-7BBA718BD8BC
70
+ Content-Transfer-Encoding: 7bit
71
+ Content-Type: text/html;
72
+ charset=us-ascii
73
+
74
+ <html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><b>bold text</b><div><br></div><div></div></body></html>
75
+ --Apple-Mail=_18B17BDF-EB86-41B0-9575-7BBA718BD8BC
76
+ Content-Disposition: attachment;
77
+ filename=foo.txt
78
+ Content-Type: text/plain;
79
+ name="foo.txt"
80
+ Content-Transfer-Encoding: 7bit
81
+
82
+ Lorem ipsum dolor sit amet, consectetur adipiscing elit.
83
+
84
+ --Apple-Mail=_18B17BDF-EB86-41B0-9575-7BBA718BD8BC
85
+ Content-Transfer-Encoding: 7bit
86
+ Content-Type: text/html;
87
+ charset=us-ascii
88
+
89
+ <html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><head></head><br><div></div><div><br></div><div><b>some more bold text</b></div><div><b><br></b></div><div><b></b></div></body></html>
90
+ --Apple-Mail=_18B17BDF-EB86-41B0-9575-7BBA718BD8BC
91
+ Content-Disposition: attachment;
92
+ filename=bar.txt
93
+ Content-Type: text/plain;
94
+ name="bar.txt"
95
+ Content-Transfer-Encoding: 7bit
96
+
97
+ Nam accumsan euismod eros et rhoncus.
98
+
99
+ --Apple-Mail=_18B17BDF-EB86-41B0-9575-7BBA718BD8BC
100
+ Content-Transfer-Encoding: 7bit
101
+ Content-Type: text/html;
102
+ charset=us-ascii
103
+
104
+ <html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><br><div><b></b></div><div><b><span class="Apple-style-span" style="font-weight: normal; "><br></span></b></div><div><b><span class="Apple-style-span" style="font-weight: normal; "><i>some italic text</i></span></b></div><div><b><span class="Apple-style-span" style="font-weight: normal; "><br></span></b></div><div><blockquote type="cite">multiline</blockquote><blockquote type="cite">quoted</blockquote><blockquote type="cite">text</blockquote></div><div><br></div><div>--</div><div>Signature block</div></body></html>
105
+ --Apple-Mail=_18B17BDF-EB86-41B0-9575-7BBA718BD8BC--
106
+
107
+ --Apple-Mail=_DCA504BD-1D86-4D66-9C4A-34B40F7D935C--
108
+
109
+ ------cloudmailinboundry
110
+ Content-Disposition: form-data; name="envelope[to]"
111
+
112
+ 5dae6f85cd65d30d384a@cloudmailin.net
113
+ ------cloudmailinboundry
114
+ Content-Disposition: form-data; name="envelope[recipients][0]"
115
+
116
+ 5dae6f85cd65d30d384a@cloudmailin.net
117
+ ------cloudmailinboundry
118
+ Content-Disposition: form-data; name="envelope[from]"
119
+
120
+ james@opennorth.ca
121
+ ------cloudmailinboundry
122
+ Content-Disposition: form-data; name="envelope[helo_domain]"
123
+
124
+ mail-ie0-f176.google.com
125
+ ------cloudmailinboundry
126
+ Content-Disposition: form-data; name="envelope[remote_ip]"
127
+
128
+ 209.85.223.176
129
+ ------cloudmailinboundry
130
+ Content-Disposition: form-data; name="envelope[spf][result]"
131
+
132
+ fail
133
+ ------cloudmailinboundry
134
+ Content-Disposition: form-data; name="envelope[spf][domain]"
135
+
136
+ opennorth.ca
137
+ ------cloudmailinboundry--
@@ -0,0 +1,137 @@
1
+ HTTP/1.1 200 OK
2
+ User-Agent: CloudMailin Server
3
+ Host: requestb.in
4
+ Content-Type: multipart/form-data; boundary=----cloudmailinboundry
5
+ Content-Length: 5058
6
+ Connection: close
7
+
8
+ ------cloudmailinboundry
9
+ Content-Disposition: form-data; name="message"
10
+
11
+ Received: by mail-ie0-f176.google.com with SMTP id x14so2317383ief.7
12
+ for <5dae6f85cd65d30d384a@cloudmailin.net>; Mon, 15 Apr 2013 18:47:25 -0700 (PDT)
13
+ X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
14
+ d=google.com; s=20120113;
15
+ h=x-received:from:content-type:subject:date:message-id:to
16
+ :mime-version:x-mailer:x-gm-message-state;
17
+ bh=CbvvZ//NXpiH9iND+jsSd3Y9ddExZqAuw4GRHpQCSgc=;
18
+ b=d9U0iqjheDtxD6UtKwu9EX3vtBZDWyTTfQT3bbxA4X7k6s222jns6GPJdhCzn4+UJG
19
+ o30QAXt1Wnkh53m7yvQIJ8mvP5uu0uESwx44Gly/rn4MNQhlBfqI06q7+DGQJ8HdNK4G
20
+ iFQC9AIUuYNi/2gEtAZj4AR3M5qTayy1Dx7eQFPfzl4O3IqjAMyklrDUxUNNWBU+bda9
21
+ NwDTKf98E3wzLLcEFflvp98BAbXf1YG60mYhacUKXeEsn4SzlOf8uF6PDeOMhqSeaBox
22
+ hOFFdcfiv2HUiTxQfet+8usq7DuOWQPKq1JTsxvAAhWBJCwghKGAepX3IkXnyM2Ze5VV
23
+ 4Wkw==
24
+ X-Received: by 10.50.216.231 with SMTP id ot7mr120662igc.84.1366076845521;
25
+ Mon, 15 Apr 2013 18:47:25 -0700 (PDT)
26
+ Return-Path: <james@opennorth.ca>
27
+ Received: from [192.168.0.110] ([69.165.215.199])
28
+ by mx.google.com with ESMTPS id px9sm13838459igc.0.2013.04.15.18.47.23
29
+ (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128);
30
+ Mon, 15 Apr 2013 18:47:24 -0700 (PDT)
31
+ From: James McKinney <james@opennorth.ca>
32
+ Content-Type: multipart/alternative; boundary="Apple-Mail=_DCA504BD-1D86-4D66-9C4A-34B40F7D935C"
33
+ Subject: Test
34
+ Date: Mon, 15 Apr 2013 20:20:12 -0400
35
+ Message-Id: <EC07A6D2-2975-4F76-B722-87F72298E8E9@opennorth.ca>
36
+ To: 5dae6f85cd65d30d384a@cloudmailin.net
37
+ Mime-Version: 1.0 (Apple Message framework v1283)
38
+ X-Mailer: Apple Mail (2.1283)
39
+ X-Gm-Message-State: ALoCoQmEvnuUUhVQ8rvHaWrCDgNAQkrr2Rx1PqYzUbby11upTNzG9ns4T5tz1URumb7h6R/BvDCe
40
+
41
+
42
+ --Apple-Mail=_DCA504BD-1D86-4D66-9C4A-34B40F7D935C
43
+ Content-Transfer-Encoding: 7bit
44
+ Content-Type: text/plain;
45
+ charset=us-ascii
46
+
47
+ bold text
48
+
49
+
50
+
51
+ some more bold text
52
+
53
+
54
+
55
+ some italic text
56
+
57
+ > multiline
58
+ > quoted
59
+ > text
60
+
61
+
62
+ --
63
+ Signature block
64
+ --Apple-Mail=_DCA504BD-1D86-4D66-9C4A-34B40F7D935C
65
+ Content-Type: multipart/mixed;
66
+ boundary="Apple-Mail=_18B17BDF-EB86-41B0-9575-7BBA718BD8BC"
67
+
68
+
69
+ --Apple-Mail=_18B17BDF-EB86-41B0-9575-7BBA718BD8BC
70
+ Content-Transfer-Encoding: 7bit
71
+ Content-Type: text/html;
72
+ charset=us-ascii
73
+
74
+ <html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><b>bold text</b><div><br></div><div></div></body></html>
75
+ --Apple-Mail=_18B17BDF-EB86-41B0-9575-7BBA718BD8BC
76
+ Content-Disposition: attachment;
77
+ filename=foo.txt
78
+ Content-Type: text/plain;
79
+ name="foo.txt"
80
+ Content-Transfer-Encoding: 7bit
81
+
82
+ Lorem ipsum dolor sit amet, consectetur adipiscing elit.
83
+
84
+ --Apple-Mail=_18B17BDF-EB86-41B0-9575-7BBA718BD8BC
85
+ Content-Transfer-Encoding: 7bit
86
+ Content-Type: text/html;
87
+ charset=us-ascii
88
+
89
+ <html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><head></head><br><div></div><div><br></div><div><b>some more bold text</b></div><div><b><br></b></div><div><b></b></div></body></html>
90
+ --Apple-Mail=_18B17BDF-EB86-41B0-9575-7BBA718BD8BC
91
+ Content-Disposition: attachment;
92
+ filename=bar.txt
93
+ Content-Type: text/plain;
94
+ name="bar.txt"
95
+ Content-Transfer-Encoding: 7bit
96
+
97
+ Nam accumsan euismod eros et rhoncus.
98
+
99
+ --Apple-Mail=_18B17BDF-EB86-41B0-9575-7BBA718BD8BC
100
+ Content-Transfer-Encoding: 7bit
101
+ Content-Type: text/html;
102
+ charset=us-ascii
103
+
104
+ <html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><br><div><b></b></div><div><b><span class="Apple-style-span" style="font-weight: normal; "><br></span></b></div><div><b><span class="Apple-style-span" style="font-weight: normal; "><i>some italic text</i></span></b></div><div><b><span class="Apple-style-span" style="font-weight: normal; "><br></span></b></div><div><blockquote type="cite">multiline</blockquote><blockquote type="cite">quoted</blockquote><blockquote type="cite">text</blockquote></div><div><br></div><div>--</div><div>Signature block</div></body></html>
105
+ --Apple-Mail=_18B17BDF-EB86-41B0-9575-7BBA718BD8BC--
106
+
107
+ --Apple-Mail=_DCA504BD-1D86-4D66-9C4A-34B40F7D935C--
108
+
109
+ ------cloudmailinboundry
110
+ Content-Disposition: form-data; name="envelope[to]"
111
+
112
+ 5dae6f85cd65d30d384a@cloudmailin.net
113
+ ------cloudmailinboundry
114
+ Content-Disposition: form-data; name="envelope[recipients][0]"
115
+
116
+ 5dae6f85cd65d30d384a@cloudmailin.net
117
+ ------cloudmailinboundry
118
+ Content-Disposition: form-data; name="envelope[from]"
119
+
120
+ james@opennorth.ca
121
+ ------cloudmailinboundry
122
+ Content-Disposition: form-data; name="envelope[helo_domain]"
123
+
124
+ mail-ie0-f176.google.com
125
+ ------cloudmailinboundry
126
+ Content-Disposition: form-data; name="envelope[remote_ip]"
127
+
128
+ 209.85.223.176
129
+ ------cloudmailinboundry
130
+ Content-Disposition: form-data; name="envelope[spf][result]"
131
+
132
+ pass
133
+ ------cloudmailinboundry
134
+ Content-Disposition: form-data; name="envelope[spf][domain]"
135
+
136
+ opennorth.ca
137
+ ------cloudmailinboundry--
@@ -0,0 +1,8 @@
1
+ HTTP/1.1 200 OK
2
+ User-Agent: Python-urllib/2.7
3
+ Host: requestb.in
4
+ Content-Type: application/x-www-form-urlencoded
5
+ Content-Length: 5143
6
+ Connection: close
7
+
8
+ recipient=foo%2Bbar%40multimail.mailgun.org&sender=james%40opennorth.ca&subject=&from=James+McKinney+%3Cjames%40opennorth.ca%3E&Received=by+luna.mailgun.net+with+SMTP+mgrt+8744964721857%3B+Tue%2C+16+Apr+2013+00%3A23%3A22+%2B0000&X-Envelope-From=%3Cjames%40opennorth.ca%3E&Received=from+mail-ie0-f173.google.com+%28mail-ie0-f173.google.com+%5B209.85.223.173%5D%29+by+mxa.mailgun.org+with+ESMTP+id+516c99f9.7fcaa057cbb0-in2%3B+Tue%2C+16+Apr+2013+00%3A23%3A21+-0000+%28UTC%29&Received=by+mail-ie0-f173.google.com+with+SMTP+id+k13so3591134iea.4+for+%3Cfoo%2Bbar%40multimail.mailgun.org%3E%3B+Mon%2C+15+Apr+2013+17%3A23%3A21+-0700+%28PDT%29&X-Google-Dkim-Signature=v%3D1%3B+a%3Drsa-sha256%3B+c%3Drelaxed%2Frelaxed%3B+d%3Dgoogle.com%3B+s%3D20120113%3B+h%3Dx-received%3Afrom%3Acontent-type%3Acontent-transfer-encoding%3Asubject%3Adate+%3Amessage-id%3Ato%3Amime-version%3Ax-mailer%3Ax-gm-message-state%3B+bh%3D47DEQpj8HBSa%2B%2FTImW%2B5JCeuQeRkm5NMpJWZG3hSuFU%3D%3B+b%3DF3pJ%2FVgQr6q1onwysGizOxfRzfjn8atwxn1xyjK4gndUYlJ7IbzYQ%2Fx4zDeB25HamO+oV%2B2Pj2x6PYPw0id2YWE4cYvTG4DS0k6Y8ZO%2Bj8q2PB3xhPesQAsQjPveanAzV8Agpsu+BbLRLEnJB7Wgl2qZCbNxvFGva%2Flbi8X6FVuv3csAVygt8pcxcUt94H0BGnz85fd%2Bq1Ia+3SsVmQojYITn4RD%2BfSKgWRW6p%2Fp7dL4Eu7bmMaqqFknVCouUZdaq%2F26stfhrT8E8mw0a+lWC31YaAHveEqWgSm6Hl0QAlr86m5K%2FrRhomHpWmJhC%2FiINhcjjqcE%2FuK2S%2BIO2sLsni+vnoQ%3D%3D&X-Received=by+10.42.58.201+with+SMTP+id+j9mr27829ich.20.1366071801563%3B+Mon%2C+15+Apr+2013+17%3A23%3A21+-0700+%28PDT%29&Return-Path=%3Cjames%40opennorth.ca%3E&Received=from+%5B192.168.0.110%5D+%28%5B69.165.215.199%5D%29+by+mx.google.com+with+ESMTPS+id+c14sm14809783ign.2.2013.04.15.17.23.19+%28version%3DTLSv1+cipher%3DECDHE-RSA-RC4-SHA+bits%3D128%2F128%29%3B+Mon%2C+15+Apr+2013+17%3A23%3A20+-0700+%28PDT%29&From=James+McKinney+%3Cjames%40opennorth.ca%3E&Content-Type=text%2Fplain&Content-Transfer-Encoding=7bit&Subject=&Date=Mon%2C+15+Apr+2013+20%3A23%3A19+-0400&Message-Id=%3CA47D0D45-F1D8-4868-B686-32158D1AA8D1%40opennorth.ca%3E&To=foo%2Bbar%40multimail.mailgun.org&Mime-Version=1.0+%28Apple+Message+framework+v1283%29&X-Mailer=Apple+Mail+%282.1283%29&X-Gm-Message-State=ALoCoQnyIduullmR%2FJq%2F2YX5aOmSaQjM6uUsSuKsCbnX4Tz9nM%2BNPpBawdqh2n%2FtdjSPHVqce2MP&X-Mailgun-Sflag=No&X-Mailgun-Sscore=-0.3&X-Mailgun-Spf=Pass&X-Mailgun-Incoming=Yes&message-headers=%5B%5B%22Received%22%2C+%22by+luna.mailgun.net+with+SMTP+mgrt+8744964721857%3B+Tue%2C+16+Apr+2013+00%3A23%3A22+%2B0000%22%5D%2C+%5B%22X-Envelope-From%22%2C+%22%3Cjames%40opennorth.ca%3E%22%5D%2C+%5B%22Received%22%2C+%22from+mail-ie0-f173.google.com+%28mail-ie0-f173.google.com+%5B209.85.223.173%5D%29+by+mxa.mailgun.org+with+ESMTP+id+516c99f9.7fcaa057cbb0-in2%3B+Tue%2C+16+Apr+2013+00%3A23%3A21+-0000+%28UTC%29%22%5D%2C+%5B%22Received%22%2C+%22by+mail-ie0-f173.google.com+with+SMTP+id+k13so3591134iea.4+for+%3Cfoo%2Bbar%40multimail.mailgun.org%3E%3B+Mon%2C+15+Apr+2013+17%3A23%3A21+-0700+%28PDT%29%22%5D%2C+%5B%22X-Google-Dkim-Signature%22%2C+%22v%3D1%3B+a%3Drsa-sha256%3B+c%3Drelaxed%2Frelaxed%3B+d%3Dgoogle.com%3B+s%3D20120113%3B+h%3Dx-received%3Afrom%3Acontent-type%3Acontent-transfer-encoding%3Asubject%3Adate+%3Amessage-id%3Ato%3Amime-version%3Ax-mailer%3Ax-gm-message-state%3B+bh%3D47DEQpj8HBSa%2B%2FTImW%2B5JCeuQeRkm5NMpJWZG3hSuFU%3D%3B+b%3DF3pJ%2FVgQr6q1onwysGizOxfRzfjn8atwxn1xyjK4gndUYlJ7IbzYQ%2Fx4zDeB25HamO+oV%2B2Pj2x6PYPw0id2YWE4cYvTG4DS0k6Y8ZO%2Bj8q2PB3xhPesQAsQjPveanAzV8Agpsu+BbLRLEnJB7Wgl2qZCbNxvFGva%2Flbi8X6FVuv3csAVygt8pcxcUt94H0BGnz85fd%2Bq1Ia+3SsVmQojYITn4RD%2BfSKgWRW6p%2Fp7dL4Eu7bmMaqqFknVCouUZdaq%2F26stfhrT8E8mw0a+lWC31YaAHveEqWgSm6Hl0QAlr86m5K%2FrRhomHpWmJhC%2FiINhcjjqcE%2FuK2S%2BIO2sLsni+vnoQ%3D%3D%22%5D%2C+%5B%22X-Received%22%2C+%22by+10.42.58.201+with+SMTP+id+j9mr27829ich.20.1366071801563%3B+Mon%2C+15+Apr+2013+17%3A23%3A21+-0700+%28PDT%29%22%5D%2C+%5B%22Return-Path%22%2C+%22%3Cjames%40opennorth.ca%3E%22%5D%2C+%5B%22Received%22%2C+%22from+%5B192.168.0.110%5D+%28%5B69.165.215.199%5D%29+by+mx.google.com+with+ESMTPS+id+c14sm14809783ign.2.2013.04.15.17.23.19+%28version%3DTLSv1+cipher%3DECDHE-RSA-RC4-SHA+bits%3D128%2F128%29%3B+Mon%2C+15+Apr+2013+17%3A23%3A20+-0700+%28PDT%29%22%5D%2C+%5B%22From%22%2C+%22James+McKinney+%3Cjames%40opennorth.ca%3E%22%5D%2C+%5B%22Content-Type%22%2C+%22text%2Fplain%22%5D%2C+%5B%22Content-Transfer-Encoding%22%2C+%227bit%22%5D%2C+%5B%22Subject%22%2C+%22%22%5D%2C+%5B%22Date%22%2C+%22Mon%2C+15+Apr+2013+20%3A23%3A19+-0400%22%5D%2C+%5B%22Message-Id%22%2C+%22%3CA47D0D45-F1D8-4868-B686-32158D1AA8D1%40opennorth.ca%3E%22%5D%2C+%5B%22To%22%2C+%22foo%2Bbar%40multimail.mailgun.org%22%5D%2C+%5B%22Mime-Version%22%2C+%221.0+%28Apple+Message+framework+v1283%29%22%5D%2C+%5B%22X-Mailer%22%2C+%22Apple+Mail+%282.1283%29%22%5D%2C+%5B%22X-Gm-Message-State%22%2C+%22ALoCoQnyIduullmR%2FJq%2F2YX5aOmSaQjM6uUsSuKsCbnX4Tz9nM%2BNPpBawdqh2n%2FtdjSPHVqce2MP%22%5D%2C+%5B%22X-Mailgun-Sflag%22%2C+%22No%22%5D%2C+%5B%22X-Mailgun-Sscore%22%2C+%22-0.3%22%5D%2C+%5B%22X-Mailgun-Spf%22%2C+%22Pass%22%5D%2C+%5B%22X-Mailgun-Incoming%22%2C+%22Yes%22%5D%5D&timestamp=1366071802&token=67tgvd4ypsc3pzxjx1hhw7nlprrs415g1a177nd5dywjj6lk06&signature=xxx
@@ -0,0 +1,8 @@
1
+ HTTP/1.1 200 OK
2
+ User-Agent: Python-urllib/2.7
3
+ Host: requestb.in
4
+ Content-Type: application/x-www-form-urlencoded
5
+ Content-Length: 5143
6
+ Connection: close
7
+
8
+ recipient=foo%2Bbar%40multimail.mailgun.org&sender=james%40opennorth.ca&subject=&from=James+McKinney+%3Cjames%40opennorth.ca%3E&Received=by+luna.mailgun.net+with+SMTP+mgrt+8744964721857%3B+Tue%2C+16+Apr+2013+00%3A23%3A22+%2B0000&X-Envelope-From=%3Cjames%40opennorth.ca%3E&Received=from+mail-ie0-f173.google.com+%28mail-ie0-f173.google.com+%5B209.85.223.173%5D%29+by+mxa.mailgun.org+with+ESMTP+id+516c99f9.7fcaa057cbb0-in2%3B+Tue%2C+16+Apr+2013+00%3A23%3A21+-0000+%28UTC%29&Received=by+mail-ie0-f173.google.com+with+SMTP+id+k13so3591134iea.4+for+%3Cfoo%2Bbar%40multimail.mailgun.org%3E%3B+Mon%2C+15+Apr+2013+17%3A23%3A21+-0700+%28PDT%29&X-Google-Dkim-Signature=v%3D1%3B+a%3Drsa-sha256%3B+c%3Drelaxed%2Frelaxed%3B+d%3Dgoogle.com%3B+s%3D20120113%3B+h%3Dx-received%3Afrom%3Acontent-type%3Acontent-transfer-encoding%3Asubject%3Adate+%3Amessage-id%3Ato%3Amime-version%3Ax-mailer%3Ax-gm-message-state%3B+bh%3D47DEQpj8HBSa%2B%2FTImW%2B5JCeuQeRkm5NMpJWZG3hSuFU%3D%3B+b%3DF3pJ%2FVgQr6q1onwysGizOxfRzfjn8atwxn1xyjK4gndUYlJ7IbzYQ%2Fx4zDeB25HamO+oV%2B2Pj2x6PYPw0id2YWE4cYvTG4DS0k6Y8ZO%2Bj8q2PB3xhPesQAsQjPveanAzV8Agpsu+BbLRLEnJB7Wgl2qZCbNxvFGva%2Flbi8X6FVuv3csAVygt8pcxcUt94H0BGnz85fd%2Bq1Ia+3SsVmQojYITn4RD%2BfSKgWRW6p%2Fp7dL4Eu7bmMaqqFknVCouUZdaq%2F26stfhrT8E8mw0a+lWC31YaAHveEqWgSm6Hl0QAlr86m5K%2FrRhomHpWmJhC%2FiINhcjjqcE%2FuK2S%2BIO2sLsni+vnoQ%3D%3D&X-Received=by+10.42.58.201+with+SMTP+id+j9mr27829ich.20.1366071801563%3B+Mon%2C+15+Apr+2013+17%3A23%3A21+-0700+%28PDT%29&Return-Path=%3Cjames%40opennorth.ca%3E&Received=from+%5B192.168.0.110%5D+%28%5B69.165.215.199%5D%29+by+mx.google.com+with+ESMTPS+id+c14sm14809783ign.2.2013.04.15.17.23.19+%28version%3DTLSv1+cipher%3DECDHE-RSA-RC4-SHA+bits%3D128%2F128%29%3B+Mon%2C+15+Apr+2013+17%3A23%3A20+-0700+%28PDT%29&From=James+McKinney+%3Cjames%40opennorth.ca%3E&Content-Type=text%2Fplain&Content-Transfer-Encoding=7bit&Subject=&Date=Mon%2C+15+Apr+2013+20%3A23%3A19+-0400&Message-Id=%3CA47D0D45-F1D8-4868-B686-32158D1AA8D1%40opennorth.ca%3E&To=foo%2Bbar%40multimail.mailgun.org&Mime-Version=1.0+%28Apple+Message+framework+v1283%29&X-Mailer=Apple+Mail+%282.1283%29&X-Gm-Message-State=ALoCoQnyIduullmR%2FJq%2F2YX5aOmSaQjM6uUsSuKsCbnX4Tz9nM%2BNPpBawdqh2n%2FtdjSPHVqce2MP&X-Mailgun-Sflag=No&X-Mailgun-Sscore=-0.3&X-Mailgun-Spf=Pass&X-Mailgun-Incoming=Yes&message-headers=%5B%5B%22Received%22%2C+%22by+luna.mailgun.net+with+SMTP+mgrt+8744964721857%3B+Tue%2C+16+Apr+2013+00%3A23%3A22+%2B0000%22%5D%2C+%5B%22X-Envelope-From%22%2C+%22%3Cjames%40opennorth.ca%3E%22%5D%2C+%5B%22Received%22%2C+%22from+mail-ie0-f173.google.com+%28mail-ie0-f173.google.com+%5B209.85.223.173%5D%29+by+mxa.mailgun.org+with+ESMTP+id+516c99f9.7fcaa057cbb0-in2%3B+Tue%2C+16+Apr+2013+00%3A23%3A21+-0000+%28UTC%29%22%5D%2C+%5B%22Received%22%2C+%22by+mail-ie0-f173.google.com+with+SMTP+id+k13so3591134iea.4+for+%3Cfoo%2Bbar%40multimail.mailgun.org%3E%3B+Mon%2C+15+Apr+2013+17%3A23%3A21+-0700+%28PDT%29%22%5D%2C+%5B%22X-Google-Dkim-Signature%22%2C+%22v%3D1%3B+a%3Drsa-sha256%3B+c%3Drelaxed%2Frelaxed%3B+d%3Dgoogle.com%3B+s%3D20120113%3B+h%3Dx-received%3Afrom%3Acontent-type%3Acontent-transfer-encoding%3Asubject%3Adate+%3Amessage-id%3Ato%3Amime-version%3Ax-mailer%3Ax-gm-message-state%3B+bh%3D47DEQpj8HBSa%2B%2FTImW%2B5JCeuQeRkm5NMpJWZG3hSuFU%3D%3B+b%3DF3pJ%2FVgQr6q1onwysGizOxfRzfjn8atwxn1xyjK4gndUYlJ7IbzYQ%2Fx4zDeB25HamO+oV%2B2Pj2x6PYPw0id2YWE4cYvTG4DS0k6Y8ZO%2Bj8q2PB3xhPesQAsQjPveanAzV8Agpsu+BbLRLEnJB7Wgl2qZCbNxvFGva%2Flbi8X6FVuv3csAVygt8pcxcUt94H0BGnz85fd%2Bq1Ia+3SsVmQojYITn4RD%2BfSKgWRW6p%2Fp7dL4Eu7bmMaqqFknVCouUZdaq%2F26stfhrT8E8mw0a+lWC31YaAHveEqWgSm6Hl0QAlr86m5K%2FrRhomHpWmJhC%2FiINhcjjqcE%2FuK2S%2BIO2sLsni+vnoQ%3D%3D%22%5D%2C+%5B%22X-Received%22%2C+%22by+10.42.58.201+with+SMTP+id+j9mr27829ich.20.1366071801563%3B+Mon%2C+15+Apr+2013+17%3A23%3A21+-0700+%28PDT%29%22%5D%2C+%5B%22Return-Path%22%2C+%22%3Cjames%40opennorth.ca%3E%22%5D%2C+%5B%22Received%22%2C+%22from+%5B192.168.0.110%5D+%28%5B69.165.215.199%5D%29+by+mx.google.com+with+ESMTPS+id+c14sm14809783ign.2.2013.04.15.17.23.19+%28version%3DTLSv1+cipher%3DECDHE-RSA-RC4-SHA+bits%3D128%2F128%29%3B+Mon%2C+15+Apr+2013+17%3A23%3A20+-0700+%28PDT%29%22%5D%2C+%5B%22From%22%2C+%22James+McKinney+%3Cjames%40opennorth.ca%3E%22%5D%2C+%5B%22Content-Type%22%2C+%22text%2Fplain%22%5D%2C+%5B%22Content-Transfer-Encoding%22%2C+%227bit%22%5D%2C+%5B%22Subject%22%2C+%22%22%5D%2C+%5B%22Date%22%2C+%22Mon%2C+15+Apr+2013+20%3A23%3A19+-0400%22%5D%2C+%5B%22Message-Id%22%2C+%22%3CA47D0D45-F1D8-4868-B686-32158D1AA8D1%40opennorth.ca%3E%22%5D%2C+%5B%22To%22%2C+%22foo%2Bbar%40multimail.mailgun.org%22%5D%2C+%5B%22Mime-Version%22%2C+%221.0+%28Apple+Message+framework+v1283%29%22%5D%2C+%5B%22X-Mailer%22%2C+%22Apple+Mail+%282.1283%29%22%5D%2C+%5B%22X-Gm-Message-State%22%2C+%22ALoCoQnyIduullmR%2FJq%2F2YX5aOmSaQjM6uUsSuKsCbnX4Tz9nM%2BNPpBawdqh2n%2FtdjSPHVqce2MP%22%5D%2C+%5B%22X-Mailgun-Sflag%22%2C+%22No%22%5D%2C+%5B%22X-Mailgun-Sscore%22%2C+%22-0.3%22%5D%2C+%5B%22X-Mailgun-Spf%22%2C+%22Pass%22%5D%2C+%5B%22X-Mailgun-Incoming%22%2C+%22Yes%22%5D%5D&timestamp=1366071802&token=67tgvd4ypsc3pzxjx1hhw7nlprrs415g1a177nd5dywjj6lk06
@@ -0,0 +1,8 @@
1
+ HTTP/1.1 200 OK
2
+ User-Agent: Python-urllib/2.7
3
+ Host: requestb.in
4
+ Content-Type: application/x-www-form-urlencoded
5
+ Content-Length: 5486
6
+ Connection: close
7
+
8
+ recipient=foo%2Bbar%40multimail.mailgun.org&sender=james%40opennorth.ca&subject=&from=James+McKinney+%3Cjames%40opennorth.ca%3E&Received=by+luna.mailgun.net+with+SMTP+mgrt+8761490253149%3B+Tue%2C+16+Apr+2013+00%3A21%3A35+%2B0000&X-Envelope-From=%3Cjames%40opennorth.ca%3E&Received=from+mail-ie0-f177.google.com+%28mail-ie0-f177.google.com+%5B209.85.223.177%5D%29+by+mxa.mailgun.org+with+ESMTP+id+516c998e.54a56b0-in3%3B+Tue%2C+16+Apr+2013+00%3A21%3A34+-0000+%28UTC%29&Received=by+mail-ie0-f177.google.com+with+SMTP+id+9so6054444iec.8+for+%3Cfoo%2Bbar%40multimail.mailgun.org%3E%3B+Mon%2C+15+Apr+2013+17%3A21%3A33+-0700+%28PDT%29&X-Google-Dkim-Signature=v%3D1%3B+a%3Drsa-sha256%3B+c%3Drelaxed%2Frelaxed%3B+d%3Dgoogle.com%3B+s%3D20120113%3B+h%3Dx-received%3Afrom%3Acontent-type%3Acontent-transfer-encoding%3Asubject%3Adate+%3Amessage-id%3Ato%3Amime-version%3Ax-mailer%3Ax-gm-message-state%3B+bh%3Did84uDPa9SMZAVd%2Bg2pYg3Hl9aPfnapoGlOygxrIuV4%3D%3B+b%3DSEx9COGLiGpti8eKv4zFjI5NhKORXttsQtQ3%2F828H%2BJT9TXzBYU6CZiurNAAPzC7V1+2KO%2BN55K%2BcBQZJtW1aFancE54W%2F5FxBGc60Si2QpT4vVVOexZRL2o87JTz1AMvOyVvMy+fW3AzCI00n7tN06Sypw6Ky3eKwDX%2F597P13R15mUcPWblTPi0ifjiWYnWa6dH%2B8ZkT1j+jQ37p39WKG3fb%2BNjPmqWzWk3pxgsDBKVDtf34aj3tZ5ypfV5nAMKt%2BJV%2FsVIP8vts3h0+B57PA%2F0DNFqBo3m8KRcekxGVmKpH8FDYhjRVM5spq%2BcTr%2BzS37kVnchSOdVgeiCkpc7b+TYzQ%3D%3D&X-Received=by+10.50.10.161+with+SMTP+id+j1mr22995igb.45.1366071693681%3B+Mon%2C+15+Apr+2013+17%3A21%3A33+-0700+%28PDT%29&Return-Path=%3Cjames%40opennorth.ca%3E&Received=from+%5B192.168.0.110%5D+%28%5B69.165.215.199%5D%29+by+mx.google.com+with+ESMTPS+id+hi4sm14767519igc.6.2013.04.15.17.21.31+%28version%3DTLSv1+cipher%3DECDHE-RSA-RC4-SHA+bits%3D128%2F128%29%3B+Mon%2C+15+Apr+2013+17%3A21%3A31+-0700+%28PDT%29&From=James+McKinney+%3Cjames%40opennorth.ca%3E&Content-Type=text%2Fplain%3B+charset%3D%22us-ascii%22&Content-Transfer-Encoding=7bit&Subject=&Date=Mon%2C+15+Apr+2013+20%3A21%3A31+-0400&Message-Id=%3CD88B8BEC-4061-45A2-90AF-ABFDF0B1AFE3%40opennorth.ca%3E&To=foo%2Bbar%40multimail.mailgun.org&Mime-Version=1.0+%28Apple+Message+framework+v1283%29&X-Mailer=Apple+Mail+%282.1283%29&X-Gm-Message-State=ALoCoQlsOMgZ4XgFSY9%2F5ELvnrnTn231HWARtBDCxqjL%2BgZ9nknTAyp76Fh6ONGmKhG7oc75qw7B&X-Mailgun-Sflag=Yes&X-Mailgun-Sscore=997.4&X-Mailgun-Spf=Pass&X-Mailgun-Incoming=Yes&message-headers=%5B%5B%22Received%22%2C+%22by+luna.mailgun.net+with+SMTP+mgrt+8761490253149%3B+Tue%2C+16+Apr+2013+00%3A21%3A35+%2B0000%22%5D%2C+%5B%22X-Envelope-From%22%2C+%22%3Cjames%40opennorth.ca%3E%22%5D%2C+%5B%22Received%22%2C+%22from+mail-ie0-f177.google.com+%28mail-ie0-f177.google.com+%5B209.85.223.177%5D%29+by+mxa.mailgun.org+with+ESMTP+id+516c998e.54a56b0-in3%3B+Tue%2C+16+Apr+2013+00%3A21%3A34+-0000+%28UTC%29%22%5D%2C+%5B%22Received%22%2C+%22by+mail-ie0-f177.google.com+with+SMTP+id+9so6054444iec.8+for+%3Cfoo%2Bbar%40multimail.mailgun.org%3E%3B+Mon%2C+15+Apr+2013+17%3A21%3A33+-0700+%28PDT%29%22%5D%2C+%5B%22X-Google-Dkim-Signature%22%2C+%22v%3D1%3B+a%3Drsa-sha256%3B+c%3Drelaxed%2Frelaxed%3B+d%3Dgoogle.com%3B+s%3D20120113%3B+h%3Dx-received%3Afrom%3Acontent-type%3Acontent-transfer-encoding%3Asubject%3Adate+%3Amessage-id%3Ato%3Amime-version%3Ax-mailer%3Ax-gm-message-state%3B+bh%3Did84uDPa9SMZAVd%2Bg2pYg3Hl9aPfnapoGlOygxrIuV4%3D%3B+b%3DSEx9COGLiGpti8eKv4zFjI5NhKORXttsQtQ3%2F828H%2BJT9TXzBYU6CZiurNAAPzC7V1+2KO%2BN55K%2BcBQZJtW1aFancE54W%2F5FxBGc60Si2QpT4vVVOexZRL2o87JTz1AMvOyVvMy+fW3AzCI00n7tN06Sypw6Ky3eKwDX%2F597P13R15mUcPWblTPi0ifjiWYnWa6dH%2B8ZkT1j+jQ37p39WKG3fb%2BNjPmqWzWk3pxgsDBKVDtf34aj3tZ5ypfV5nAMKt%2BJV%2FsVIP8vts3h0+B57PA%2F0DNFqBo3m8KRcekxGVmKpH8FDYhjRVM5spq%2BcTr%2BzS37kVnchSOdVgeiCkpc7b+TYzQ%3D%3D%22%5D%2C+%5B%22X-Received%22%2C+%22by+10.50.10.161+with+SMTP+id+j1mr22995igb.45.1366071693681%3B+Mon%2C+15+Apr+2013+17%3A21%3A33+-0700+%28PDT%29%22%5D%2C+%5B%22Return-Path%22%2C+%22%3Cjames%40opennorth.ca%3E%22%5D%2C+%5B%22Received%22%2C+%22from+%5B192.168.0.110%5D+%28%5B69.165.215.199%5D%29+by+mx.google.com+with+ESMTPS+id+hi4sm14767519igc.6.2013.04.15.17.21.31+%28version%3DTLSv1+cipher%3DECDHE-RSA-RC4-SHA+bits%3D128%2F128%29%3B+Mon%2C+15+Apr+2013+17%3A21%3A31+-0700+%28PDT%29%22%5D%2C+%5B%22From%22%2C+%22James+McKinney+%3Cjames%40opennorth.ca%3E%22%5D%2C+%5B%22Content-Type%22%2C+%22text%2Fplain%3B+charset%3D%5C%22us-ascii%5C%22%22%5D%2C+%5B%22Content-Transfer-Encoding%22%2C+%227bit%22%5D%2C+%5B%22Subject%22%2C+%22%22%5D%2C+%5B%22Date%22%2C+%22Mon%2C+15+Apr+2013+20%3A21%3A31+-0400%22%5D%2C+%5B%22Message-Id%22%2C+%22%3CD88B8BEC-4061-45A2-90AF-ABFDF0B1AFE3%40opennorth.ca%3E%22%5D%2C+%5B%22To%22%2C+%22foo%2Bbar%40multimail.mailgun.org%22%5D%2C+%5B%22Mime-Version%22%2C+%221.0+%28Apple+Message+framework+v1283%29%22%5D%2C+%5B%22X-Mailer%22%2C+%22Apple+Mail+%282.1283%29%22%5D%2C+%5B%22X-Gm-Message-State%22%2C+%22ALoCoQlsOMgZ4XgFSY9%2F5ELvnrnTn231HWARtBDCxqjL%2BgZ9nknTAyp76Fh6ONGmKhG7oc75qw7B%22%5D%2C+%5B%22X-Mailgun-Sflag%22%2C+%22Yes%22%5D%2C+%5B%22X-Mailgun-Sscore%22%2C+%22997.4%22%5D%2C+%5B%22X-Mailgun-Spf%22%2C+%22Pass%22%5D%2C+%5B%22X-Mailgun-Incoming%22%2C+%22Yes%22%5D%5D&timestamp=1366071698&token=4ep9p9ccsw3jyrqytr7mok2dmrakze52hio7iq4whwkfmk2ze7&signature=00da940b4cce4deec92813a40417fc3cceedadfada3a2d4a5f86784d5a0ca3e7&body-plain=XJS%2AC4JDBQADN1.NSBN3%2A2IDNEN%2AGTUBE-STANDARD-ANTI-UBE-TEST-EMAIL%2AC.34X&stripped-html=%3Cp%3EXJS%2AC4JDBQADN1.NSBN3%2A2IDNEN%2AGTUBE-STANDARD-ANTI-UBE-TEST-EMAIL%2AC.34X%3C%2Fp%3E&stripped-text=XJS%2AC4JDBQADN1.NSBN3%2A2IDNEN%2AGTUBE-STANDARD-ANTI-UBE-TEST-EMAIL%2AC.34X&stripped-signature=
@@ -0,0 +1,187 @@
1
+ HTTP/1.1 200 OK
2
+ User-Agent: Python-urllib/2.7
3
+ Host: requestb.in
4
+ Content-Type: multipart/form-data; boundary=127.0.0.1.1002.5631.1366071615.667.35498
5
+ Content-Length: 9652
6
+ Connection: close
7
+
8
+ --127.0.0.1.1002.5631.1366071615.667.35498
9
+ Content-Disposition: form-data; name="recipient"
10
+
11
+ foo+bar@multimail.mailgun.org
12
+ --127.0.0.1.1002.5631.1366071615.667.35498
13
+ Content-Disposition: form-data; name="sender"
14
+
15
+ james@opennorth.ca
16
+ --127.0.0.1.1002.5631.1366071615.667.35498
17
+ Content-Disposition: form-data; name="subject"
18
+
19
+ Test
20
+ --127.0.0.1.1002.5631.1366071615.667.35498
21
+ Content-Disposition: form-data; name="from"
22
+
23
+ James McKinney <james@opennorth.ca>
24
+ --127.0.0.1.1002.5631.1366071615.667.35498
25
+ Content-Disposition: form-data; name="Received"
26
+
27
+ by luna.mailgun.net with SMTP mgrt 8739881119761; Tue, 16 Apr 2013 00:20:15 +0000
28
+ --127.0.0.1.1002.5631.1366071615.667.35498
29
+ Content-Disposition: form-data; name="X-Envelope-From"
30
+
31
+ <james@opennorth.ca>
32
+ --127.0.0.1.1002.5631.1366071615.667.35498
33
+ Content-Disposition: form-data; name="Received"
34
+
35
+ from mail-ie0-f172.google.com (mail-ie0-f172.google.com [209.85.223.172]) by mxa.mailgun.org with ESMTP id 516c993e.7feeac370970-in1; Tue, 16 Apr 2013 00:20:14 -0000 (UTC)
36
+ --127.0.0.1.1002.5631.1366071615.667.35498
37
+ Content-Disposition: form-data; name="Received"
38
+
39
+ by mail-ie0-f172.google.com with SMTP id c10so6519869ieb.17 for <foo+bar@multimail.mailgun.org>; Mon, 15 Apr 2013 17:20:14 -0700 (PDT)
40
+ --127.0.0.1.1002.5631.1366071615.667.35498
41
+ Content-Disposition: form-data; name="X-Google-Dkim-Signature"
42
+
43
+ v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:from:content-type:subject:date:message-id:to :mime-version:x-mailer:x-gm-message-state; bh=R7t3+HmbTXy88fTHZkghDYrCoX3JzLSvHw55rnronHk=; b=Haf2akufk9PFXcbkT2dZKh2r4OKiy3Oy398AEHubFlB/wHZm2oDjxqmQDSZZYzITTl 2HrC1rNA+LMXv8VRkh4ZaKBNQbi8hjulJXkD26r7PfmAqGnTY8JiKjOC4Q2TyJ5+N8m4 tAkLNRdy15aCO2WZtRI5uWL5WkgpRaabcgvONmd9XenKtyImAbS2RdDShAISVrcabivh ttzVqc12mELfVNiUCYFnyJDY0t7x0gxbbq7IRr3QqzXPihMDQtyNWKDNgy+5XopPxygV dES+wZHK9CeK0aivwpZl5Nz3wHuTWzU9ceoufLJFsL5AQGLCOAi2s5j7CnSilUjxN2sz /aoA==
44
+ --127.0.0.1.1002.5631.1366071615.667.35498
45
+ Content-Disposition: form-data; name="X-Received"
46
+
47
+ by 10.42.155.136 with SMTP id u8mr16615icw.26.1366071614191; Mon, 15 Apr 2013 17:20:14 -0700 (PDT)
48
+ --127.0.0.1.1002.5631.1366071615.667.35498
49
+ Content-Disposition: form-data; name="Return-Path"
50
+
51
+ <james@opennorth.ca>
52
+ --127.0.0.1.1002.5631.1366071615.667.35498
53
+ Content-Disposition: form-data; name="Received"
54
+
55
+ from [192.168.0.110] ([69.165.215.199]) by mx.google.com with ESMTPS id ua6sm13398085igb.0.2013.04.15.17.20.12 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 15 Apr 2013 17:20:13 -0700 (PDT)
56
+ --127.0.0.1.1002.5631.1366071615.667.35498
57
+ Content-Disposition: form-data; name="From"
58
+
59
+ James McKinney <james@opennorth.ca>
60
+ --127.0.0.1.1002.5631.1366071615.667.35498
61
+ Content-Disposition: form-data; name="Content-Type"
62
+
63
+ multipart/alternative; boundary="Apple-Mail=_D289CF3C-691D-4372-B921-FE97254B7A92"
64
+ --127.0.0.1.1002.5631.1366071615.667.35498
65
+ Content-Disposition: form-data; name="Subject"
66
+
67
+ Test
68
+ --127.0.0.1.1002.5631.1366071615.667.35498
69
+ Content-Disposition: form-data; name="Date"
70
+
71
+ Mon, 15 Apr 2013 20:20:12 -0400
72
+ --127.0.0.1.1002.5631.1366071615.667.35498
73
+ Content-Disposition: form-data; name="Message-Id"
74
+
75
+ <D6B0F2D4-0AB6-4BE1-8D40-75BFD0C26E64@opennorth.ca>
76
+ --127.0.0.1.1002.5631.1366071615.667.35498
77
+ Content-Disposition: form-data; name="To"
78
+
79
+ foo+bar@multimail.mailgun.org
80
+ --127.0.0.1.1002.5631.1366071615.667.35498
81
+ Content-Disposition: form-data; name="Mime-Version"
82
+
83
+ 1.0 (Apple Message framework v1283)
84
+ --127.0.0.1.1002.5631.1366071615.667.35498
85
+ Content-Disposition: form-data; name="X-Mailer"
86
+
87
+ Apple Mail (2.1283)
88
+ --127.0.0.1.1002.5631.1366071615.667.35498
89
+ Content-Disposition: form-data; name="X-Gm-Message-State"
90
+
91
+ ALoCoQm7HZ+xBsab1OTc5IP/6gSIc3SwGeh4lRf+obkhtV8tpZr9UlJRNMg8azp72ybxsGko66Jg
92
+ --127.0.0.1.1002.5631.1366071615.667.35498
93
+ Content-Disposition: form-data; name="X-Mailgun-Sflag"
94
+
95
+ No
96
+ --127.0.0.1.1002.5631.1366071615.667.35498
97
+ Content-Disposition: form-data; name="X-Mailgun-Sscore"
98
+
99
+ 0.0
100
+ --127.0.0.1.1002.5631.1366071615.667.35498
101
+ Content-Disposition: form-data; name="X-Mailgun-Spf"
102
+
103
+ Neutral
104
+ --127.0.0.1.1002.5631.1366071615.667.35498
105
+ Content-Disposition: form-data; name="X-Mailgun-Incoming"
106
+
107
+ Yes
108
+ --127.0.0.1.1002.5631.1366071615.667.35498
109
+ Content-Disposition: form-data; name="message-headers"
110
+
111
+ [["Received", "by luna.mailgun.net with SMTP mgrt 8739881119761; Tue, 16 Apr 2013 00:20:15 +0000"], ["X-Envelope-From", "<james@opennorth.ca>"], ["Received", "from mail-ie0-f172.google.com (mail-ie0-f172.google.com [209.85.223.172]) by mxa.mailgun.org with ESMTP id 516c993e.7feeac370970-in1; Tue, 16 Apr 2013 00:20:14 -0000 (UTC)"], ["Received", "by mail-ie0-f172.google.com with SMTP id c10so6519869ieb.17 for <foo+bar@multimail.mailgun.org>; Mon, 15 Apr 2013 17:20:14 -0700 (PDT)"], ["X-Google-Dkim-Signature", "v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:from:content-type:subject:date:message-id:to :mime-version:x-mailer:x-gm-message-state; bh=R7t3+HmbTXy88fTHZkghDYrCoX3JzLSvHw55rnronHk=; b=Haf2akufk9PFXcbkT2dZKh2r4OKiy3Oy398AEHubFlB/wHZm2oDjxqmQDSZZYzITTl 2HrC1rNA+LMXv8VRkh4ZaKBNQbi8hjulJXkD26r7PfmAqGnTY8JiKjOC4Q2TyJ5+N8m4 tAkLNRdy15aCO2WZtRI5uWL5WkgpRaabcgvONmd9XenKtyImAbS2RdDShAISVrcabivh ttzVqc12mELfVNiUCYFnyJDY0t7x0gxbbq7IRr3QqzXPihMDQtyNWKDNgy+5XopPxygV dES+wZHK9CeK0aivwpZl5Nz3wHuTWzU9ceoufLJFsL5AQGLCOAi2s5j7CnSilUjxN2sz /aoA=="], ["X-Received", "by 10.42.155.136 with SMTP id u8mr16615icw.26.1366071614191; Mon, 15 Apr 2013 17:20:14 -0700 (PDT)"], ["Return-Path", "<james@opennorth.ca>"], ["Received", "from [192.168.0.110] ([69.165.215.199]) by mx.google.com with ESMTPS id ua6sm13398085igb.0.2013.04.15.17.20.12 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 15 Apr 2013 17:20:13 -0700 (PDT)"], ["From", "James McKinney <james@opennorth.ca>"], ["Content-Type", "multipart/alternative; boundary=\"Apple-Mail=_D289CF3C-691D-4372-B921-FE97254B7A92\""], ["Subject", "Test"], ["Date", "Mon, 15 Apr 2013 20:20:12 -0400"], ["Message-Id", "<D6B0F2D4-0AB6-4BE1-8D40-75BFD0C26E64@opennorth.ca>"], ["To", "foo+bar@multimail.mailgun.org"], ["Mime-Version", "1.0 (Apple Message framework v1283)"], ["X-Mailer", "Apple Mail (2.1283)"], ["X-Gm-Message-State", "ALoCoQm7HZ+xBsab1OTc5IP/6gSIc3SwGeh4lRf+obkhtV8tpZr9UlJRNMg8azp72ybxsGko66Jg"], ["X-Mailgun-Sflag", "No"], ["X-Mailgun-Sscore", "0.0"], ["X-Mailgun-Spf", "Neutral"], ["X-Mailgun-Incoming", "Yes"]]
112
+ --127.0.0.1.1002.5631.1366071615.667.35498
113
+ Content-Disposition: form-data; name="timestamp"
114
+
115
+ 1366071615
116
+ --127.0.0.1.1002.5631.1366071615.667.35498
117
+ Content-Disposition: form-data; name="token"
118
+
119
+ 5o56tmpwd3dnwthehwclemd-i-7u2gv9vb3u745ywj67d0mc87
120
+ --127.0.0.1.1002.5631.1366071615.667.35498
121
+ Content-Disposition: form-data; name="signature"
122
+
123
+ bc2ab6c1080d52f2a06928b93f21e86c2d28c548e2ef64354f8ba1a95bb53cd6
124
+ --127.0.0.1.1002.5631.1366071615.667.35498
125
+ Content-Disposition: form-data; name="attachment-count"
126
+
127
+ 2
128
+ --127.0.0.1.1002.5631.1366071615.667.35498
129
+ Content-Disposition: form-data; name="body-plain"
130
+
131
+ bold text
132
+
133
+
134
+
135
+ some more bold text
136
+
137
+
138
+
139
+ some italic text
140
+
141
+ > multiline
142
+ > quoted
143
+ > text
144
+
145
+
146
+ --
147
+ Signature block
148
+ --127.0.0.1.1002.5631.1366071615.667.35498
149
+ Content-Disposition: form-data; name="body-html"
150
+
151
+ <html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><b>bold text</b><div><br></div><div></div></body></html><html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><head></head><br><div></div><div><br></div><div><b>some more bold text</b></div><div><b><br></b></div><div><b></b></div></body></html><html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><br><div><b></b></div><div><b><span class="Apple-style-span" style="font-weight: normal; "><br></span></b></div><div><b><span class="Apple-style-span" style="font-weight: normal; "><i>some italic text</i></span></b></div><div><b><span class="Apple-style-span" style="font-weight: normal; "><br></span></b></div><div><blockquote type="cite">multiline</blockquote><blockquote type="cite">quoted</blockquote><blockquote type="cite">text</blockquote></div><div><br></div><div>--</div><div>Signature block</div></body></html>
152
+ --127.0.0.1.1002.5631.1366071615.667.35498
153
+ Content-Disposition: form-data; name="stripped-html"
154
+
155
+ <html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><b>bold text</b><div><br></div><div></div></body><html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><br><div></div><div><br></div><div><b>some more bold text</b></div><div><b><br></b></div><div><b></b></div></body></html><html><head></head></html></html>
156
+ --127.0.0.1.1002.5631.1366071615.667.35498
157
+ Content-Disposition: form-data; name="stripped-text"
158
+
159
+ bold text
160
+
161
+
162
+
163
+ some more bold text
164
+
165
+
166
+
167
+ some italic text
168
+ --127.0.0.1.1002.5631.1366071615.667.35498
169
+ Content-Disposition: form-data; name="stripped-signature"
170
+
171
+ --
172
+ Signature block
173
+ --127.0.0.1.1002.5631.1366071615.667.35498
174
+ Content-Disposition: form-data; name="attachment-1"; filename="foo.txt"
175
+ Content-Type: text/plain
176
+ Content-Length: 58
177
+
178
+ Lorem ipsum dolor sit amet, consectetur adipiscing elit.
179
+
180
+ --127.0.0.1.1002.5631.1366071615.667.35498
181
+ Content-Disposition: form-data; name="attachment-2"; filename="bar.txt"
182
+ Content-Type: text/plain
183
+ Content-Length: 39
184
+
185
+ Nam accumsan euismod eros et rhoncus.
186
+
187
+ --127.0.0.1.1002.5631.1366071615.667.35498--
@@ -0,0 +1,9 @@
1
+ HTTP/1.1 200 OK
2
+ User-Agent: Mandrill-Webhook/1.0
3
+ Host: requestb.in
4
+ Content-Type: application/x-www-form-urlencoded
5
+ Content-Length: 5801
6
+ Connection: close
7
+ Accept: */*
8
+
9
+ mandrill_events=%5B%7B%22event%22%3A%22inbound%22%2C%22ts%22%3A1366131186%2C%22msg%22%3A%7B%22raw_msg%22%3A%22Received%3A+from+mail-ia0-f175.google.com+%28mail-ia0-f175.google.com+%5B209.85.210.175%5D%29%5Cn%5Ctby+ip-10-249-27-209+%28Postfix%29+with+ESMTPS+id+29FC8E1C08A%5Cn%5Ctfor+%3Cfoo%2Bbar%40govkit.org%3E%3B+Tue%2C+16+Apr+2013+16%3A53%3A06+%2B0000+%28UTC%29%5CnReceived%3A+by+mail-ia0-f175.google.com+with+SMTP+id+e16so604877iaa.6%5Cn++++++++for+%3Cfoo%2Bbar%40govkit.org%3E%3B+Tue%2C+16+Apr+2013+09%3A53%3A05+-0700+%28PDT%29%5CnX-Google-DKIM-Signature%3A+v%3D1%3B+a%3Drsa-sha256%3B+c%3Drelaxed%5C%2Frelaxed%3B%5Cn++++++++d%3Dgoogle.com%3B+s%3D20120113%3B%5Cn++++++++h%3Dx-received%3Afrom%3Acontent-type%3Acontent-transfer-encoding%3Asubject%3Adate%5Cn+++++++++%3Amessage-id%3Ato%3Amime-version%3Ax-mailer%3Ax-gm-message-state%3B%5Cn++++++++bh%3Did84uDPa9SMZAVd%2Bg2pYg3Hl9aPfnapoGlOygxrIuV4%3D%3B%5Cn++++++++b%3DAaC1ZBBEIWwdLq5V3YOS0zdATSHTcDtqfs5%2BsiWukVujdgY%2BQGul4ic44ak6EjPBBb%5Cn+++++++++3wjhipzAqY9%5C%2FuI2Q22E4yTuSThC672gVpYnthgYoS%5C%2FvBkDFpNztNaHRomwHuvDFZPIjY%5Cn+++++++++1jc7UiI9pdqxhl%2BPvGc7Pa7YPDxJM74%2BnNIByGqF%2Bbz%5C%2FxPfb%2BdDwhRIDpkZa7ynUROUJ%5Cn+++++++++3uaXxBZNViuU9kFzOXEuaxF1%2BuF%2B3KS8h7HELfmQw0WHNYUuLjP0MlYRYRQM0%5C%2FtRivcV%5Cn+++++++++TDN%5C%2Fv%5C%2FxTKgbneNUldY5IiT8iPv91oZoSaS%5C%2FK8oSiSHeRiT3uZ5pI5v4EjcZ4OwXe3KAj%5Cn+++++++++iKOg%3D%3D%5CnX-Received%3A+by+10.42.41.210+with+SMTP+id+q18mr74485ice.13.1366073640273%3B%5Cn++++++++Mon%2C+15+Apr+2013+17%3A54%3A00+-0700+%28PDT%29%5CnReceived%3A+from+%5B192.168.0.110%5D+%28%5B69.165.215.199%5D%29%5Cn++++++++by+mx.google.com+with+ESMTPS+id+c14sm14935797ign.2.2013.04.15.17.53.58%5Cn++++++++%28version%3DTLSv1+cipher%3DECDHE-RSA-RC4-SHA+bits%3D128%5C%2F128%29%3B%5Cn++++++++Mon%2C+15+Apr+2013+17%3A53%3A59+-0700+%28PDT%29%5CnFrom%3A+James+McKinney+%3Cjames%40opennorth.ca%3E%5CnContent-Type%3A+text%5C%2Fplain%3B+charset%3Dus-ascii%5CnContent-Transfer-Encoding%3A+7bit%5CnSubject%3A+%5CnDate%3A+Mon%2C+15+Apr+2013+20%3A53%3A58+-0400%5CnMessage-Id%3A+%3C4AD44EDF-DAF1-4801-9B4B-A9A64FC66A8A%40opennorth.ca%3E%5CnTo%3A+foo%2Bbar%40govkit.org%5CnMime-Version%3A+1.0+%28Apple+Message+framework+v1283%29%5CnX-Mailer%3A+Apple+Mail+%282.1283%29%5CnX-Gm-Message-State%3A+ALoCoQn2LLsTwGDQuY%5C%2FQRSdRMB1VFg%2Bngkp6Ik0YfhgYs56Qvnwm%5C%2FSqd1ppDg820thcUX2ys0Etj%5Cn%5CnXJS%2AC4JDBQADN1.NSBN3%2A2IDNEN%2AGTUBE-STANDARD-ANTI-UBE-TEST-EMAIL%2AC.34X%22%2C%22headers%22%3A%7B%22Received%22%3A%5B%22from+mail-ia0-f175.google.com+%28mail-ia0-f175.google.com+%5B209.85.210.175%5D%29+by+ip-10-249-27-209+%28Postfix%29+with+ESMTPS+id+29FC8E1C08A+for+%3Cfoo%2Bbar%40govkit.org%3E%3B+Tue%2C+16+Apr+2013+16%3A53%3A06+%2B0000+%28UTC%29%22%2C%22by+mail-ia0-f175.google.com+with+SMTP+id+e16so604877iaa.6+for+%3Cfoo%2Bbar%40govkit.org%3E%3B+Tue%2C+16+Apr+2013+09%3A53%3A05+-0700+%28PDT%29%22%2C%22from+%5B192.168.0.110%5D+%28%5B69.165.215.199%5D%29+by+mx.google.com+with+ESMTPS+id+c14sm14935797ign.2.2013.04.15.17.53.58+%28version%3DTLSv1+cipher%3DECDHE-RSA-RC4-SHA+bits%3D128%5C%2F128%29%3B+Mon%2C+15+Apr+2013+17%3A53%3A59+-0700+%28PDT%29%22%5D%2C%22X-Google-Dkim-Signature%22%3A%22v%3D1%3B+a%3Drsa-sha256%3B+c%3Drelaxed%5C%2Frelaxed%3B+d%3Dgoogle.com%3B+s%3D20120113%3B+h%3Dx-received%3Afrom%3Acontent-type%3Acontent-transfer-encoding%3Asubject%3Adate+%3Amessage-id%3Ato%3Amime-version%3Ax-mailer%3Ax-gm-message-state%3B+bh%3Did84uDPa9SMZAVd%2Bg2pYg3Hl9aPfnapoGlOygxrIuV4%3D%3B+b%3DAaC1ZBBEIWwdLq5V3YOS0zdATSHTcDtqfs5%2BsiWukVujdgY%2BQGul4ic44ak6EjPBBb+3wjhipzAqY9%5C%2FuI2Q22E4yTuSThC672gVpYnthgYoS%5C%2FvBkDFpNztNaHRomwHuvDFZPIjY+1jc7UiI9pdqxhl%2BPvGc7Pa7YPDxJM74%2BnNIByGqF%2Bbz%5C%2FxPfb%2BdDwhRIDpkZa7ynUROUJ+3uaXxBZNViuU9kFzOXEuaxF1%2BuF%2B3KS8h7HELfmQw0WHNYUuLjP0MlYRYRQM0%5C%2FtRivcV+TDN%5C%2Fv%5C%2FxTKgbneNUldY5IiT8iPv91oZoSaS%5C%2FK8oSiSHeRiT3uZ5pI5v4EjcZ4OwXe3KAj+iKOg%3D%3D%22%2C%22X-Received%22%3A%22by+10.42.41.210+with+SMTP+id+q18mr74485ice.13.1366073640273%3B+Mon%2C+15+Apr+2013+17%3A54%3A00+-0700+%28PDT%29%22%2C%22From%22%3A%22James+McKinney+%3Cjames%40opennorth.ca%3E%22%2C%22Content-Type%22%3A%22text%5C%2Fplain%3B+charset%3Dus-ascii%22%2C%22Content-Transfer-Encoding%22%3A%227bit%22%2C%22Subject%22%3A%22%22%2C%22Date%22%3A%22Mon%2C+15+Apr+2013+20%3A53%3A58+-0400%22%2C%22Message-Id%22%3A%22%3C4AD44EDF-DAF1-4801-9B4B-A9A64FC66A8A%40opennorth.ca%3E%22%2C%22To%22%3A%22foo%2Bbar%40govkit.org%22%2C%22Mime-Version%22%3A%221.0+%28Apple+Message+framework+v1283%29%22%2C%22X-Mailer%22%3A%22Apple+Mail+%282.1283%29%22%2C%22X-Gm-Message-State%22%3A%22ALoCoQn2LLsTwGDQuY%5C%2FQRSdRMB1VFg%2Bngkp6Ik0YfhgYs56Qvnwm%5C%2FSqd1ppDg820thcUX2ys0Etj%22%7D%2C%22text%22%3A%22XJS%2AC4JDBQADN1.NSBN3%2A2IDNEN%2AGTUBE-STANDARD-ANTI-UBE-TEST-EMAIL%2AC.34X%22%2C%22from_email%22%3A%22james%40opennorth.ca%22%2C%22from_name%22%3A%22James+McKinney%22%2C%22to%22%3A%5B%5B%22foo%2Bbar%40govkit.org%22%2Cnull%5D%5D%2C%22subject%22%3A%22%22%2C%22spam_report%22%3A%7B%22score%22%3A999.3%2C%22matched_rules%22%3A%5B%7B%22name%22%3A%22RCVD_IN_DNSWL_LOW%22%2C%22score%22%3A-0.7%2C%22description%22%3A%22RBL%3A+Sender+listed+at+http%3A%5C%2F%5C%2Fwww.dnswl.org%5C%2F%2C+low%22%7D%2C%7B%22name%22%3Anull%2C%22score%22%3A0%2C%22description%22%3Anull%7D%2C%7B%22name%22%3A%22listed%22%2C%22score%22%3A0%2C%22description%22%3A%22in+list.dnswl.org%5D%22%7D%2C%7B%22name%22%3A%22GTUBE%22%2C%22score%22%3A1000%2C%22description%22%3A%22BODY%3A+Generic+Test+for+Unsolicited+Bulk+Email%22%7D%2C%7B%22name%22%3A%22TVD_SPACE_RATIO%22%2C%22score%22%3A0%2C%22description%22%3A%22TVD_SPACE_RATIO%22%7D%5D%7D%2C%22dkim%22%3A%7B%22signed%22%3Afalse%2C%22valid%22%3Afalse%7D%2C%22spf%22%3A%7B%22result%22%3A%22pass%22%2C%22detail%22%3A%22sender+SPF+authorized%22%7D%2C%22email%22%3A%22foo%2Bbar%40govkit.org%22%2C%22tags%22%3A%5B%5D%2C%22sender%22%3Anull%7D%7D%5D
@@ -0,0 +1,10 @@
1
+ HTTP/1.1 200 OK
2
+ X-Mandrill-Signature: kzErC+czqEbkTE2Op2aChKyAKYk=
3
+ User-Agent: Mandrill-Webhook/1.0
4
+ Host: requestb.in
5
+ Content-Type: application/x-www-form-urlencoded
6
+ Content-Length: 9535
7
+ Connection: close
8
+ Accept: */*
9
+
10
+ mandrill_events=%5B%7B%22event%22%3A%22inbound%22%2C%22ts%22%3A1368657709%2C%22msg%22%3A%7B%22raw_msg%22%3A%22Received%3A+from+mail-vc0-f176.google.com+%28mail-vc0-f176.google.com+%5B209.85.220.176%5D%29%5Cn%5Ctby+ip-10-249-27-209+%28Postfix%29+with+ESMTPS+id+B2561E1C0A3%5Cn%5Ctfor+%3Cfoo%2Bbar%40govkit.org%3E%3B+Wed%2C+15+May+2013+22%3A41%3A45+%2B0000+%28UTC%29%5CnReceived%3A+by+mail-vc0-f176.google.com+with+SMTP+id+ib11so2264350vcb.35%5Cn++++++++for+%3Cfoo%2Bbar%40govkit.org%3E%3B+Wed%2C+15+May+2013+15%3A41%3A44+-0700+%28PDT%29%5CnX-Google-DKIM-Signature%3A+v%3D1%3B+a%3Drsa-sha256%3B+c%3Drelaxed%5C%2Frelaxed%3B%5Cn++++++++d%3Dgoogle.com%3B+s%3D20120113%3B%5Cn++++++++h%3Dx-received%3Afrom%3Acontent-type%3Asubject%3Adate%3Amessage-id%3Ato%5Cn+++++++++%3Amime-version%3Ax-mailer%3Ax-gm-message-state%3B%5Cn++++++++bh%3DxFCYHSc0FgObhWXJ3P8uLC45E3z%5C%2FFHHrcdppqnkA4xw%3D%3B%5Cn++++++++b%3DJB4Azw5jcRPkuAv1cOr2sY5lJWvY6mFUOBVy3D1x2Xi2t%2Bt56ptjcXCYubAgo64KKg%5Cn+++++++++TjsQWGsCeBQOdeX%2B8Pqd6eizkUmYvJX9K7dGdKk9ixIUDpKkyNCYgJWVuHCmX6kVhDt2%5Cn+++++++++f%2BbvoXYv%2BF2l1%5C%2FS0F%2B4jPgcAhS%2B4FnTi8Qb%5C%2FwSR9WON0X0afWTomdcKHk6DXtNoQgz1h%5Cn+++++++++I%2B99cBaeATGnaKz8MB5vJ1Cl8M5CaKOcwFTB4qPZb0%5C%2FTEryamBKXnyIKJ4RKPleKTzFS%5Cn+++++++++OsHlyHPqYKOJ6gcNxFbak815raOFcytmb%2BWh32uXNy7jK1bis04gE5gdoNUG6XewcngX%5Cn+++++++++YGqg%3D%3D%5CnX-Received%3A+by+10.220.145.15+with+SMTP+id+b15mr26420968vcv.59.1368657704488%3B%5Cn++++++++Wed%2C+15+May+2013+15%3A41%3A44+-0700+%28PDT%29%5CnReceived%3A+from+%5B10.0.1.91%5D+%28MTLXPQAK-1176052872.sdsl.bell.ca.+%5B70.25.36.136%5D%29%5Cn++++++++by+mx.google.com+with+ESMTPSA+id+6sm3690979vdb.3.2013.05.15.15.41.42%5Cn++++++++for+%3Cfoo%2Bbar%40govkit.org%3E%5Cn++++++++%28version%3DTLSv1+cipher%3DRC4-SHA+bits%3D128%5C%2F128%29%3B%5Cn++++++++Wed%2C+15+May+2013+15%3A41%3A43+-0700+%28PDT%29%5CnFrom%3A+James+McKinney+%3Cjames%40opennorth.ca%3E%5CnContent-Type%3A+multipart%5C%2Falternative%3B+boundary%3D%5C%22Apple-Mail%3D_37F3496E-1B83-4E11-B07D-2AE3DCE5BF20%5C%22%5CnSubject%3A+Test%5CnDate%3A+Mon%2C+15+Apr+2013+20%3A20%3A12+-0400%5CnMessage-Id%3A+%3C6A165C1D-EE1A-4E72-B7F2-4D635DD7B974%40opennorth.ca%3E%5CnTo%3A+foo%2Bbar%40govkit.org%5CnMime-Version%3A+1.0+%28Apple+Message+framework+v1283%29%5CnX-Mailer%3A+Apple+Mail+%282.1283%29%5CnX-Gm-Message-State%3A+ALoCoQkJcEAlDEUIas4RDwFslJS%2BD5GJWadfXzNUxWyT2qGKHOG7D%2B5E5fZqupaCkuK6m9I06cNC%5Cn%5Cn%5Cn--Apple-Mail%3D_37F3496E-1B83-4E11-B07D-2AE3DCE5BF20%5CnContent-Transfer-Encoding%3A+7bit%5CnContent-Type%3A+text%5C%2Fplain%3B%5Cn%5Ctcharset%3Dus-ascii%5Cn%5Cnbold+text%5Cn%5Cn%5Cn%5Cnsome+more+bold+text%5Cn%5Cn%5Cn%5Cnsome+italic+text%5Cn%5Cn%3E+multiline%5Cn%3E+quoted%5Cn%3E+text%5Cn%5Cn%5Cn--%5CnSignature+block%5Cn--Apple-Mail%3D_37F3496E-1B83-4E11-B07D-2AE3DCE5BF20%5CnContent-Type%3A+multipart%5C%2Fmixed%3B%5Cn%5Ctboundary%3D%5C%22Apple-Mail%3D_FFF66CE8-3FE4-4732-8E44-C2082591B097%5C%22%5Cn%5Cn%5Cn--Apple-Mail%3D_FFF66CE8-3FE4-4732-8E44-C2082591B097%5CnContent-Transfer-Encoding%3A+7bit%5CnContent-Type%3A+text%5C%2Fhtml%3B%5Cn%5Ctcharset%3Dus-ascii%5Cn%5Cn%3Chtml%3E%3Chead%3E%3C%5C%2Fhead%3E%3Cbody+style%3D%5C%22word-wrap%3A+break-word%3B+-webkit-nbsp-mode%3A+space%3B+-webkit-line-break%3A+after-white-space%3B+%5C%22%3E%3Cb%3Ebold+text%3C%5C%2Fb%3E%3Cdiv%3E%3Cbr%3E%3C%5C%2Fdiv%3E%3Cdiv%3E%3C%5C%2Fdiv%3E%3C%5C%2Fbody%3E%3C%5C%2Fhtml%3E%5Cn--Apple-Mail%3D_FFF66CE8-3FE4-4732-8E44-C2082591B097%5CnContent-Disposition%3A+attachment%3B%5Cn%5Ctfilename%3Dfoo.txt%5CnContent-Type%3A+text%5C%2Fplain%3B%5Cn%5Ctname%3D%5C%22foo.txt%5C%22%5CnContent-Transfer-Encoding%3A+7bit%5Cn%5CnLorem+ipsum+dolor+sit+amet%2C+consectetur+adipiscing+elit.%5Cn%5Cn--Apple-Mail%3D_FFF66CE8-3FE4-4732-8E44-C2082591B097%5CnContent-Transfer-Encoding%3A+7bit%5CnContent-Type%3A+text%5C%2Fhtml%3B%5Cn%5Ctcharset%3Dus-ascii%5Cn%5Cn%3Chtml%3E%3Cbody+style%3D%5C%22word-wrap%3A+break-word%3B+-webkit-nbsp-mode%3A+space%3B+-webkit-line-break%3A+after-white-space%3B+%5C%22%3E%3Chead%3E%3C%5C%2Fhead%3E%3Cbr%3E%3Cdiv%3E%3C%5C%2Fdiv%3E%3Cdiv%3E%3Cbr%3E%3C%5C%2Fdiv%3E%3Cdiv%3E%3Cb%3Esome+more+bold+text%3C%5C%2Fb%3E%3C%5C%2Fdiv%3E%3Cdiv%3E%3Cb%3E%3Cbr%3E%3C%5C%2Fb%3E%3C%5C%2Fdiv%3E%3Cdiv%3E%3Cb%3E%3C%5C%2Fb%3E%3C%5C%2Fdiv%3E%3C%5C%2Fbody%3E%3C%5C%2Fhtml%3E%5Cn--Apple-Mail%3D_FFF66CE8-3FE4-4732-8E44-C2082591B097%5CnContent-Disposition%3A+attachment%3B%5Cn%5Ctfilename%3Dbar.txt%5CnContent-Type%3A+text%5C%2Fplain%3B%5Cn%5Ctname%3D%5C%22bar.txt%5C%22%5CnContent-Transfer-Encoding%3A+7bit%5Cn%5CnNam+accumsan+euismod+eros+et+rhoncus.%5Cn%5Cn--Apple-Mail%3D_FFF66CE8-3FE4-4732-8E44-C2082591B097%5CnContent-Transfer-Encoding%3A+7bit%5CnContent-Type%3A+text%5C%2Fhtml%3B%5Cn%5Ctcharset%3Dus-ascii%5Cn%5Cn%3Chtml%3E%3Chead%3E%3C%5C%2Fhead%3E%3Cbody+style%3D%5C%22word-wrap%3A+break-word%3B+-webkit-nbsp-mode%3A+space%3B+-webkit-line-break%3A+after-white-space%3B+%5C%22%3E%3Cbr%3E%3Cdiv%3E%3Cb%3E%3C%5C%2Fb%3E%3C%5C%2Fdiv%3E%3Cdiv%3E%3Cb%3E%3Cspan+class%3D%5C%22Apple-style-span%5C%22+style%3D%5C%22font-weight%3A+normal%3B+%5C%22%3E%3Cbr%3E%3C%5C%2Fspan%3E%3C%5C%2Fb%3E%3C%5C%2Fdiv%3E%3Cdiv%3E%3Cb%3E%3Cspan+class%3D%5C%22Apple-style-span%5C%22+style%3D%5C%22font-weight%3A+normal%3B+%5C%22%3E%3Ci%3Esome+italic+text%3C%5C%2Fi%3E%3C%5C%2Fspan%3E%3C%5C%2Fb%3E%3C%5C%2Fdiv%3E%3Cdiv%3E%3Cb%3E%3Cspan+class%3D%5C%22Apple-style-span%5C%22+style%3D%5C%22font-weight%3A+normal%3B+%5C%22%3E%3Cbr%3E%3C%5C%2Fspan%3E%3C%5C%2Fb%3E%3C%5C%2Fdiv%3E%3Cdiv%3E%3Cblockquote+type%3D%5C%22cite%5C%22%3Emultiline%3C%5C%2Fblockquote%3E%3Cblockquote+type%3D%5C%22cite%5C%22%3Equoted%3C%5C%2Fblockquote%3E%3Cblockquote+type%3D%5C%22cite%5C%22%3Etext%3C%5C%2Fblockquote%3E%3C%5C%2Fdiv%3E%3Cdiv%3E%3Cbr%3E%3C%5C%2Fdiv%3E%3Cdiv%3E--%3C%5C%2Fdiv%3E%3Cdiv%3ESignature+block%3C%5C%2Fdiv%3E%3C%5C%2Fbody%3E%3C%5C%2Fhtml%3E%5Cn--Apple-Mail%3D_FFF66CE8-3FE4-4732-8E44-C2082591B097--%5Cn%5Cn--Apple-Mail%3D_37F3496E-1B83-4E11-B07D-2AE3DCE5BF20--%22%2C%22headers%22%3A%7B%22Received%22%3A%5B%22from+mail-vc0-f176.google.com+%28mail-vc0-f176.google.com+%5B209.85.220.176%5D%29+by+ip-10-249-27-209+%28Postfix%29+with+ESMTPS+id+B2561E1C0A3+for+%3Cfoo%2Bbar%40govkit.org%3E%3B+Wed%2C+15+May+2013+22%3A41%3A45+%2B0000+%28UTC%29%22%2C%22by+mail-vc0-f176.google.com+with+SMTP+id+ib11so2264350vcb.35+for+%3Cfoo%2Bbar%40govkit.org%3E%3B+Wed%2C+15+May+2013+15%3A41%3A44+-0700+%28PDT%29%22%2C%22from+%5B10.0.1.91%5D+%28MTLXPQAK-1176052872.sdsl.bell.ca.+%5B70.25.36.136%5D%29+by+mx.google.com+with+ESMTPSA+id+6sm3690979vdb.3.2013.05.15.15.41.42+for+%3Cfoo%2Bbar%40govkit.org%3E+%28version%3DTLSv1+cipher%3DRC4-SHA+bits%3D128%5C%2F128%29%3B+Wed%2C+15+May+2013+15%3A41%3A43+-0700+%28PDT%29%22%5D%2C%22X-Google-Dkim-Signature%22%3A%22v%3D1%3B+a%3Drsa-sha256%3B+c%3Drelaxed%5C%2Frelaxed%3B+d%3Dgoogle.com%3B+s%3D20120113%3B+h%3Dx-received%3Afrom%3Acontent-type%3Asubject%3Adate%3Amessage-id%3Ato+%3Amime-version%3Ax-mailer%3Ax-gm-message-state%3B+bh%3DxFCYHSc0FgObhWXJ3P8uLC45E3z%5C%2FFHHrcdppqnkA4xw%3D%3B+b%3DJB4Azw5jcRPkuAv1cOr2sY5lJWvY6mFUOBVy3D1x2Xi2t%2Bt56ptjcXCYubAgo64KKg+TjsQWGsCeBQOdeX%2B8Pqd6eizkUmYvJX9K7dGdKk9ixIUDpKkyNCYgJWVuHCmX6kVhDt2+f%2BbvoXYv%2BF2l1%5C%2FS0F%2B4jPgcAhS%2B4FnTi8Qb%5C%2FwSR9WON0X0afWTomdcKHk6DXtNoQgz1h+I%2B99cBaeATGnaKz8MB5vJ1Cl8M5CaKOcwFTB4qPZb0%5C%2FTEryamBKXnyIKJ4RKPleKTzFS+OsHlyHPqYKOJ6gcNxFbak815raOFcytmb%2BWh32uXNy7jK1bis04gE5gdoNUG6XewcngX+YGqg%3D%3D%22%2C%22X-Received%22%3A%22by+10.220.145.15+with+SMTP+id+b15mr26420968vcv.59.1368657704488%3B+Wed%2C+15+May+2013+15%3A41%3A44+-0700+%28PDT%29%22%2C%22From%22%3A%22James+McKinney+%3Cjames%40opennorth.ca%3E%22%2C%22Content-Type%22%3A%22multipart%5C%2Falternative%3B+boundary%3D%5C%22Apple-Mail%3D_37F3496E-1B83-4E11-B07D-2AE3DCE5BF20%5C%22%22%2C%22Subject%22%3A%22Test%22%2C%22Date%22%3A%22Mon%2C+15+Apr+2013+20%3A20%3A12+-0400%22%2C%22Message-Id%22%3A%22%3C6A165C1D-EE1A-4E72-B7F2-4D635DD7B974%40opennorth.ca%3E%22%2C%22To%22%3A%22foo%2Bbar%40govkit.org%22%2C%22Mime-Version%22%3A%221.0+%28Apple+Message+framework+v1283%29%22%2C%22X-Mailer%22%3A%22Apple+Mail+%282.1283%29%22%2C%22X-Gm-Message-State%22%3A%22ALoCoQkJcEAlDEUIas4RDwFslJS%2BD5GJWadfXzNUxWyT2qGKHOG7D%2B5E5fZqupaCkuK6m9I06cNC%22%7D%2C%22text%22%3A%22bold+text%5Cn%5Cn%5Cn%5Cnsome+more+bold+text%5Cn%5Cn%5Cn%5Cnsome+italic+text%5Cn%5Cn%3E+multiline%5Cn%3E+quoted%5Cn%3E+text%5Cn%5Cn%5Cn--%5CnSignature+block%5Cn%22%2C%22text_flowed%22%3Afalse%2C%22html%22%3A%22%3Chtml%3E%3Chead%3E%3C%5C%2Fhead%3E%3Cbody+style%3D%5C%22word-wrap%3A+break-word%3B+-webkit-nbsp-mode%3A+space%3B+-webkit-line-break%3A+after-white-space%3B+%5C%22%3E%3Cb%3Ebold+text%3C%5C%2Fb%3E%3Cdiv%3E%3Cbr%3E%3C%5C%2Fdiv%3E%3Cdiv%3E%3C%5C%2Fdiv%3E%3C%5C%2Fbody%3E%3C%5C%2Fhtml%3E%5Cn%22%2C%22attachments%22%3A%7B%22foo.txt%22%3A%7B%22name%22%3A%22foo.txt%22%2C%22type%22%3A%22text%5C%2Fplain%22%2C%22content%22%3A%22Lorem+ipsum+dolor+sit+amet%2C+consectetur+adipiscing+elit.%5Cn%5Cn%22%7D%2C%22bar.txt%22%3A%7B%22name%22%3A%22bar.txt%22%2C%22type%22%3A%22text%5C%2Fplain%22%2C%22content%22%3A%22Nam+accumsan+euismod+eros+et+rhoncus.%5Cn%5Cn%22%7D%7D%2C%22from_email%22%3A%22james%40opennorth.ca%22%2C%22from_name%22%3A%22James+McKinney%22%2C%22to%22%3A%5B%5B%22foo%2Bbar%40govkit.org%22%2Cnull%5D%5D%2C%22subject%22%3A%22Test%22%2C%22spam_report%22%3A%7B%22score%22%3A0%2C%22matched_rules%22%3A%5B%5D%7D%2C%22dkim%22%3A%7B%22signed%22%3Afalse%2C%22valid%22%3Afalse%7D%2C%22spf%22%3A%7B%22result%22%3A%22pass%22%2C%22detail%22%3A%22sender+SPF+authorized%22%7D%2C%22email%22%3A%22foo%2Bbar%40govkit.org%22%2C%22tags%22%3A%5B%5D%2C%22sender%22%3Anull%2C%22template%22%3Anull%7D%7D%5D