mirror of
https://github.com/bokysan/docker-postfix.git
synced 2025-09-06 14:37:45 +08:00
Update README.md
Fix configuration of POSTFIX_myhostname
This commit is contained in:
parent
e91a61cccf
commit
b37f6c9639
1 changed files with 2 additions and 2 deletions
|
@ -263,7 +263,7 @@ Example:
|
|||
docker run --rm --name postfix -e "SMTP_HEADER_CHECKS="regexp:/etc/postfix/smtp_header_checks" -e "ALLOWED_SENDER_DOMAINS=example.com example.org" -p 1587:587 boky/postfix
|
||||
```
|
||||
|
||||
#### `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`)
|
||||
|
@ -271,7 +271,7 @@ which may make it difficult to track your emails in the log files. If you care a
|
|||
I suggest you set this variable, e.g.:
|
||||
|
||||
```shell script
|
||||
docker run --rm --name postfix -e "POSTFIX_hostname=postfix-docker" -p 1587:587 boky/postfix
|
||||
docker run --rm --name postfix -e "POSTFIX_myhostname=postfix-docker" -p 1587:587 boky/postfix
|
||||
```
|
||||
|
||||
#### `POSTFIX_mynetworks`
|
||||
|
|
Loading…
Add table
Reference in a new issue