1
0
mirror of https://blitiri.com.ar/repos/chasquid synced 2026-01-27 20:45:56 +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

@@ -0,0 +1,17 @@
smtp_address: ":1025"
submission_address: ":1587"
submission_over_tls_address: ":1465"
monitoring_address: ":1099"
# We don't expect this to be used, pick something that will error to ease
# troubleshooting.
mail_delivery_agent_bin: "no_mda_needed"
data_dir: "../.data-A"
mail_log_path: "../.logs/mail_log-A"
# srv-b is our smarthost.
# We use tls protocol because the smtp one is already well exercised in the
# package tests.
smarthost_url: "tls://userB@srv-b:userB@srv-b:2465"