bounce_email 0.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/.gitignore +5 -0
- data/Gemfile +4 -0
- data/HISTORY.md +17 -0
- data/Manifest.txt +11 -0
- data/PostInstall.txt +35 -0
- data/README.md +71 -0
- data/Rakefile +9 -0
- data/VERSION +1 -0
- data/bounce_email.gemspec +23 -0
- data/lib/bounce_email.rb +218 -0
- data/script/console +10 -0
- data/script/destroy +14 -0
- data/script/generate +14 -0
- data/test/bounce_email_test.rb +113 -0
- data/test/bounces/malformed_bounce_01.txt +75 -0
- data/test/bounces/tt_1234175799.txt +73 -0
- data/test/bounces/tt_1234177688.txt +75 -0
- data/test/bounces/tt_1234210655.txt +105 -0
- data/test/bounces/tt_1234211357.txt +82 -0
- data/test/bounces/tt_1234211929.txt +89 -0
- data/test/bounces/tt_1234211931.txt +87 -0
- data/test/bounces/tt_1234211932.txt +77 -0
- data/test/bounces/tt_1234241665.txt +78 -0
- data/test/bounces/tt_1234285532.txt +80 -0
- data/test/bounces/tt_1234285668.txt +78 -0
- data/test/bounces/tt_bounce_01.txt +49 -0
- data/test/bounces/tt_bounce_02.txt +49 -0
- data/test/bounces/tt_bounce_03.txt +91 -0
- data/test/bounces/tt_bounce_04.txt +93 -0
- data/test/bounces/tt_bounce_05.txt +78 -0
- data/test/bounces/tt_bounce_06.txt +48 -0
- data/test/bounces/tt_bounce_07.txt +91 -0
- data/test/bounces/tt_bounce_08.txt +51 -0
- data/test/bounces/tt_bounce_09.txt +51 -0
- data/test/bounces/tt_bounce_10.txt +139 -0
- data/test/bounces/tt_bounce_11.txt +535 -0
- data/test/bounces/tt_bounce_12_soft.txt +46 -0
- data/test/bounces/tt_bounce_13.txt +648 -0
- data/test/bounces/tt_bounce_14.txt +596 -0
- data/test/bounces/tt_bounce_15.txt +137 -0
- data/test/bounces/tt_bounce_16.txt +99 -0
- data/test/bounces/tt_bounce_17.txt +61 -0
- data/test/bounces/tt_bounce_18.txt +99 -0
- data/test/bounces/tt_bounce_19.txt +45 -0
- data/test/bounces/tt_bounce_20.txt +43 -0
- data/test/bounces/tt_bounce_21.txt +65 -0
- data/test/bounces/tt_bounce_22.txt +49 -0
- data/test/bounces/tt_bounce_23.txt +133 -0
- data/test/bounces/tt_bounce_24.txt +297 -0
- data/test/bounces/tt_bounce_25.txt +67 -0
- data/test/bounces/unknown_code_bounce_01.txt +64 -0
- data/test/non_bounces/tt_1234210666.txt +40 -0
- data/test/non_bounces/tt_1234211024.txt +42 -0
- data/test/non_bounces/tt_1234241664.txt +22 -0
- data/test/test_helper.rb +7 -0
- metadata +178 -0
@@ -0,0 +1,51 @@
|
|
1
|
+
Delivered-To: agris.ameriks@gmail.com
|
2
|
+
Received: by 10.67.102.1 with SMTP id e1cs83816ugm;
|
3
|
+
Mon, 17 Sep 2007 13:18:52 -0700 (PDT)
|
4
|
+
Received: by 10.66.242.19 with SMTP id p19mr7552403ugh.1190060332137;
|
5
|
+
Mon, 17 Sep 2007 13:18:52 -0700 (PDT)
|
6
|
+
Return-Path: <>
|
7
|
+
Received: by 10.66.242.19 with SMTP id p19mr10626800ugh;
|
8
|
+
Mon, 17 Sep 2007 13:18:52 -0700 (PDT)
|
9
|
+
Message-ID: <0014850b2bf1043a5a835bbd57c45e@googlemail.com>
|
10
|
+
From: Mail Delivery Subsystem <mailer-daemon@googlemail.com>
|
11
|
+
To: agris.ameriks@gmail.com
|
12
|
+
Subject: Delivery Status Notification (Failure)
|
13
|
+
Date: Mon, 17 Sep 2007 13:18:52 -0700 (PDT)
|
14
|
+
|
15
|
+
This is an automatically generated Delivery Status Notification
|
16
|
+
|
17
|
+
Delivery to the following recipient failed permanently:
|
18
|
+
|
19
|
+
jauatkales@gmial.com
|
20
|
+
|
21
|
+
Technical details of permanent failure:
|
22
|
+
TEMP_FAILURE: Could not initiate SMTP conversation with any hosts:
|
23
|
+
[gmial.com (1): Connection timed out]
|
24
|
+
|
25
|
+
----- Original message -----
|
26
|
+
|
27
|
+
Received: by 10.66.242.19 with SMTP id p19mr3910432ugh.1189785128812;
|
28
|
+
Fri, 14 Sep 2007 08:52:08 -0700 (PDT)
|
29
|
+
Received: by 10.67.102.1 with HTTP; Fri, 14 Sep 2007 08:52:08 -0700 (PDT)
|
30
|
+
Message-ID: <da9602510709140852n758da03h4c7a8c6ede38fde8@mail.gmail.com>
|
31
|
+
Date: Fri, 14 Sep 2007 18:52:08 +0300
|
32
|
+
From: "Agris Ameriks" <agris.ameriks@gmail.com>
|
33
|
+
To: Agris.Ameriks@gmail.com
|
34
|
+
Subject: =?ISO-8859-13?Q?prof._Ivars_L=E2cis_uzst=E2sies_ar_lekciju?=
|
35
|
+
MIME-Version: 1.0
|
36
|
+
Content-Type: multipart/mixed;
|
37
|
+
boundary="----=_Part_868_30357988.1189785128799"
|
38
|
+
|
39
|
+
------=_Part_868_30357988.1189785128799
|
40
|
+
Content-Type: text/plain; charset=ISO-8859-13
|
41
|
+
Content-Transfer-Encoding: base64
|
42
|
+
Content-Disposition: inline
|
43
|
+
|
44
|
+
TGFiZGllbiEKCk5vc/t0dSBwcmVzZXMgcmVs7nppIHBhciBwYXPia3VtdSAxNS5zZXB0ZW1icu4g
|
45
|
+
RXNwbGFu4mTnLgoKLS0gCkFyIGNpZfJ1LApBZ3JpcyBBbWVyaWtzCk1vYi50ZWwuIDIgNjQ2MTEw
|
46
|
+
MQpFLXBhc3RzOiBBZ3Jpcy5BbWVyaWtzQGdtYWlsLmNvbQo=
|
47
|
+
------=_Part_868_30357988.1189785128799
|
48
|
+
Content-Type: application/msword; name="relize_rektori.doc"
|
49
|
+
|
50
|
+
----- Message truncated -----
|
51
|
+
|
@@ -0,0 +1,51 @@
|
|
1
|
+
Delivered-To: agris.ameriks@gmail.com
|
2
|
+
Received: by 10.67.102.1 with SMTP id e1cs79686ugm;
|
3
|
+
Mon, 17 Sep 2007 11:17:15 -0700 (PDT)
|
4
|
+
Received: by 10.66.242.19 with SMTP id p19mr7441638ugh.1190053034458;
|
5
|
+
Mon, 17 Sep 2007 11:17:14 -0700 (PDT)
|
6
|
+
Return-Path: <>
|
7
|
+
Received: by 10.66.242.19 with SMTP id p19mr10490766ugh;
|
8
|
+
Mon, 17 Sep 2007 11:17:14 -0700 (PDT)
|
9
|
+
Message-ID: <0014850b2bf1043a58d061fe5bc312@googlemail.com>
|
10
|
+
From: Mail Delivery Subsystem <mailer-daemon@googlemail.com>
|
11
|
+
To: agris.ameriks@gmail.com
|
12
|
+
Subject: Delivery Status Notification (Failure)
|
13
|
+
Date: Mon, 17 Sep 2007 11:17:14 -0700 (PDT)
|
14
|
+
|
15
|
+
This is an automatically generated Delivery Status Notification
|
16
|
+
|
17
|
+
Delivery to the following recipient failed permanently:
|
18
|
+
|
19
|
+
gintsgrube@pop.ml.lv
|
20
|
+
|
21
|
+
Technical details of permanent failure:
|
22
|
+
TEMP_FAILURE: Could not initiate SMTP conversation with any hosts:
|
23
|
+
[pop.ml.lv (1): Connection dropped]
|
24
|
+
|
25
|
+
----- Original message -----
|
26
|
+
|
27
|
+
Received: by 10.66.242.19 with SMTP id p19mr3910432ugh.1189785128812;
|
28
|
+
Fri, 14 Sep 2007 08:52:08 -0700 (PDT)
|
29
|
+
Received: by 10.67.102.1 with HTTP; Fri, 14 Sep 2007 08:52:08 -0700 (PDT)
|
30
|
+
Message-ID: <da9602510709140852n758da03h4c7a8c6ede38fde8@mail.gmail.com>
|
31
|
+
Date: Fri, 14 Sep 2007 18:52:08 +0300
|
32
|
+
From: "Agris Ameriks" <agris.ameriks@gmail.com>
|
33
|
+
To: Agris.Ameriks@gmail.com
|
34
|
+
Subject: =?ISO-8859-13?Q?prof._Ivars_L=E2cis_uzst=E2sies_ar_lekciju?=
|
35
|
+
MIME-Version: 1.0
|
36
|
+
Content-Type: multipart/mixed;
|
37
|
+
boundary="----=_Part_868_30357988.1189785128799"
|
38
|
+
|
39
|
+
------=_Part_868_30357988.1189785128799
|
40
|
+
Content-Type: text/plain; charset=ISO-8859-13
|
41
|
+
Content-Transfer-Encoding: base64
|
42
|
+
Content-Disposition: inline
|
43
|
+
|
44
|
+
TGFiZGllbiEKCk5vc/t0dSBwcmVzZXMgcmVs7nppIHBhciBwYXPia3VtdSAxNS5zZXB0ZW1icu4g
|
45
|
+
RXNwbGFu4mTnLgoKLS0gCkFyIGNpZfJ1LApBZ3JpcyBBbWVyaWtzCk1vYi50ZWwuIDIgNjQ2MTEw
|
46
|
+
MQpFLXBhc3RzOiBBZ3Jpcy5BbWVyaWtzQGdtYWlsLmNvbQo=
|
47
|
+
------=_Part_868_30357988.1189785128799
|
48
|
+
Content-Type: application/msword; name="relize_rektori.doc"
|
49
|
+
|
50
|
+
----- Message truncated -----
|
51
|
+
|
@@ -0,0 +1,139 @@
|
|
1
|
+
Delivered-To: agris.ameriks@gmail.com
|
2
|
+
Received: by 10.67.102.1 with SMTP id e1cs29105ugm;
|
3
|
+
Sat, 15 Sep 2007 09:07:11 -0700 (PDT)
|
4
|
+
Received: by 10.86.84.5 with SMTP id h5mr2204525fgb.1189872431018;
|
5
|
+
Sat, 15 Sep 2007 09:07:11 -0700 (PDT)
|
6
|
+
Return-Path: <>
|
7
|
+
Received: from mail.studio7.lv ([159.148.225.2])
|
8
|
+
by mx.google.com with ESMTP id 13si4519655fks.2007.09.15.09.07.10;
|
9
|
+
Sat, 15 Sep 2007 09:07:10 -0700 (PDT)
|
10
|
+
Received-SPF: neutral (google.com: 159.148.225.2 is neither permitted nor denied by best guess record for domain of mail.studio7.lv) client-ip=159.148.225.2;
|
11
|
+
Authentication-Results: mx.google.com; spf=neutral (google.com: 159.148.225.2 is neither permitted nor denied by best guess record for domain of mail.studio7.lv) smtp.mail=
|
12
|
+
Received: by mail.studio7.lv (Postfix)
|
13
|
+
id 7079F1088055; Sat, 15 Sep 2007 19:07:08 +0300 (EEST)
|
14
|
+
Date: Sat, 15 Sep 2007 19:07:08 +0300 (EEST)
|
15
|
+
From: MAILER-DAEMON@mail.studio7.lv (Mail Delivery System)
|
16
|
+
Subject: Undelivered Mail Returned to Sender
|
17
|
+
To: agris.ameriks@gmail.com
|
18
|
+
MIME-Version: 1.0
|
19
|
+
Content-Type: multipart/report; report-type=delivery-status;
|
20
|
+
boundary="8BCE21088059.1189872428/mail.studio7.lv"
|
21
|
+
Message-Id: <20070915160708.7079F1088055@mail.studio7.lv>
|
22
|
+
|
23
|
+
This is a MIME-encapsulated message.
|
24
|
+
|
25
|
+
--8BCE21088059.1189872428/mail.studio7.lv
|
26
|
+
Content-Description: Notification
|
27
|
+
Content-Type: text/plain
|
28
|
+
|
29
|
+
This is the Postfix program at host mail.studio7.lv.
|
30
|
+
|
31
|
+
I'm sorry to have to inform you that your message could not
|
32
|
+
be delivered to one or more recipients. It's attached below.
|
33
|
+
|
34
|
+
For further assistance, please send mail to <postmaster>
|
35
|
+
|
36
|
+
If you do so, please include this problem report. You can
|
37
|
+
delete your own text from the attached returned message.
|
38
|
+
|
39
|
+
The Postfix program
|
40
|
+
|
41
|
+
<info.rietumuradio.lv@mail.studio7.lv>: temporary failure
|
42
|
+
|
43
|
+
--8BCE21088059.1189872428/mail.studio7.lv
|
44
|
+
Content-Description: Delivery report
|
45
|
+
Content-Type: message/delivery-status
|
46
|
+
|
47
|
+
Reporting-MTA: dns; mail.studio7.lv
|
48
|
+
X-Postfix-Queue-ID: 8BCE21088059
|
49
|
+
X-Postfix-Sender: rfc822; agris.ameriks@gmail.com
|
50
|
+
Arrival-Date: Fri, 14 Sep 2007 18:52:25 +0300 (EEST)
|
51
|
+
|
52
|
+
Final-Recipient: rfc822; info.rietumuradio.lv@mail.studio7.lv
|
53
|
+
Action: failed
|
54
|
+
Status: 4.0.0
|
55
|
+
Diagnostic-Code: X-Postfix; temporary failure
|
56
|
+
|
57
|
+
--8BCE21088059.1189872428/mail.studio7.lv
|
58
|
+
Content-Description: Undelivered Message
|
59
|
+
Content-Type: message/rfc822
|
60
|
+
|
61
|
+
Received: from localhost (localhost.localdomain [127.0.0.1])
|
62
|
+
by mail.studio7.lv (Postfix) with ESMTP id 8BCE21088059
|
63
|
+
for <info.rietumuradio.lv@mail.studio7.lv>; Fri, 14 Sep 2007 18:52:25 +0300 (EEST)
|
64
|
+
X-Virus-Scanned: amavisd-new at studio7.lv
|
65
|
+
Received: from mail.studio7.lv ([127.0.0.1])
|
66
|
+
by localhost (smtp.studio7.lv [127.0.0.1]) (amavisd-new, port 10024)
|
67
|
+
with ESMTP id ptzaz7um-NBV for <info.rietumuradio.lv@mail.studio7.lv>;
|
68
|
+
Fri, 14 Sep 2007 18:52:23 +0300 (EEST)
|
69
|
+
Received: from hu-out-0506.google.com (hu-out-0506.google.com [72.14.214.227])
|
70
|
+
by mail.studio7.lv (Postfix) with ESMTP id 9F8D2108806D
|
71
|
+
for <info@rietumuradio.lv>; Fri, 14 Sep 2007 18:52:22 +0300 (EEST)
|
72
|
+
Received: by hu-out-0506.google.com with SMTP id 38so472432huc
|
73
|
+
for <info@rietumuradio.lv>; Fri, 14 Sep 2007 08:52:21 -0700 (PDT)
|
74
|
+
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
|
75
|
+
d=gmail.com; s=beta;
|
76
|
+
h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type;
|
77
|
+
bh=4vXa1w6DKyZv8zm1ehZCNcwq4zu82fUl9OQIU6HbeGE=;
|
78
|
+
b=rswuEvzRFbiKcOsstWjGjv1coaMxHwvSVfu8tIn4I9K3C/JY6JK2zK6C2vOPc9DUgaCyFxnXsv7Vf4ESuAcMTaqP3RCabN//lJ9YGixCxvdTZhgaS9vs9Ze6WV68Mw3lCB1eg5QC7CmhHlegDpAtBWV/NLqAPa9WiSun+T5eFxE=
|
79
|
+
DomainKey-Signature: a=rsa-sha1; c=nofws;
|
80
|
+
d=gmail.com; s=beta;
|
81
|
+
h=received:message-id:date:from:to:subject:mime-version:content-type;
|
82
|
+
b=dsax+33YeZDwUJY8uMkbOIOiBLaklYI33wM+tVcxaiESRe8TbTgOvPhQyW6x45knhFvyR9PNE7lDpq3Xz00OMMT6UnM9wRA9q7U0Pd2Vr2+lCw4DcXyfCo/PhBdYydODibWr//M0WmU9eL/S9zLSMW87gZPe0v4PNFd4hQSev9w=
|
83
|
+
Received: by 10.66.242.19 with SMTP id p19mr3910432ugh.1189785128812;
|
84
|
+
Fri, 14 Sep 2007 08:52:08 -0700 (PDT)
|
85
|
+
Received: by 10.67.102.1 with HTTP; Fri, 14 Sep 2007 08:52:08 -0700 (PDT)
|
86
|
+
Message-ID: <da9602510709140852n758da03h4c7a8c6ede38fde8@mail.gmail.com>
|
87
|
+
Date: Fri, 14 Sep 2007 18:52:08 +0300
|
88
|
+
From: "Agris Ameriks" <agris.ameriks@gmail.com>
|
89
|
+
To: Agris.Ameriks@gmail.com
|
90
|
+
Subject: =?ISO-8859-13?Q?prof._Ivars_L=E2cis_uzst=E2sies_ar_lekciju?=
|
91
|
+
MIME-Version: 1.0
|
92
|
+
Content-Type: multipart/mixed;
|
93
|
+
boundary="----=_Part_868_30357988.1189785128799"
|
94
|
+
|
95
|
+
------=_Part_868_30357988.1189785128799
|
96
|
+
Content-Type: text/plain; charset=ISO-8859-13
|
97
|
+
Content-Transfer-Encoding: base64
|
98
|
+
Content-Disposition: inline
|
99
|
+
|
100
|
+
TGFiZGllbiEKCk5vc/t0dSBwcmVzZXMgcmVs7nppIHBhciBwYXPia3VtdSAxNS5zZXB0ZW1icu4g
|
101
|
+
RXNwbGFu4mTnLgoKLS0gCkFyIGNpZfJ1LApBZ3JpcyBBbWVyaWtzCk1vYi50ZWwuIDIgNjQ2MTEw
|
102
|
+
MQpFLXBhc3RzOiBBZ3Jpcy5BbWVyaWtzQGdtYWlsLmNvbQo=
|
103
|
+
------=_Part_868_30357988.1189785128799
|
104
|
+
Content-Type: application/msword; name="relize_rektori.doc"
|
105
|
+
Content-Transfer-Encoding: base64
|
106
|
+
Content-Disposition: attachment; filename="relize_rektori.doc"
|
107
|
+
X-Attachment-Id: f_f6kvbbns
|
108
|
+
|
109
|
+
0M8R4KGxGuEAAAAAAAAAAAAAAAAAAAAAPgADAP7/CQAGAAAAAAAAAAAAAAABAAAALAAAAAAAAAAA
|
110
|
+
EAAALgAAAAEAAAD+////AAAAACsAAAD/////////////////////////////////////////////
|
111
|
+
////////////////////////////////////////////////////////////////////////////
|
112
|
+
////////////////////////////////////////////////////////////////////////////
|
113
|
+
////////////////////////////////////////////////////////////////////////////
|
114
|
+
////////////////////////////////////////////////////////////////////////////
|
115
|
+
////////////////////////////////////////////////////////////////////////////
|
116
|
+
////////////////////////////////////////////////////////////////////////////
|
117
|
+
///////////////////////////////////////////////////////////////////////////s
|
118
|
+
pcEAW4AJBAAA8BK/AAAAAAAAEAAAAAAACAAAEhQAAA4AYmpiaqz6rPoAAAAAAAAAAAAAAAAAAAAA
|
119
|
+
AAAJBBYANBYAAM6QAQDOkAEApAMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAD//w8AAAAA
|
120
|
+
AAAAAAD//w8AAAAAAAAAAAD//w8AAAAAAAAAAAAAAAAAAAAAALcAAAAAAJIFAAAAAAAAkgUAANUS
|
121
|
+
AAAAAAAA1RIAAAAAAADVEgAAAAAAANUSAAAAAAAA1RIAABQAAAAAAAAAAAAAAP////8AAAAA6RIA
|
122
|
+
AAAAAADpEgAAAAAAAOkSAAAAAAAA6RIAAAwAAAD1EgAADAAAAOkSAAAAAAAArxkAADABAAABEwAA
|
123
|
+
AAAAAAETAAAAAAAAARMAAAAAAAABEwAAAAAAAAETAAAAAAAA3BMAAAAAAADcEwAAAAAAANwTAAAA
|
124
|
+
AAAAIhkAAAIAAAAkGQAAAAAAACQZAAAAAAAAJBkAAAAAAAAkGQAAAAAAACQZAAAAAAAAJBkAACQA
|
125
|
+
AADfGgAAogIAAIEdAAA2AAAASBkAACEAAAAAAAAAAAAAAAAAAAAAAAAA1RIAAAAAAADcEwAAAAAA
|
126
|
+
AAAAAAAAAAAAAAAAAAAAAADcEwAAAAAAANwTAAAAAAAA3BMAAAAAAADcEwAAAAAAAEgZAAAAAAAA
|
127
|
+
AAAAAAAAAADVEgAAAAAAANUSAAAAAAAAARMAAAAAAAAAAAAAAAAAAAETAADbAAAAaRkAABYAAADa
|
128
|
+
GAAAAAAAANoYAAAAAAAA2hgAAAAAAADcEwAAcgQAANUSAAAAAAAAARMAAAAAAADVEgAAAAAAAAET
|
129
|
+
AAAAAAAAIhkAAAAAAAAAAAAAAAAAANoYAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
|
130
|
+
AAAAAAAAAAAAAAAAAAAAAAAAAAAA3BMAAAAAAAAiGQAAAAAAAAAAAAAAAAAA2hgAAAAAAAAAAAAA
|
131
|
+
AAAAANoYAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
|
132
|
+
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA2hgAAAAAAAABEwAAAAAAAP////8AAAAAEA+LEuf2
|
133
|
+
xwEAAAAAAAAAAOkSAAAAAAAAThgAAGoAAADaGAAAAAAAAAAAAAAAAAAADhkAABQAAAB/GQAAMAAA
|
134
|
+
AK8ZAAAAAAAA2hgAAAAAAAC3HQAAAAAAALgYAAAiAAAAtx0AAAAAAADaGAAAAAAAAAAAAAAAAAAA
|
135
|
+
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
|
136
|
+
AAAAAAAAALcdAAAAAAAAAAAAAAAAAADVEgAAAAAAANoYAAA0AAAA3BMAAAAAAADcEwAAAAAAANoY
|
137
|
+
AAAAAAAA3BMAAAAAAADcEwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA3BMA
|
138
|
+
|
139
|
+
--8BCE21088059.1189872428/mail.studio7.lv--
|