@push.rocks/smartmta 11.0.0 → 11.0.2
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.
- package/changelog.md +17 -0
- package/dist_rust/mailer-bin_linux_amd64 +0 -0
- package/dist_rust/mailer-bin_linux_amd64.tsrust-build.json +5 -5
- package/dist_rust/mailer-bin_linux_arm64 +0 -0
- package/dist_rust/mailer-bin_linux_arm64.tsrust-build.json +5 -5
- package/dist_ts/00_commitinfo_data.js +1 -1
- package/dist_ts/logger.js +1 -1
- package/dist_ts/mail/core/classes.bouncemanager.js +2 -2
- package/dist_ts/mail/core/classes.email.js +1 -1
- package/dist_ts/mail/core/classes.emailvalidator.js +1 -1
- package/dist_ts/mail/core/classes.templatemanager.js +1 -1
- package/dist_ts/mail/delivery/classes.delivery.queue.js +1 -1
- package/dist_ts/mail/delivery/classes.delivery.system.js +2 -2
- package/dist_ts/mail/routing/classes.dkim.manager.js +1 -1
- package/dist_ts/mail/routing/classes.dns.manager.js +1 -1
- package/dist_ts/mail/routing/classes.email.action.executor.js +1 -1
- package/dist_ts/mail/routing/classes.unified.email.server.js +2 -2
- package/dist_ts/mail/routing/functions.routing.validation.js +1 -1
- package/dist_ts/mail/security/classes.dkimcreator.js +1 -1
- package/dist_ts/paths.js +1 -1
- package/dist_ts/plugins.d.ts +1 -2
- package/dist_ts/plugins.js +2 -3
- package/dist_ts/security/classes.contentscanner.js +1 -1
- package/dist_ts/security/classes.ipreputationchecker.js +1 -1
- package/dist_ts/security/classes.rustsecuritybridge.js +1 -1
- package/dist_ts/security/classes.securitylogger.js +1 -1
- package/notices/cargo-dependencies.html +2 -59
- package/notices/inventory.json +15 -15
- package/notices/jemalloc-5.3.1-copying.txt +27 -0
- package/package.json +7 -8
- package/third-party-notices.md +1 -1
- package/ts/00_commitinfo_data.ts +1 -1
- package/ts/mail/core/classes.bouncemanager.ts +1 -1
- package/ts/mail/delivery/classes.delivery.system.ts +1 -1
- package/ts/mail/routing/classes.unified.email.server.ts +1 -1
- package/ts/plugins.ts +0 -2
- package/notices/mimalloc-license.txt +0 -21
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@push.rocks/smartmta",
|
|
3
|
-
"version": "11.0.
|
|
3
|
+
"version": "11.0.2",
|
|
4
4
|
"description": "A high-performance, enterprise-grade Mail Transfer Agent (MTA) built from scratch in TypeScript with Rust acceleration.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"mta",
|
|
@@ -31,12 +31,12 @@
|
|
|
31
31
|
".": "./dist_ts/index.js"
|
|
32
32
|
},
|
|
33
33
|
"devDependencies": {
|
|
34
|
-
"@git.zone/cli": "^8.
|
|
35
|
-
"@git.zone/tsbuild": "^
|
|
36
|
-
"@git.zone/tsrust": "^
|
|
37
|
-
"@git.zone/tstest": "^7.
|
|
34
|
+
"@git.zone/cli": "^8.11.0",
|
|
35
|
+
"@git.zone/tsbuild": "^6.0.2",
|
|
36
|
+
"@git.zone/tsrust": "^4.5.0",
|
|
37
|
+
"@git.zone/tstest": "^7.2.1",
|
|
38
38
|
"@types/mailparser": "^3.4.6",
|
|
39
|
-
"@types/node": "^26.6.
|
|
39
|
+
"@types/node": "^26.6.4",
|
|
40
40
|
"tsx": "^4.23.15"
|
|
41
41
|
},
|
|
42
42
|
"dependencies": {
|
|
@@ -46,8 +46,7 @@
|
|
|
46
46
|
"@push.rocks/smartrust": "^1.3.2",
|
|
47
47
|
"@tsclass/tsclass": "^9.5.0",
|
|
48
48
|
"lru-cache": "^11.5.2",
|
|
49
|
-
"mailparser": "^3.9.14"
|
|
50
|
-
"uuid": "^14.0.1"
|
|
49
|
+
"mailparser": "^3.9.14"
|
|
51
50
|
},
|
|
52
51
|
"files": [
|
|
53
52
|
"ts/**/*",
|
package/third-party-notices.md
CHANGED
|
@@ -55,7 +55,7 @@ verbatim beside the generated inventory:
|
|
|
55
55
|
generated inventory; its separately licensed
|
|
56
56
|
[fiat-crypto component](./notices/aws-lc-sys-0.43.0-fiat-license.txt) is
|
|
57
57
|
included here.
|
|
58
|
-
-
|
|
58
|
+
- tikv-jemalloc-sys 0.7.1+5.3.1: [the bundled jemalloc 5.3.1 BSD-2-Clause terms](./notices/jemalloc-5.3.1-copying.txt).
|
|
59
59
|
- zstd-sys 2.0.16+zstd.1.5.7: [the vendored Zstandard terms](./notices/zstd-license.txt)
|
|
60
60
|
(BSD-3-Clause is selected; upstream also offers GPL-2.0).
|
|
61
61
|
- moka 0.12.15: [its Apache-2.0 NOTICE file](./notices/moka-notice.txt), as
|
package/ts/00_commitinfo_data.ts
CHANGED
|
@@ -182,7 +182,7 @@ export class BounceManager {
|
|
|
182
182
|
|
|
183
183
|
// Add required fields if missing
|
|
184
184
|
const bounce: BounceRecord = {
|
|
185
|
-
id: bounceData.id || plugins.
|
|
185
|
+
id: bounceData.id || plugins.crypto.randomUUID(),
|
|
186
186
|
...(bounceData.operationId ? { operationId: bounceData.operationId } : {}),
|
|
187
187
|
recipient,
|
|
188
188
|
sender,
|
|
@@ -363,7 +363,7 @@ export class MultiModeDeliverySystem extends EventEmitter {
|
|
|
363
363
|
const error = optionsArg.error;
|
|
364
364
|
const authenticationHandle = error?.outboundAuthenticationHandle || optionsArg.result?.outboundAuthenticationHandle;
|
|
365
365
|
const attempt: ISmtpTransactionAttempt = {
|
|
366
|
-
id: plugins.
|
|
366
|
+
id: plugins.crypto.randomUUID(),
|
|
367
367
|
queueItemId: optionsArg.item.id,
|
|
368
368
|
queueAttempt: optionsArg.item.attempts,
|
|
369
369
|
targetHost: optionsArg.targetHost,
|
|
@@ -1239,7 +1239,7 @@ export class UnifiedEmailServer extends EventEmitter {
|
|
|
1239
1239
|
tlsOpportunistic,
|
|
1240
1240
|
senderDomain: optionsArg.senderDomain,
|
|
1241
1241
|
});
|
|
1242
|
-
const captureId = proxy?.sourceEvidence ? plugins.
|
|
1242
|
+
const captureId = proxy?.sourceEvidence ? plugins.crypto.randomUUID() : undefined;
|
|
1243
1243
|
const attachAuthenticationHandle = <T extends ISmtpSendResult | SmtpDeliveryError>(valueArg: T): T => {
|
|
1244
1244
|
if (!captureId || !proxy?.sourceEvidence) return valueArg;
|
|
1245
1245
|
const handle = this.createOutboundAuthenticationHandle({
|
package/ts/plugins.ts
CHANGED
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
MIT License
|
|
2
|
-
|
|
3
|
-
Copyright (c) 2018-2025 Microsoft Corporation, Daan Leijen
|
|
4
|
-
|
|
5
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
-
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
-
in the Software without restriction, including without limitation the rights
|
|
8
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
-
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
-
furnished to do so, subject to the following conditions:
|
|
11
|
-
|
|
12
|
-
The above copyright notice and this permission notice shall be included in all
|
|
13
|
-
copies or substantial portions of the Software.
|
|
14
|
-
|
|
15
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
-
SOFTWARE.
|