diff --git a/config-examples/postfix-accounts.cf b/config-examples/postfix-accounts.cf deleted file mode 100644 index e69de29b..00000000 diff --git a/config-examples/postfix-aliases.cf b/config-examples/postfix-aliases.cf deleted file mode 100644 index e69de29b..00000000 diff --git a/config-examples/postfix-main.cf b/config-examples/postfix-main.cf deleted file mode 100644 index e69de29b..00000000 diff --git a/config-examples/postfix-master.cf b/config-examples/postfix-master.cf deleted file mode 100644 index e69de29b..00000000 diff --git a/config-examples/postfix-virtual.cf b/config-examples/postfix-virtual.cf deleted file mode 100644 index e69de29b..00000000 diff --git a/config-examples/spamassassin-rules.cf b/config-examples/spamassassin-rules.cf deleted file mode 100644 index e69de29b..00000000 diff --git a/config-examples/user-patches.sh b/config-examples/user-patches.sh new file mode 100755 index 00000000..a2adcb27 --- /dev/null +++ b/config-examples/user-patches.sh @@ -0,0 +1,12 @@ +#! /bin/bash + +# This user patches script runs right before starting the daemons. +# That means, all the other configuration is in place, so the script +# can make final adjustments. +# If you modify any supervisord configuration, make sure to run +# "supervisorctl update" or "supervisorctl reload" afterwards. + +# For more information, see +# https://docker-mailserver.github.io/docker-mailserver/edge/config/advanced/override-defaults/user-patches/ + +echo 'user-patches.sh successfully executed' diff --git a/config-examples/user-patches.sh.dist b/config-examples/user-patches.sh.dist deleted file mode 100755 index ced776df..00000000 --- a/config-examples/user-patches.sh.dist +++ /dev/null @@ -1,7 +0,0 @@ -#! /bin/bash -## -# This user patches script runs right before starting the daemons. That means, all the other configuration is in place, so the script can make final adjustments. -# If you modify any supervisord configuration, make sure to run "supervisorctl update" or "supervisorctl reload" afterwards. -# To enable the script, you must save it in your config directory as "user-patches.sh". -## -echo "Default user-patches.sh successfully executed" diff --git a/docs/content/config/advanced/override-defaults/user-patches.md b/docs/content/config/advanced/override-defaults/user-patches.md index dc2f5b3d..e03d9938 100644 --- a/docs/content/config/advanced/override-defaults/user-patches.md +++ b/docs/content/config/advanced/override-defaults/user-patches.md @@ -40,4 +40,4 @@ And you're done. The user patches script runs right before starting daemons. Tha !!! note Many "patches" can already be done with the Docker Compose-/Stack-file. Adding hostnames to `/etc/hosts` is done with the `#!yaml extra_hosts:` section, `sysctl` commands can be managed with the `#!yaml sysctls:` section, etc. -[gh-file-userpatches]: https://github.com/docker-mailserver/docker-mailserver/blob/master/config-examples/user-patches.sh.dist +[gh-file-userpatches]: https://github.com/docker-mailserver/docker-mailserver/blob/master/config-examples/user-patches.sh