diff --git a/README.md b/README.md index 10048f8..803172f 100644 --- a/README.md +++ b/README.md @@ -429,6 +429,24 @@ the SMTP transaction that explains why. In the case of big email providers the error message often has instructions on how to prove to them you are a legitimate sender. +## Can mox deliver through a smarthost? + +Yes, you can configure a "Transport" in mox.conf and configure "Routes" in +domains.conf to send some or all messages through the transport. A transport +can be an SMTP relay or authenticated submission, or making mox make outgoing +connections through a SOCKS proxy. + +For an example, see https://www.xmox.nl/config/#hdr-example-transport. For +details about Transports and Routes, see +https://www.xmox.nl/config/#cfg-mox-conf-Transports and +https://www.xmox.nl/config/#cfg-domains-conf-Routes. + +Remember to add the IP addresses of the transport to the SPF records of your +domains. Keep in mind some 3rd party submission servers may mishandle your +messages, for example by replacing your Message-Id header and thereby +invalidating your DKIM-signatures, or rejecting messages with more than one +DKIM-signature. + ## Can I use existing TLS certificates/keys? Yes. The quickstart command creates a config that uses ACME with Let's Encrypt, diff --git a/config/doc.go b/config/doc.go index d15a454..9f8717a 100644 --- a/config/doc.go +++ b/config/doc.go @@ -1306,7 +1306,7 @@ examples with "mox example", and print a specific example with "mox example # Example transport # Snippet for mox.conf, defining a transport called Example that connects on the - # SMTP submission with TLS port 465 ("submissions), authenticating with + # SMTP submission with TLS port 465 ("submissions"), authenticating with # SCRAM-SHA-256-PLUS (other providers may not support SCRAM-SHA-256-PLUS, but they # typically do support the older CRAM-MD5).: diff --git a/examples.go b/examples.go index b7986d2..f7eb8b9 100644 --- a/examples.go +++ b/examples.go @@ -135,7 +135,7 @@ WebHandlers: "transport", func() string { const moxconf = `# Snippet for mox.conf, defining a transport called Example that connects on the -# SMTP submission with TLS port 465 ("submissions), authenticating with +# SMTP submission with TLS port 465 ("submissions"), authenticating with # SCRAM-SHA-256-PLUS (other providers may not support SCRAM-SHA-256-PLUS, but they # typically do support the older CRAM-MD5).: