Update README.md

This commit is contained in:
akp 2025-02-09 00:15:23 +00:00
parent baa590f746
commit 29022d6ba5
No known key found for this signature in database
GPG key ID: CF8D58F3DEB20755

View file

@ -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 \