1
0
mirror of https://blitiri.com.ar/repos/chasquid synced 2026-01-03 17:17:29 +00:00

WIP: Add smarthost support

WORK IN PROGRESS -- WORK IN PROGRESS -- WORK IN PROGRESS

This patch adds support for delivering mail via a smarthost.

In this mode, all accepted mail gets delivered through an SMTP
connection to a specific host, statically configured.
This commit is contained in:
Alberto Bertogli
2020-09-22 01:52:44 +01:00
parent 4efe8db947
commit 0f2ffc8ff5
22 changed files with 633 additions and 19 deletions

View File

@@ -76,6 +76,12 @@ List of exported variables:
count of STS security checks on outgoing connections, by result (pass/fail).
- **chasquid/smtpOut/tlsCount** (status -> counter)
count of TLS status (insecure TLS/secure TLS/plain) on outgoing connections.
- **chasquid/smarthostOut/attempts** (counter)
count of attempts to deliver via smarthost.
- **chasquid/smarthostOut/errors** (reason -> counter)
count of smarthost delivery errors, per reason.
- **chasquid/smarthostOut/success** (counter)
count of successful delivering via smarthost.
- **chasquid/sourceDateStr** (string)
timestamp when the binary was built, in human readable format.
- **chasquid/sourceDateTimestamp** (int)