From 1f34f41537986101cc8b474afeb722d97dc1888e Mon Sep 17 00:00:00 2001 From: cwlinode Date: Thu, 27 Sep 2018 09:30:38 -0400 Subject: [PATCH 1/2] Added note for using ssl or starttls --- .../index.md | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/docs/email/postfix/configure-postfix-to-send-mail-using-gmail-and-google-apps-on-debian-or-ubuntu/index.md b/docs/email/postfix/configure-postfix-to-send-mail-using-gmail-and-google-apps-on-debian-or-ubuntu/index.md index 140d76f5cde..f225e05d9e7 100644 --- a/docs/email/postfix/configure-postfix-to-send-mail-using-gmail-and-google-apps-on-debian-or-ubuntu/index.md +++ b/docs/email/postfix/configure-postfix-to-send-mail-using-gmail-and-google-apps-on-debian-or-ubuntu/index.md @@ -5,9 +5,9 @@ author: description: 'Install and configure Postfix on Debian and Ubuntu to send email through Gmail and Google Apps.' keywords: ["Postfix", " Ubuntu", " Debian", " SMTP", " Gmail"] license: '[CC BY-ND 4.0](https://creativecommons.org/licenses/by-nd/4.0)' -modified: 2017-09-05 +modified: 2018-09-27 modified_by: - name: Edward Angert + name: Linode published: 2016-12-13 title: Configure Postfix to Send Mail Using Gmail and Google Apps on Debian or Ubuntu --- @@ -84,6 +84,9 @@ Usernames and passwords are stored in `sasl_passwd` in the `/etc/postfix/sasl/` {{< /file >}} + {{< note >}} +smtp.google.com supports message submission over port 587 ([StartTLS](https://en.wikipedia.org/wiki/Opportunistic_TLS)) and port 465 ([SSL](https://en.wikipedia.org/wiki/Transport_Layer_Security)). Whichever you choose, be sure the port number is the same in `/etc/postfix/sasl/sasl\\_passwd` and `/etc/postfix/main.cf` below. See Google's [G Suite Administrator Help](https://support.google.com/a/answer/176600?hl=en) for more information. +{{< /note >}} 2. Create the hash db file for Postfix by running the `postmap` command: @@ -104,7 +107,7 @@ To restrict access to these files, change their permissions so that only the **r In this section, you will configure the `/etc/postfix/main.cf` file to use Gmail's SMTP server. -1. Find and modify `relayhost` in `/etc/postfix/main.cf` to match the following example: +1. Find and modify `relayhost` in `/etc/postfix/main.cf` to match the following example. Be sure the port number matches what you specified in `/etc/postfix/sasl/sasl\\_passwd` above. {{< file "/etc/postfix/main.cf" >}} relayhost = [smtp.gmail.com]:587 From 32baef0089441cc36b4bf07a1f60d33982dd76aa Mon Sep 17 00:00:00 2001 From: leslitagordita Date: Thu, 27 Sep 2018 10:11:33 -0400 Subject: [PATCH 2/2] Copy edit fixes --- .../index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/email/postfix/configure-postfix-to-send-mail-using-gmail-and-google-apps-on-debian-or-ubuntu/index.md b/docs/email/postfix/configure-postfix-to-send-mail-using-gmail-and-google-apps-on-debian-or-ubuntu/index.md index f225e05d9e7..3478e84e748 100644 --- a/docs/email/postfix/configure-postfix-to-send-mail-using-gmail-and-google-apps-on-debian-or-ubuntu/index.md +++ b/docs/email/postfix/configure-postfix-to-send-mail-using-gmail-and-google-apps-on-debian-or-ubuntu/index.md @@ -85,7 +85,7 @@ Usernames and passwords are stored in `sasl_passwd` in the `/etc/postfix/sasl/` {{< /file >}} {{< note >}} -smtp.google.com supports message submission over port 587 ([StartTLS](https://en.wikipedia.org/wiki/Opportunistic_TLS)) and port 465 ([SSL](https://en.wikipedia.org/wiki/Transport_Layer_Security)). Whichever you choose, be sure the port number is the same in `/etc/postfix/sasl/sasl\\_passwd` and `/etc/postfix/main.cf` below. See Google's [G Suite Administrator Help](https://support.google.com/a/answer/176600?hl=en) for more information. +The SMTP server address configuration `smtp.gmail.com` supports message submission over port 587 ([StartTLS](https://en.wikipedia.org/wiki/Opportunistic_TLS)) and port 465 ([SSL](https://en.wikipedia.org/wiki/Transport_Layer_Security)). Whichever protocol you choose, be sure the port number is the same in `/etc/postfix/sasl/sasl\\_passwd` and `/etc/postfix/main.cf` files. See Google's [G Suite Administrator Help](https://support.google.com/a/answer/176600?hl=en) for more information. {{< /note >}} 2. Create the hash db file for Postfix by running the `postmap` command: