From 42f34212df7d973797165412a68893897a3e9d6f Mon Sep 17 00:00:00 2001 From: Adar Nimrod <nimrod@shore.co.il> Date: Sat, 11 Dec 2021 19:30:50 +0200 Subject: [PATCH] Pre-commit fixups. --- .pre-commit-config.yaml | 1 + dovecot/README.md | 2 +- exim4/README.md | 8 ++++---- spamd/README.md | 2 +- 4 files changed, 7 insertions(+), 6 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 6fe5892..6425256 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -12,6 +12,7 @@ repos: - id: check-yaml - id: detect-private-key - id: end-of-file-fixer + exclude: gtube - id: trailing-whitespace exclude: \.diff$ diff --git a/dovecot/README.md b/dovecot/README.md index c924706..8221872 100644 --- a/dovecot/README.md +++ b/dovecot/README.md @@ -10,7 +10,7 @@ socket in the `/run/dovecot` volume (for LTMP submission). ## Environment variables Name | Description -\-\-\- | \-\-\- +--- | --- `LDAP_URIS` | LDAP URI (eg, `ldapi:///`). `LDAP_BASEDN` | LDAP base DN (eg, `dc=example,dc=com`). diff --git a/exim4/README.md b/exim4/README.md index e4ac801..760f26f 100644 --- a/exim4/README.md +++ b/exim4/README.md @@ -9,16 +9,16 @@ The container exposes TCP ports 25 (SMTP) and 587 (submission). ## Environment variables Name | Description -\-\-\- | \-\-\- -`CLAMD_ADDRESS` | Address of the clamd server (see http://exim.org/exim-html-current/doc/html/spec\_html/ch-content\_scanning\_at\_acl\_time.htm). +--- | --- +`CLAMD_ADDRESS` | Address of the clamd server (see http://exim.org/exim-html-current/doc/html/spec_html/ch-content_scanning_at_acl_time.htm). `DKIM_KEY_FILE` | `DKIM_SELECTOR` | `LDAP_URIS` | `LDAP_BASEDN` | -`LMTP_ADDRESS` | Address of the LMTP server (see http://exim.org/exim-html-current/doc/html/spec\_html/ch-the\_lmtp\_transport.html). +`LMTP_ADDRESS` | Address of the LMTP server (see http://exim.org/exim-html-current/doc/html/spec_html/ch-the_lmtp_transport.html). `MAILNAME` | `ROOT_ALIAS` | -`SPAMD_ADDRESS` | Address of the spamd server (see http://exim.org/exim-html-current/doc/html/spec\_html/ch-content\_scanning\_at\_acl\_time.html). +`SPAMD_ADDRESS` | Address of the spamd server (see http://exim.org/exim-html-current/doc/html/spec_html/ch-content_scanning_at_acl_time.html). `TLS_CERT_FILE` | `TLS_KEY_FILE` | diff --git a/spamd/README.md b/spamd/README.md index 2d116ff..086cb44 100644 --- a/spamd/README.md +++ b/spamd/README.md @@ -11,7 +11,7 @@ socket in the `/run/spamd` volume. The image comes with the script `spamd-learn` which goes over the mobx files in `/var/mail`, uses them for training the classifier and them saves the database -in the `/var/backups/sa-learn` volume. On statup, the container restores the +in the `/var/backups/sa-learn` volume. On startup, the container restores the database from that volume. To update the database run `spamd-learn` from inside the container with `docker exec` (there's no need to restart the container afterwards). For an example see the [Cron image](../crond) inside this project. -- GitLab