midi-smtp-server 2.3.3 → 3.0.3
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 +112 -0
- data/MIT-LICENSE.txt +1 -1
- data/README.md +35 -950
- data/lib/midi-smtp-server/logger.rb +37 -0
- data/lib/midi-smtp-server/tls-transport.rb +54 -33
- data/lib/midi-smtp-server/version.rb +2 -2
- data/lib/midi-smtp-server.rb +178 -121
- metadata +5 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a57da18e0a784683fa297898113f75967fb3adb852270e22b733f7b8bd29e7d0
|
4
|
+
data.tar.gz: 95d9bdb5940ddcd8d49fbf3dd0f7b8f023235d58de00ee1c49be0aeb97da3101
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 37260846efd563b0b66ecf25e50b61b521c21a653a100cac2b2bceb8d40ed02c622b056f2e7835715568fe82317e5527148a67da4ba7d2cb840c84dda655ca45
|
7
|
+
data.tar.gz: bc79e07e38642e758b3658a2776afcd9605d75e8061d77c5dd4ea21829330ac02e65c1db07faf45a7916f00996dcba2799842ec2e1aafdb1eea3518dcff7ffed
|
data/CHANGELOG.md
ADDED
@@ -0,0 +1,112 @@
|
|
1
|
+
## Changes and updates
|
2
|
+
|
3
|
+
We suggest everybody using MidiSmtpServer to switch at least to latest 2.3.y. or best to 3.x. The update is painless and mostly without any source code changes :sunglasses:
|
4
|
+
|
5
|
+
For upgrades from previous versions or outdated _MiniSmtpServer_ gem you may follow the guides at [Appendix Upgrade](https://midi-smtp-server.readthedocs.io/appendix_upgrade/) to get your code ready for the latest releases.
|
6
|
+
|
7
|
+
#### 3.0.3 (2022-02-12)
|
8
|
+
|
9
|
+
1. Critical fix for thread safety ([check issue 29](https://github.com/4commerce-technologies-AG/midi-smtp-server/issues/39))
|
10
|
+
2. Fix tests using net/smtp '>= 0.3.1'
|
11
|
+
|
12
|
+
|
13
|
+
#### 3.0.2 (2021-06-11)
|
14
|
+
|
15
|
+
1. Enable support for certificate chain PEM files
|
16
|
+
|
17
|
+
|
18
|
+
#### 3.0.1 (2021-03-12)
|
19
|
+
|
20
|
+
1. Enable support for Ruby 3.0
|
21
|
+
2. Bound to ruby 2.6+
|
22
|
+
3. New [extended logging capabilities](https://midi-smtp-server.readthedocs.io/feature_logging/)
|
23
|
+
4. Updated rubocop linter and code styles
|
24
|
+
5. Fix tests for Net/Smtp of Ruby 3.0 ([check PR 22 on Net/Smtp](https://github.com/ruby/net-smtp/pull/22))
|
25
|
+
6. Fix tests for minitest 6 deprecated warnings `obj.must_equal`
|
26
|
+
7. New exposed [active SSLContext](https://midi-smtp-server.readthedocs.io/feature_encryption/#expose-active-sslcontext)
|
27
|
+
8. Dropped deprecated method `host` - please use `hosts.join(', ')` instead
|
28
|
+
9. Dropped deprecated method `port` - please use `ports.join(', ')` instead
|
29
|
+
10. Dropped deprecated empty wildcard `""` support on initialize - please use specific hostnames and / or ip-addresses or star wildcard `"*"` only
|
30
|
+
11. Align tests with Rubocop style and coding enforcements
|
31
|
+
12. Added `rake` tasks for testing and linting, checkout `bundle exec rake -T`
|
32
|
+
13. Re-defined arguments of methods `new`, `join`, `stop` as keyword arguments, check [minor incompatability: upgrade to 3.x](https://midi-smtp-server.readthedocs.io/appendix_upgrade/#upgrade-to-3x)
|
33
|
+
14. Enhance the slack recipe in cookbook for [Docker usage](https://github.com/4commerce-technologies-AG/midi-smtp-server/tree/master/cookbook/recipe-slack)
|
34
|
+
|
35
|
+
|
36
|
+
#### 2.3.3 (2022-02-12)
|
37
|
+
|
38
|
+
1. Critical fix for thread safety ([check issue 29](https://github.com/4commerce-technologies-AG/midi-smtp-server/issues/39))
|
39
|
+
2. Fix tests using net/smtp '>= 0.3.1'
|
40
|
+
|
41
|
+
|
42
|
+
#### 2.3.2 (2020-01-21)
|
43
|
+
|
44
|
+
1. New [hosts wildcard and interface detection](https://midi-smtp-server.readthedocs.io/instantiate/#hosts-wildcard-interface-detection)
|
45
|
+
2. Extended [Certificates](https://midi-smtp-server.readthedocs.io/feature_encryption/#certificates) with subjectAltName
|
46
|
+
3. Bound to ruby 2.3+
|
47
|
+
4. Full support for `# frozen_string_literal: true` optimization
|
48
|
+
5. Updated rubocop linter
|
49
|
+
6. Rich enhancements to tests
|
50
|
+
|
51
|
+
|
52
|
+
#### 2.3.1 (2018-11-01)
|
53
|
+
|
54
|
+
1. New [events for header inspection and addons](https://midi-smtp-server.readthedocs.io/using_events/#adding-and-testing-headers)
|
55
|
+
2. New [MidiSmtpServer micro homepage](https://4commerce-technologies-ag.github.io/midi-smtp-server/)
|
56
|
+
3. New [ReadTheDocs manual](https://midi-smtp-server.readthedocs.io/)
|
57
|
+
4. New [Recipe for Slack MTA](https://midi-smtp-server.readthedocs.io/cookbook_recipe_slack_mta/)
|
58
|
+
|
59
|
+
|
60
|
+
#### 2.3.0 (2018-10-17)
|
61
|
+
|
62
|
+
1. Support [IPv4 and IPv6 (documentation)](https://midi-smtp-server.readthedocs.io/instantiate/#ipv4-and-ipv6-ready)
|
63
|
+
2. Support binding of [multiple ports and hosts / ip addresses](https://midi-smtp-server.readthedocs.io/instantiate/#ports-and-addresses)
|
64
|
+
3. Handle [utilization of connections and processings](https://midi-smtp-server.readthedocs.io/feature_utilization/)
|
65
|
+
4. Support of RFC(2)822 [CR LF modes](https://midi-smtp-server.readthedocs.io/feature_cr_lf_modes/)
|
66
|
+
5. Support (optionally) SMTP [PIPELINING](https://tools.ietf.org/html/rfc2920) extension
|
67
|
+
6. Support (optionally) SMTP [8BITMIME](https://midi-smtp-server.readthedocs.io/feature_8bitmime_smtputf8/) extension
|
68
|
+
7. Support (optionally) SMTP [SMTPUTF8](https://midi-smtp-server.readthedocs.io/feature_8bitmime_smtputf8/) extension
|
69
|
+
8. SMTP PIPELINING, 8BITMIME and SMTPUTF8 extensions are _disabled_ by default
|
70
|
+
9. Support modification of local welcome and greeting messages
|
71
|
+
10. Documentation and Links about security and [email attacks](https://midi-smtp-server.readthedocs.io/appendix_security/#attacks-on-email-communication)
|
72
|
+
11. Added [implementation and integration testing](https://github.com/4commerce-technologies-AG/midi-smtp-server#reliable-code)
|
73
|
+
|
74
|
+
|
75
|
+
#### 2.2.3
|
76
|
+
|
77
|
+
1. Control and validation on incoming data [see Incoming data validation](https://midi-smtp-server.readthedocs.io/using_events/#incoming-data-validation)
|
78
|
+
|
79
|
+
|
80
|
+
#### 2.2.1
|
81
|
+
|
82
|
+
1. Builtin optional support of STARTTLS encryption
|
83
|
+
2. Added examples for a simple midi-smtp-server with TLS support
|
84
|
+
|
85
|
+
|
86
|
+
#### 2.2.x
|
87
|
+
|
88
|
+
1. Rubocop configuration and passed source code verification
|
89
|
+
2. Modified examples for a simple midi-smtp-server with and without auth
|
90
|
+
3. Enhanced `serve_service` (previously `start`)
|
91
|
+
4. Optionally gracefully shutdown when service `stop` (default gracefully)
|
92
|
+
|
93
|
+
|
94
|
+
#### 2.1.1
|
95
|
+
|
96
|
+
1. Huge speed improvement on receiving large message data (1.000+ faster)
|
97
|
+
|
98
|
+
|
99
|
+
#### 2.1.0
|
100
|
+
|
101
|
+
1. Authentication PLAIN, LOGIN
|
102
|
+
2. Safe `join` will catch and rescue `Interrupt`
|
103
|
+
|
104
|
+
|
105
|
+
#### 2.x
|
106
|
+
|
107
|
+
1. Modulized
|
108
|
+
2. Removed dependency to GServer
|
109
|
+
3. Additional events to interact with
|
110
|
+
4. Use logger to log several messages from severity :debug up to :fatal
|
111
|
+
|
112
|
+
<br>
|
data/MIT-LICENSE.txt
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
The MIT License (MIT)
|
2
2
|
|
3
|
-
Copyright (c) 2014 -
|
3
|
+
Copyright (c) 2014 - 2022 Tom Freudenberg
|
4
4
|
|
5
5
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
6
6
|
of this software and associated documentation files (the "Software"), to deal
|