From owner-svn-doc-all@freebsd.org Thu Mar 28 15:28:02 2019 Return-Path: Delivered-To: svn-doc-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id A4DDC1560ACF; Thu, 28 Mar 2019 15:28:02 +0000 (UTC) (envelope-from mat@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4A0A07639C; Thu, 28 Mar 2019 15:28:02 +0000 (UTC) (envelope-from mat@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 0C9A9210C8; Thu, 28 Mar 2019 15:28:02 +0000 (UTC) (envelope-from mat@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id x2SFS1m1013808; Thu, 28 Mar 2019 15:28:01 GMT (envelope-from mat@FreeBSD.org) Received: (from mat@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id x2SFS1fP013807; Thu, 28 Mar 2019 15:28:01 GMT (envelope-from mat@FreeBSD.org) Message-Id: <201903281528.x2SFS1fP013807@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: mat set sender to mat@FreeBSD.org using -f From: Mathieu Arnold Date: Thu, 28 Mar 2019 15:28:01 +0000 (UTC) To: doc-committers@freebsd.org, svn-doc-all@freebsd.org, svn-doc-head@freebsd.org Subject: svn commit: r52898 - head/en_US.ISO8859-1/articles/committers-guide X-SVN-Group: doc-head X-SVN-Commit-Author: mat X-SVN-Commit-Paths: head/en_US.ISO8859-1/articles/committers-guide X-SVN-Commit-Revision: 52898 X-SVN-Commit-Repository: doc MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 4A0A07639C X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-2.97 / 15.00]; local_wl_from(0.00)[FreeBSD.org]; NEURAL_HAM_SHORT(-0.97)[-0.972,0]; ASN(0.00)[asn:11403, ipnet:2610:1c1:1::/48, country:US]; NEURAL_HAM_MEDIUM(-1.00)[-0.996,0]; NEURAL_HAM_LONG(-1.00)[-1.000,0] X-BeenThere: svn-doc-all@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "SVN commit messages for the entire doc trees \(except for " user" , " projects" , and " translations" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 28 Mar 2019 15:28:02 -0000 Author: mat Date: Thu Mar 28 15:28:01 2019 New Revision: 52898 URL: https://svnweb.freebsd.org/changeset/doc/52898 Log: Add a description on how to configure a local postfix to forward emails to the FreeBSD smtp servers. Modified: head/en_US.ISO8859-1/articles/committers-guide/article.xml Modified: head/en_US.ISO8859-1/articles/committers-guide/article.xml ============================================================================== --- head/en_US.ISO8859-1/articles/committers-guide/article.xml Mon Mar 25 20:51:34 2019 (r52897) +++ head/en_US.ISO8859-1/articles/committers-guide/article.xml Thu Mar 28 15:28:01 2019 (r52898) @@ -2332,6 +2332,61 @@ freebsd-mfc-after = 2 weeks + + + Using a Local MTA to Forward Emails to the + &os;.org SMTP Service + + It is also possible to use a local + MTA to forward locally sent emails to + the &os;.org SMTP servers. + + + Using <application>Postfix</application> + + To tell a local Postfix instance that anything from + yourusername@FreeBSD.org + should be forwarded to the &os;.org servers, add this to + your main.cf: + + sender_dependent_relayhost_maps = hash:/usr/local/etc/postfix/relayhost_maps +smtp_sasl_auth_enable = yes +smtp_sasl_security_options = noanonymous +smtp_sasl_password_maps = hash:/usr/local/etc/postfix/sasl_passwd +smtp_use_tls = yes + + Create + /usr/local/etc/postfix/relayhost_maps + with the following content: + + yourusername@FreeBSD.org [smtp.freebsd.org]:587 + + Create + /usr/local/etc/postfix/sasl_passwd + with the following content: + + [smtp.freebsd.org]:587 yourusername:yourpassword + + If the email server is used by other people, you + may want to prevent them from sending e-mails from your + address. To achieve this, add this to your + main.cf: + + smtpd_sender_login_maps = hash:/usr/local/etc/postfix/sender_login_maps +smtpd_sender_restrictions = reject_known_sender_login_mismatch + + Create + /usr/local/etc/postfix/sender_login_maps + with the following content: + + yourusername@FreeBSD.org yourlocalusername + + Where yourlocalusername + is the SASL username used to connect + to the local instance of + Postfix. + +