-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
8 additions
and
0 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 |
---|---|---|
|
@@ -142,6 +142,7 @@ From a networking perspective: | |
| `ENABLE_OPENDKIM` | Optional. Set to "true" to enable OpenDKIM. If OpenDKIM is enabled, the "OpenDKIM Configuration" variables below will need to be set. Default is "false". | | ||
| `ENABLE_POSTGREY` | Optional. Set to "true" to enable [postgrey](https://postgrey.schweikert.ch). Default is "false". | | ||
| `ENABLE_SPF` | Optional. Set to "true" to enable [policyd-spf](https://launchpad.net/postfix-policyd-spf-perl/). Default is "false". | | ||
| `PREFER_IPV4` | Optional. Prioritize IPv4. Set to "true" to enable [gai.conf](https://man7.org/linux/man-pages/man5/gai.conf.5.html). Default is false. | | ||
| `POSTMASTER_EMAIL` | Required. Set to the email of your domain's postmaster. Example: `[email protected]`. | | ||
| `TZ` | Recommended. Set the timezone for the container. Default is `UTC`. | | ||
|
||
|
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 |
---|---|---|
@@ -0,0 +1,7 @@ | ||
#!/usr/bin/with-contenv bash | ||
# shellcheck shell=bash | ||
|
||
# Add precedence to IPv4 | ||
if [ -z "${PREFER_IPV4}" ]; then | ||
echo 'precedence ::ffff:0:0/96 100' >>/etc/gai.conf | ||
fi |