1
0
mirror of https://blitiri.com.ar/repos/chasquid synced 2026-01-06 17:47:00 +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

@@ -122,6 +122,17 @@ This allows deploying chasquid behind a HAProxy server, as the address
information is preserved, and SPF checks can be performed properly.
Default: C<false>.
=item B<smarthost_url> (string):
Smarthost URL. If set, we will send all received email to this location,
including local mail.
It is of the form C<smtp://user:password@host:port> for SMTP (and STARTTLS
will be forcefully negotiated), or C<tls://user:password@host:port> for SMTP
over TLS (usually port 465).
B<EXPERIMENTAL> for now, can change in backwards-incompatible ways.
=back
=head1 SEE ALSO