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:
@@ -100,4 +100,11 @@ message Config {
|
||||
// This allows deploying chasquid behind a HAProxy server, as the
|
||||
// address information is preserved.
|
||||
bool haproxy_incoming = 16;
|
||||
|
||||
// Smarthost URL. If set, we will send all received email to this
|
||||
// location, including local mail.
|
||||
// It is of the form "smtp://user:password@host:port" for SMTP (and
|
||||
// STARTTLS will be forcefully negotiated), or
|
||||
// "tls://user:password@host:port" for SMTP over TLS (usually port 465).
|
||||
string smarthost_url = 17;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user