From 26d241381f9c683d1cbcb7300534fa63f1127615 Mon Sep 17 00:00:00 2001 From: Georg Lauterbach <44545919+georglauterbach@users.noreply.github.com> Date: Mon, 22 Aug 2022 08:37:35 +0200 Subject: [PATCH] remove unnecessary configuration files (#2738) --- config-examples/postfix-accounts.cf | 0 config-examples/postfix-aliases.cf | 0 config-examples/postfix-main.cf | 0 config-examples/postfix-master.cf | 0 config-examples/postfix-virtual.cf | 0 config-examples/spamassassin-rules.cf | 0 config-examples/user-patches.sh | 12 ++++++++++++ config-examples/user-patches.sh.dist | 7 ------- .../advanced/override-defaults/user-patches.md | 2 +- 9 files changed, 13 insertions(+), 8 deletions(-) delete mode 100644 config-examples/postfix-accounts.cf delete mode 100644 config-examples/postfix-aliases.cf delete mode 100644 config-examples/postfix-main.cf delete mode 100644 config-examples/postfix-master.cf delete mode 100644 config-examples/postfix-virtual.cf delete mode 100644 config-examples/spamassassin-rules.cf create mode 100755 config-examples/user-patches.sh delete mode 100755 config-examples/user-patches.sh.dist 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