Skip to content

Commit

Permalink
Fix hostname variable change in README.md
Browse files Browse the repository at this point in the history
Apparently, `README.md` still referenced the old `HOSTNAME` variable.

This should fix the issue.
  • Loading branch information
bokysan authored Aug 20, 2020
1 parent 4031e17 commit 9124555
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,15 +70,15 @@ The following configuration options are available
the server auto-generate domain keys.
- `OPENDKIM_<any_dkim_setting>` = Provide any additonal OpenDKIM setting.

### `POSTFIX_hostname`
### `POSTFIX_myhostname`

You may configure a specific hostname that the SMTP server will use to identify itself. If you don't do it,
the default Docker host name will be used. A lot of times, this will be just the container id (e.g. `f73792d540a5`)
which may make it difficult to track your emails in the log files. If you care about tracking at all,
I suggest you set this variable, e.g.:

```sh
docker run --rm --name postfix -e HOSTNAME=postfix-docker -p 1587:587 boky/postfix
docker run --rm --name postfix -e POSTFIX_myhostname=postfix-docker -p 1587:587 boky/postfix
```

### `RELAYHOST`, `RELAYHOST_USERNAME` and `RELAYHOST_PASSWORD`
Expand Down

0 comments on commit 9124555

Please sign in to comment.