rubymta 0.0.11 → 0.0.12
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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +6 -0
- data/lib/rubymta/queue_runner.rb +2 -2
- data/lib/rubymta/receiver.rb +1 -1
- data/lib/rubymta/version.rb +2 -2
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9f2f695c59541a20a8e34337ba317ed506f133cd
|
4
|
+
data.tar.gz: c8c8a8de990c8c5be242d9ebfd0045752412acb6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9278791fe76b519f1346170f53bdecd9d49c7016e932db7d3efdb9525c6482ae14d214303c40c8f1e4da2c2d78aeb3771e2db3a605755fb8724f2863ea679532
|
7
|
+
data.tar.gz: 95803e0c36063ec5b425cf374b345d547f7db38084be49eba421694798039e235b5172951d97803d9a5918ef76c77226db06726f78e48a7e8b4a14603537c746
|
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,9 @@
|
|
1
|
+
# v0.0.12
|
2
|
+
|
3
|
+
* Fixed the `send_text` in `QueueRunner` to not echo the data into the log when `LogQueueRunnerConversation` is set to `true`.
|
4
|
+
* Changed the text of the `-< (email message)` in Receiver to be `-> (data)` to match the QueueRunner class.
|
5
|
+
|
6
|
+
|
1
7
|
# v0.0.11
|
2
8
|
|
3
9
|
* Changed the STARTTLS to return a 500 error and continue processing. Before this change, it just erred out and closed the port with no feedback to the client. Because this error returns a 500 level error, the client is (ideally) expected to quit or restart the attempt from the beginning (at EHLO).
|
data/lib/rubymta/queue_runner.rb
CHANGED
@@ -27,11 +27,11 @@ class QueueRunner
|
|
27
27
|
if text.class==Array
|
28
28
|
text.each do |line|
|
29
29
|
@connection.write(line+CRLF)
|
30
|
-
LOG.info(@mail_id) {"<- %s"%text} if LogQueueRunnerConversation
|
30
|
+
LOG.info(@mail_id) {"<- %s"%text} if LogQueueRunnerConversation && echo==:command
|
31
31
|
end
|
32
32
|
else
|
33
33
|
@connection.write(text+CRLF)
|
34
|
-
LOG.info(@mail_id) {"<- %s"%text} if LogQueueRunnerConversation
|
34
|
+
LOG.info(@mail_id) {"<- %s"%text} if LogQueueRunnerConversation && echo==:command
|
35
35
|
end
|
36
36
|
end
|
37
37
|
|
data/lib/rubymta/receiver.rb
CHANGED
@@ -439,7 +439,7 @@ class Receiver
|
|
439
439
|
body[:value] = value # this should be nil -- no argument on the DATA command
|
440
440
|
body[:text] = lines = []
|
441
441
|
send_text("354 Enter message, ending with \".\" on a line by itself")
|
442
|
-
LOG.info(@mail[:mail_id]) {" -> (
|
442
|
+
LOG.info(@mail[:mail_id]) {" -> (data)"} if LogReceiverConversation && !ShowIncomingData
|
443
443
|
while true
|
444
444
|
text = recv_text(ShowIncomingData)
|
445
445
|
if text.nil? # the client closed the channel abruptly
|
data/lib/rubymta/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rubymta
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.12
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Michael J. Welch, Ph.D.
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-10-
|
11
|
+
date: 2017-10-25 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: RubyMta is an experimental mail transport agent written in Ruby. See
|
14
14
|
the README.
|