Page MenuHomeFreeBSD

D29574.id86932.diff
No OneTemporary

D29574.id86932.diff

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
@@ -2210,6 +2210,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 <secrets>
+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

File Metadata

Mime Type
text/plain
Expires
Sat, Sep 12, 4:05 AM (9 h, 48 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
38683186
Default Alt Text
D29574.id86932.diff (1 KB)

Event Timeline