rubymta 0.0.8 → 0.0.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +11 -0
- data/lib/rubymta/receiver.rb +2 -0
- data/lib/rubymta/server.rb +2 -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: 4449c3d949eae74a0d181c0ed70dff9bc2077328
|
4
|
+
data.tar.gz: a2c5a0c3875372065733b1ef4bc9c8ec841f9350
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6efff36106006c5639cbb69aa3688bfeff46911b4550827e2ec778c33793d6a900f38a48b8be491b71b5f0af9186a566a7ff2b05362136ad470112cbf6c23561
|
7
|
+
data.tar.gz: d3220cd027a8c4f40102374ebfcce0c6657f1d741f9e2b076e1c77a6f266dd4a4d606b8c179ea9c728da0e3e97038548fd4f800aa0f7bb35972242ef2f39f08b
|
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,13 @@
|
|
1
|
+
# v0.0.9
|
2
|
+
* Added a `rescue OpenSSL::SSL::SSLError` to catch sender certificate violations.
|
3
|
+
* Added a `LogLevel` into the Config file (config.rb) to control the logger output. I use LOGGER::INFO as my default.
|
4
|
+
* Changed the log message that the SqLite3 database is open to a `debug` level.
|
5
|
+
|
6
|
+
# v0.0.8
|
7
|
+
|
8
|
+
* No changes. I didn't properly rebuild the gem in v0.0.7.
|
9
|
+
|
10
|
+
|
1
11
|
# v0.0.7
|
2
12
|
|
3
13
|
* In `Receiver#starttls` I added a `begin` block to catch errors I believe are caused by spammers sending random data as a certificate. It's open at this moment, `rescue => e`, but as soon as I discover what the spammers are doing, I'll tighten this up by specifying the proper exception.
|
@@ -10,6 +20,7 @@
|
|
10
20
|
* 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.
|
11
21
|
* Fixed a bug causing a run-time error when the sender sent an email, and slammed the connection shut after issuing the DATA command.
|
12
22
|
|
23
|
+
|
13
24
|
# v0.0.5
|
14
25
|
|
15
26
|
* 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.
|
data/lib/rubymta/receiver.rb
CHANGED
data/lib/rubymta/server.rb
CHANGED
@@ -25,6 +25,7 @@ require_relative 'receiver'
|
|
25
25
|
|
26
26
|
# get setup and open the log
|
27
27
|
LOG = Logger::new(LogPathAndFile, LogFileLife)
|
28
|
+
LOG.level = LogLevel
|
28
29
|
LOG.formatter = proc do |severity, datetime, progname, msg|
|
29
30
|
pname = if progname then '('+progname+') ' else nil end
|
30
31
|
"#{datetime.strftime("%Y-%m-%d %H:%M:%S")} [#{severity}] #{pname}#{msg}\n"
|
@@ -55,7 +56,7 @@ Sequel.split_symbols = true
|
|
55
56
|
|
56
57
|
# Open the sqlite3 database for rubymta use
|
57
58
|
S3DB = Sequel.connect("sqlite://#{S3DBPath}")
|
58
|
-
LOG.
|
59
|
+
LOG.debug("Database '#{S3DBPath}' opened")
|
59
60
|
|
60
61
|
# Create the tables we need if they don't already exist
|
61
62
|
|
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.9
|
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-14 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.
|