From ce8c1734e6636407282a06b375feed7aeb75d13c Mon Sep 17 00:00:00 2001 From: Jairo Llopis Date: Tue, 3 Dec 2019 13:52:26 +0000 Subject: [PATCH] Document plus addressing and DEFAULT_RELAY_HOST format These are a couple of things that work but got me losing lots of hours. Let me add them to README: 1. Fix #1330 explaining that plus addressing works out of the box. 2. Explain that DEFAULT_RELAY_HOST will fail to authenticate with RELAY_USER and RELAY_PASSWORD if you forgot the brackets. @Tecnativa TT20505 --- README.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 2465ad30..187b8377 100644 --- a/README.md +++ b/README.md @@ -28,6 +28,8 @@ Includes: - persistent data and state (but think about backups!) - [Integration tests](https://travis-ci.org/tomav/docker-mailserver) - [Automated builds on docker hub](https://hub.docker.com/r/tvial/docker-mailserver/) +- Plus addressing (a.k.a. [extension delimiters](http://www.postfix.org/postconf.5.html#recipient_delimiter)) + works out of the box: email for `you+extension@example.com` go to `you@example.com` Why I created this image: [Simple mail server with Docker](http://tvi.al/simple-mail-server-with-docker/) @@ -683,7 +685,9 @@ Note: This postgrey setting needs `ENABLE_POSTGREY=1` #### DEFAULT_RELAY_HOST - **empty** => don't set default relayhost setting in main.cf - - default host and port to relay all mail through + - default host and port to relay all mail through. + Format: `[example.com]:587` (don't forget the brackets if you need this to + be compatible with `$RELAY_USER` and `$RELAY_PASSWORD`, explained below). ## Multi-domain Relay Hosts