postfix_status_line 0.1.3 → 0.1.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +4 -2
- data/ext/postfix_status_line_core.c +1 -1
- data/lib/postfix_status_line/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 931d2af96a39af0fb8fa223ec41ea3f90eb32237
|
4
|
+
data.tar.gz: 7d652ef403719f485738635c9c5073a8c4e643ad
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9756a89c6c9f256ea90e408eaf9f7198e7639a17b3dd0f301b633784602dc6fbc616e09c820e9dd91064b1b42ae3f0030514ec624d8d4426663a220f90189469
|
7
|
+
data.tar.gz: 0eccdae53fab91c7182fc25767fb484f3a84a553390eec59d73acb5ec96d8c21e5f5890438db279dc4cd40ecf08dc9f609ce0c16d8a2b2eefe9985e7837875cd
|
data/README.md
CHANGED
@@ -36,8 +36,10 @@ PostfixStatusLine.parse(status_line)
|
|
36
36
|
# "process" => "postfix/smtp[26490]",
|
37
37
|
# "queue_id" => "D53A72713E5",
|
38
38
|
# "relay" => "gateway-f1.isp.att.net[204.127.217.16]:25",
|
39
|
-
# "status" => "sent
|
39
|
+
# "status" => "sent",
|
40
|
+
# "status_detail" => "(250 ok ; id=20120227140036M0700qer4ne)",
|
40
41
|
# "time" => "Feb 27 09:02:37",
|
41
|
-
# "to" => "<*******@bellsouth.net>"
|
42
|
+
# "to" => "<*******@bellsouth.net>",
|
43
|
+
# "domain" => "bellsouth.net"
|
42
44
|
# }
|
43
45
|
```
|
@@ -132,7 +132,7 @@ static void put_status(char *value, VALUE hash) {
|
|
132
132
|
if (reason != NULL) {
|
133
133
|
*reason = '\0';
|
134
134
|
reason++;
|
135
|
-
rb_hash_aset(hash, rb_str_new2("
|
135
|
+
rb_hash_aset(hash, rb_str_new2("status_detail"), rb_str_new2(reason));
|
136
136
|
}
|
137
137
|
|
138
138
|
rb_hash_aset(hash, rb_str_new2("status"), rb_str_new2(value));
|