From 7812e1018287e3d215ab46662a8035dd5f854eba Mon Sep 17 00:00:00 2001 From: worikgh <5387413+worikgh@users.noreply.github.com> Date: Fri, 15 Feb 2019 11:39:59 +1300 Subject: [PATCH] Make it clear how to relay emails in postfix (#306) * Make it clear how to relay emails in postfix * Line length set to eighty characters for the new text --- README.md | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index b17a4a5..1e3a9bd 100644 --- a/README.md +++ b/README.md @@ -371,12 +371,10 @@ smtp_port: $SMTP_PORT configuration: python:mailman.config.exim4 ``` - -To use [Postfix][12], it should be set up to relay emails from -`172.19.199.2` and `172.19.199.3`. The mailman specific configuration is -mentioned below which you should add to your `main.cf` configuration file, -which is typically at `/etc/postfix/main.cf` on Debian-based operating -systems: +To use [Postfix][12], edit the `main.cf` configuration file, which is typically +at `/etc/postfix/main.cf` on Debian-based operating systems. Add `172.19.199.2` +and `172.19.199.3` to `mynetworks` so it will relay emails from the containers +and add the following configuration lines: ``` # main.cf