diff --git a/documentation/content/en/articles/committers-guide/_index.adoc b/documentation/content/en/articles/committers-guide/_index.adoc --- a/documentation/content/en/articles/committers-guide/_index.adoc +++ b/documentation/content/en/articles/committers-guide/_index.adoc @@ -3060,6 +3060,30 @@ Where _yourlocalusername_ is the SASL username used to connect to the local instance of Postfix. ==== +[[smtp-setup-local-opensmtpd]] +.Using OpenSMTPD +[example] +==== + +To tell a local OpenSMTPD instance that anything from `_yourusername_@FreeBSD.org` should be forwarded to the FreeBSD.org servers, add this to your [.filename]#smtpd.conf#: + +[.programlisting] +.... +action "freebsd" relay host smtp+tls://freebsd@smtp.freebsd.org:587 auth +match from any auth yourlocalusername mail-from "_yourusername_@freebsd.org" for any action "freebsd" +.... + +Where _yourlocalusername_ is the SASL username used to connect to the local instance of OpenSMTPD. + +Create [.filename]#/usr/local/etc/mail/secrets# with the following content: + +[.programlisting] +.... +freebsd yourusername:yourpassword +.... + +==== + [[mentors]] === Mentors