git: 395c188463 - main - articles/committers-guide: add Exim MTA instructions for smtp.freebsd.org
Jason Helfman <[email protected]>
| Newsgroups | gmane.os.freebsd.devel.cvs.doc |
|---|---|
| Message-ID | <[email protected]> |
The branch main has been updated by jgh: URL: https://cgit.FreeBSD.org/doc/commit/?id=395c1884633056707dfe5ebc97fb8802d3687c89 commit 395c1884633056707dfe5ebc97fb8802d3687c89 Author: Jason Helfman <[email protected]> AuthorDate: 2022-05-25 22:46:30 +0000 Commit: Jason Helfman <[email protected]> CommitDate: 2022-05-25 22:46:30 +0000 articles/committers-guide: add Exim MTA instructions for smtp.freebsd.org PR: 262742 (based on) --- .../en/articles/committers-guide/_index.adoc | 44 ++++++++++++++++++++++ 1 file changed, 44 insertions(+) diff --git a/documentation/content/en/articles/committers-guide/_index.adoc b/documentation/content/en/articles/committers-guide/_index.adoc index 2c2bfb86a9..51e6de4d17 100644 --- a/documentation/content/en/articles/committers-guide/_index.adoc +++ b/documentation/content/en/articles/committers-guide/_index.adoc @@ -2645,6 +2645,50 @@ Create [.filename]#/usr/local/etc/mail/secrets# with the following content: freebsd yourusername:yourpassword .... +==== +[[smtp-setup-local-exim]] +.Using Exim +[example] +==== + +To direct a local Exim instance that all mail from `[email protected]` + is forwarded to FreeBSD.org servers, add this to Exim [.filename]#configuration#: + +[.programlisting] +.... +Routers section: (at the top of the list): +freebsd_send: + driver = manualroute + domains = !+local_domains + transport = freebsd_smtp + route_data = ${lookup {${lc:$sender_address}} lsearch {/usr/local/etc/exim/freebsd_send}} + +Transport Section: +freebsd_smtp: + driver = smtp + tls_certificate=<local certificate> + tls_privatekey=<local certificate private key> + tls_require_ciphers = EECDH+ECDSA+AESGCM:EECDH+aRSA+AESGCM:EECDH+ECDSA+SHA384:EECDH+ECDSA+SHA256:EECDH+aRSA+SHA384:EECDH+aRSA+SHA256:EECDH+AESGCM:EECDH:EDH+AESGCM:EDH+aRSA:HIGH:!MEDIUM:!LOW:!aNULL:!eNULL:!LOW:!RC4:!MD5:!EXP:!PSK:!SRP:!DSS + dkim_domain = <local DKIM domain> + dkim_selector = <local DKIM selector> + dkim_private_key= <local DKIM private key> + dnssec_request_domains = * + hosts_require_auth = smtp.freebsd.org + +Authenticators: +fixed_plain: + driver = plaintext + public_name = PLAIN + client_send = ^example/mail^examplePassword +.... + +Create [.filename]#/usr/local/etc/exim/freebsd_send# with the following content: + +[.programlisting] +.... [email protected]:smtp.freebsd.org::587 +.... + ==== [[mentors]]