rubymta 0.0.5 → 0.0.6

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 6c52ecaf44252583e1acf920df9c794b12092e04
4
- data.tar.gz: ba9c68b84c02143eae29d36c936fdbb6703cbb49
3
+ metadata.gz: ba17046a7494b4e28e993154d040ccea33aa862d
4
+ data.tar.gz: 65e3df8e85a619c78aab89d20bc21290858890d7
5
5
  SHA512:
6
- metadata.gz: 93cf89849cd9d7be667570a3bf380b4a7a62211f15cef441381a3a992e60f806c08151779dff358e719f28b29a44cf39e0cee7f89a18057425182ef1935b1c76
7
- data.tar.gz: 8ac70f9e8e603c43a2b43c6d2a84a3e5e08f7e5c17eb27aab55cfcc63591ebe58c2cde2b525e523af5826b69eed4d15ef0545901b18fa73de47301810906cefd
6
+ metadata.gz: f563fb3ccc9290ede490704dcfd0dfb01bcf3b4602978020f713d641f3e509202fd3bb8911ba2bbe4a24bb459441650d587add595a7096326427451a70d1fbcf
7
+ data.tar.gz: 56b10601785fe542470a04334961049cd331c81782b81f27f81199701fa11f3027e98558fb1df4c4675f700f93e237e8d0cf42e7af9dd50d6eba50d213f8d529
data/CHANGELOG.md CHANGED
@@ -1,3 +1,13 @@
1
+ # v0.0.6
2
+
3
+ * Replaced a call to a legacy method 'add_block' to the proper method 'violation'. This bug only activated if the sender slammed the connection shut during the data block transfer.
4
+ * Fixed a bug causing a run-time error when the sender sent an email, and slammed the connection shut after issuing the DATA command.
5
+
6
+ # v0.0.5
7
+
8
+ * Changed the code that enforces the rule that: external non-member mail has to come in on port 25; external member mail has to come in on port 587; and internal mail can come in on port 465. Port 465 is open, i.e., requires no authentication nor encryption. (You should use iptables to be sure port 465 is not open to the Internet.
9
+
10
+
1
11
  # v0.0.4
2
12
 
3
13
  * Updated the gem to reflect changes in Ruby Sequel v4.40.0.
@@ -40,7 +40,7 @@ class ItemOfMail < Hash
40
40
  break
41
41
  when !header.empty?
42
42
  keyword, value = header.split(":", 2)
43
- self[:data][:headers][keyword.downcase.gsub("-","_").to_sym] = value.strip
43
+ self[:data][:headers][keyword.downcase.gsub("-","_").to_sym] = value.strip if !value.nil?
44
44
  header = String::new(line)
45
45
  else
46
46
  header = String::new(line)
@@ -440,7 +440,7 @@ class Receiver
440
440
  while true
441
441
  text = recv_text(ShowIncomingData)
442
442
  if text.nil? # the client closed the channel abruptly
443
- @mail.add_block(nil, 5)
443
+ @contact.violation
444
444
  break
445
445
  end
446
446
  break if text=="."
@@ -1,5 +1,5 @@
1
1
  module Version
2
- VERSION = "0.0.5"
3
- MODIFIED = "2017-09-24"
2
+ VERSION = "0.0.6"
3
+ MODIFIED = "2017-10-12"
4
4
  end
5
5
 
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.5
4
+ version: 0.0.6
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-09-24 00:00:00.000000000 Z
11
+ date: 2017-10-12 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.