Update README.md
This commit is contained in:
parent
baa590f746
commit
29022d6ba5
1 changed files with 2 additions and 2 deletions
|
@ -4,7 +4,7 @@
|
|||
|
||||
---
|
||||
|
||||
This is a simple, Alpine-based image that runs Postfix in relay mode - ie. it accepts incoming mail and forwards it onto a remote SMTP server somewhere else for further processing.
|
||||
This is a simple, Alpine-based image that runs Postfix in relay mode - that is, it accepts incoming mail and forwards it onto a remote SMTP server somewhere else for further processing.
|
||||
|
||||
You might want to do this in the instance where you have a lot of services on one machine that send email and you want one neat and tidy exit point for emails in your system.
|
||||
|
||||
|
@ -21,7 +21,7 @@ It is configured using environment variables:
|
|||
* `POSTFIX_RELAY_PASSWORD`: password for the relay server
|
||||
* This can also be specified as `POSTFIX_RELAY_PASSWORD_FILE` where the value of that var corresponds to a file inside the container.
|
||||
|
||||
You can then expose whatever ports you might want. To expose `127.0.0.1:25`, you could use a command like:
|
||||
You can then expose whatever ports you might want, or use the container within a Docker network. To expose `127.0.0.1:25`, you could use a command like:
|
||||
|
||||
```
|
||||
docker run -d -p 127.0.0.1:25:25 \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue