From a8a8c859dc914a1414304b360cdcd99a1d2ecdf8 Mon Sep 17 00:00:00 2001 From: Casper Date: Wed, 2 Mar 2022 23:54:14 +0100 Subject: [PATCH] Rename config examples directory (#2438) --- {config => config-examples}/dovecot-quotas.cf | 0 {config => config-examples}/dovecot.cf | 0 {config => config-examples}/fail2ban-fail2ban.cf | 0 {config => config-examples}/fail2ban-jail.cf | 0 {config => config-examples}/fetchmail.cf | 0 {config => config-examples}/postfix-accounts.cf | 0 {config => config-examples}/postfix-aliases.cf | 0 {config => config-examples}/postfix-main.cf | 0 {config => config-examples}/postfix-master.cf | 0 {config => config-examples}/postfix-virtual.cf | 0 {config => config-examples}/spamassassin-rules.cf | 0 {config => config-examples}/user-patches.sh.dist | 0 .../content/config/advanced/override-defaults/user-patches.md | 2 +- docs/content/config/security/fail2ban.md | 4 ++-- target/scripts/helpers/accounts.sh | 0 target/scripts/helpers/aliases.sh | 0 target/scripts/helpers/dns.sh | 0 target/scripts/helpers/error.sh | 0 target/scripts/helpers/index.sh | 0 target/scripts/helpers/log.sh | 0 target/scripts/helpers/network.sh | 0 target/scripts/helpers/postfix.sh | 0 target/scripts/helpers/relay.sh | 0 target/scripts/helpers/sasl.sh | 0 target/scripts/helpers/ssl.sh | 0 target/scripts/helpers/utils.sh | 0 26 files changed, 3 insertions(+), 3 deletions(-) rename {config => config-examples}/dovecot-quotas.cf (100%) rename {config => config-examples}/dovecot.cf (100%) rename {config => config-examples}/fail2ban-fail2ban.cf (100%) rename {config => config-examples}/fail2ban-jail.cf (100%) rename {config => config-examples}/fetchmail.cf (100%) rename {config => config-examples}/postfix-accounts.cf (100%) rename {config => config-examples}/postfix-aliases.cf (100%) rename {config => config-examples}/postfix-main.cf (100%) rename {config => config-examples}/postfix-master.cf (100%) rename {config => config-examples}/postfix-virtual.cf (100%) rename {config => config-examples}/spamassassin-rules.cf (100%) rename {config => config-examples}/user-patches.sh.dist (100%) mode change 100755 => 100644 target/scripts/helpers/accounts.sh mode change 100755 => 100644 target/scripts/helpers/aliases.sh mode change 100755 => 100644 target/scripts/helpers/dns.sh mode change 100755 => 100644 target/scripts/helpers/error.sh mode change 100755 => 100644 target/scripts/helpers/index.sh mode change 100755 => 100644 target/scripts/helpers/log.sh mode change 100755 => 100644 target/scripts/helpers/network.sh mode change 100755 => 100644 target/scripts/helpers/postfix.sh mode change 100755 => 100644 target/scripts/helpers/relay.sh mode change 100755 => 100644 target/scripts/helpers/sasl.sh mode change 100755 => 100644 target/scripts/helpers/ssl.sh mode change 100755 => 100644 target/scripts/helpers/utils.sh diff --git a/config/dovecot-quotas.cf b/config-examples/dovecot-quotas.cf similarity index 100% rename from config/dovecot-quotas.cf rename to config-examples/dovecot-quotas.cf diff --git a/config/dovecot.cf b/config-examples/dovecot.cf similarity index 100% rename from config/dovecot.cf rename to config-examples/dovecot.cf diff --git a/config/fail2ban-fail2ban.cf b/config-examples/fail2ban-fail2ban.cf similarity index 100% rename from config/fail2ban-fail2ban.cf rename to config-examples/fail2ban-fail2ban.cf diff --git a/config/fail2ban-jail.cf b/config-examples/fail2ban-jail.cf similarity index 100% rename from config/fail2ban-jail.cf rename to config-examples/fail2ban-jail.cf diff --git a/config/fetchmail.cf b/config-examples/fetchmail.cf similarity index 100% rename from config/fetchmail.cf rename to config-examples/fetchmail.cf diff --git a/config/postfix-accounts.cf b/config-examples/postfix-accounts.cf similarity index 100% rename from config/postfix-accounts.cf rename to config-examples/postfix-accounts.cf diff --git a/config/postfix-aliases.cf b/config-examples/postfix-aliases.cf similarity index 100% rename from config/postfix-aliases.cf rename to config-examples/postfix-aliases.cf diff --git a/config/postfix-main.cf b/config-examples/postfix-main.cf similarity index 100% rename from config/postfix-main.cf rename to config-examples/postfix-main.cf diff --git a/config/postfix-master.cf b/config-examples/postfix-master.cf similarity index 100% rename from config/postfix-master.cf rename to config-examples/postfix-master.cf diff --git a/config/postfix-virtual.cf b/config-examples/postfix-virtual.cf similarity index 100% rename from config/postfix-virtual.cf rename to config-examples/postfix-virtual.cf diff --git a/config/spamassassin-rules.cf b/config-examples/spamassassin-rules.cf similarity index 100% rename from config/spamassassin-rules.cf rename to config-examples/spamassassin-rules.cf diff --git a/config/user-patches.sh.dist b/config-examples/user-patches.sh.dist similarity index 100% rename from config/user-patches.sh.dist rename to config-examples/user-patches.sh.dist diff --git a/docs/content/config/advanced/override-defaults/user-patches.md b/docs/content/config/advanced/override-defaults/user-patches.md index 5f4767d8..dc2f5b3d 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/user-patches.sh.dist +[gh-file-userpatches]: https://github.com/docker-mailserver/docker-mailserver/blob/master/config-examples/user-patches.sh.dist diff --git a/docs/content/config/security/fail2ban.md b/docs/content/config/security/fail2ban.md index 6baeb04c..775c2de5 100644 --- a/docs/content/config/security/fail2ban.md +++ b/docs/content/config/security/fail2ban.md @@ -119,8 +119,8 @@ Here `192.168.1.15` is our banned IP. ``` [docs-setupsh]: ../setup.sh.md -[github-file-f2bjail]: https://github.com/docker-mailserver/docker-mailserver/blob/master/config/fail2ban-jail.cf -[github-file-f2bconfig]: https://github.com/docker-mailserver/docker-mailserver/blob/master/config/fail2ban-fail2ban.cf +[github-file-f2bjail]: https://github.com/docker-mailserver/docker-mailserver/blob/master/config-examples/fail2ban-jail.cf +[github-file-f2bconfig]: https://github.com/docker-mailserver/docker-mailserver/blob/master/config-examples/fail2ban-fail2ban.cf [rootless::rootless-kit]: https://github.com/rootless-containers/rootlesskit [rootless::port-drivers]: https://github.com/rootless-containers/rootlesskit/blob/v0.14.5/docs/port.md#port-drivers [rootless::slirp4netns]: https://github.com/rootless-containers/slirp4netns diff --git a/target/scripts/helpers/accounts.sh b/target/scripts/helpers/accounts.sh old mode 100755 new mode 100644 diff --git a/target/scripts/helpers/aliases.sh b/target/scripts/helpers/aliases.sh old mode 100755 new mode 100644 diff --git a/target/scripts/helpers/dns.sh b/target/scripts/helpers/dns.sh old mode 100755 new mode 100644 diff --git a/target/scripts/helpers/error.sh b/target/scripts/helpers/error.sh old mode 100755 new mode 100644 diff --git a/target/scripts/helpers/index.sh b/target/scripts/helpers/index.sh old mode 100755 new mode 100644 diff --git a/target/scripts/helpers/log.sh b/target/scripts/helpers/log.sh old mode 100755 new mode 100644 diff --git a/target/scripts/helpers/network.sh b/target/scripts/helpers/network.sh old mode 100755 new mode 100644 diff --git a/target/scripts/helpers/postfix.sh b/target/scripts/helpers/postfix.sh old mode 100755 new mode 100644 diff --git a/target/scripts/helpers/relay.sh b/target/scripts/helpers/relay.sh old mode 100755 new mode 100644 diff --git a/target/scripts/helpers/sasl.sh b/target/scripts/helpers/sasl.sh old mode 100755 new mode 100644 diff --git a/target/scripts/helpers/ssl.sh b/target/scripts/helpers/ssl.sh old mode 100755 new mode 100644 diff --git a/target/scripts/helpers/utils.sh b/target/scripts/helpers/utils.sh old mode 100755 new mode 100644