-
Notifications
You must be signed in to change notification settings - Fork 165
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Parameterize destination config value
- Loading branch information
1 parent
8011cdd
commit 222d3fa
Showing
3 changed files
with
7 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -28,3 +28,6 @@ | |
|
||
# Optional: This will rewrite the from address overwriting it with the specified address for all email being relayed. | ||
#OVERWRITE_FROM="Your Name" <[email protected]> | ||
|
||
# Optional: This will use allow you to set a custom $mydestination value. Default is localhost. | ||
#DESTINATION= |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -77,6 +77,8 @@ The following env variable(s) are optional. | |
OVERWRITE_FROM=[email protected] | ||
OVERWRITE_FROM="Your Name" <[email protected]> | ||
|
||
* `DESTINATION` This will define a list of domains from which incoming messages will be accepted. | ||
|
||
To use this container from anywhere, the 25 port or the one specified by `SMTP_PORT` needs to be exposed to the docker host server: | ||
|
||
docker run -d --name postfix -p "25:25" \ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters